Nameless icon indicating copy to clipboard operation
Nameless copied to clipboard

v2.0.0 known issues and workarounds

Open tadhgboyle opened this issue 3 years ago • 0 comments

core/classes/Database/PhinxAdapter.php(22): There are 9 database migrations pending.

Please manually visit https://your-website.com/index.php?route=/panel/upgrade directly in your browser. If the problem persists, please open the custom/logs/other-log.log file and send it to our support staff in Discord.

Trusted proxies should be an array

Replace 'trustedProxies' => '', with 'trustedProxies' => null, in your core/config.php file.

Issues creating admin account during installer, such as: Undefined constant "DEFAULT_LANGUAGE" or Undefined constant "MINECRAFT"

Add

if (!defined('DEFAULT_LANGUAGE')) {
    define('DEFAULT_LANGUAGE', 'en_UK');
}

if (!defined('MINECRAFT')) {
    define('MINECRAFT', false);
}

into your core/installation/installer.php file, right underneath

require(__DIR__ . '/includes/functions.php');

Then, delete your core/config.php file, and your database, and restart installation in an incognito browser.

tadhgboyle avatar Aug 06 '22 01:08 tadhgboyle