NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Question nl2_settings not found during installation
Started by charltonmc

charltonmc

charltonmc

Member
Joined
02 Mar 2021
Last Seen
28 Jul 2022
Topics
1
Posts
1

Hi, so i know there is already an issue on the github tracker, and there is a way to solve it and get it so you can actually install it, but the answer to solve it doesnt work.

When i apply the changes in the commit Aberdeener made, it doesnt work. It just gives me another error.

This error is first:

Phinx by CakePHP - https://phinx.org. using config file core/migrations/phinx.php using config parser php using migration paths - /var/www/vhosts/charltonmcnetwork.com/namelessmc/core/migrations warning no environment specified, defaulting to: nameless using adapter mysql Could not determine database name! Please specify a database name in your config file.

Then when i reload the page i get this error:

Phinx by CakePHP - https://phinx.org. using config file core/migrations/phinx.php using config parser php using migration paths - /var/www/vhosts/charltonmcnetwork.com/namelessmc/core/migrations warning no environment specified, defaulting to: nameless using adapter mysql using database website ordering by creation time == 20220517030607 CreateLanguagesTable: migrating == 20220517030607 CreateLanguagesTable: migrated 0.0038s == 20220517030609 CreateTemplatesTable: migrating == 20220517030609 CreateTemplatesTable: migrated 0.0043s == 20220517030611 CreateUsersTable: migrating == 20220517030611 CreateUsersTable: migrated 0.0182s == 20220517030657 CreateReactionsTable: migrating == 20220517030657 CreateReactionsTable: migrated 0.0038s == 20220518024302 CreatePanelTemplatesTable: migrating == 20220518024302 CreatePanelTemplatesTable: migrated 0.0041s == 20220518024945 CreateBlockedUsersTable: migrating == 20220518024945 CreateBlockedUsersTable: migrated 0.0136s == 20220518025652 CreateGroupsTable: migrating == 20220518025652 CreateGroupsTable: migrated 0.0039s == 20220518025817 CreateUsersGroupsTable: migrating == 20220518025817 CreateUsersGroupsTable: migrated 0.0150s == 20220518031216 CreateAlertsTable: migrating == 20220518031216 CreateAlertsTable: migrated 0.0125s == 20220518032305 CreateCustomAnnouncementsTable: migrating == 20220518032305 CreateCustomAnnouncementsTable: migrated 0.0042s == 20220518032919 CreateCustomPagesTable: migrating == 20220518032919 CreateCustomPagesTable: migrated 0.0036s == 20220518033833 CreateCustomPagesPermissionsTable: migrating == 20220518033833 CreateCustomPagesPermissionsTable: migrated 0.0142s == 20220518034729 CreateEmailErrorsTable: migrating == 20220518034729 CreateEmailErrorsTable: migrated 0.0118s == 20220518035532 CreateGroupsTemplatesTable: migrating == 20220518035532 CreateGroupsTemplatesTable: migrated 0.0123s == 20220518040058 CreateGroupSyncTable: migrating == 20220518040058 CreateGroupSyncTable: migrated 0.0254s == 20220518040456 CreateHooksTable: migrating == 20220518040456 CreateHooksTable: migrated 0.0046s == 20220518040806 CreateIpBansTable: migrating == 20220518040806 CreateIpBansTable: migrated 0.0135s == 20220519020719 CreateInfractionsTable: migrating == 20220519020719 CreateInfractionsTable: migrated 0.0158s == 20220519021237 CreateLogsTable: migrating == 20220519021237 CreateLogsTable: migrated 0.0037s == 20220519021711 CreateMcServersTable: migrating == 20220519021711 CreateMcServersTable: migrated 0.0038s == 20220519022400 CreateModulesTable: migrating == 20220519022400 CreateModulesTable: migrated 0.0082s == 20220519022945 CreateWidgetsTable: migrating == 20220519022945 CreateWidgetsTable: migrated 0.0044s == 20220519023439 CreatePrivacyTermsTable: migrating == 20220519023439 CreatePrivacyTermsTable: migrated 0.0047s == 20220519023748 CreateOauthTable: migrating PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes in /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:193 Stack trace: #0 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php(193): PDO->exec() #1 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php(345): Phinx\Db\Adapter\PdoAdapter->execute() #2 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/AdapterWrapper.php(356): Phinx\Db\Adapter\MysqlAdapter->createTable() #3 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/TimedOutputAdapter.php(113): Phinx\Db\Adapter\AdapterWrapper->createTable() #4 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Plan/Plan.php(146): Phinx\Db\Adapter\TimedOutputAdapter->createTable() #5 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(715): Phinx\Db\Plan\Plan->execute() #6 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Db/Table.php(611): Phinx\Db\Table->executeActions() #7 /var/www/vhosts/charltonmcnetwork.com/namelessmc/core/migrations/20220519023748_create_oauth_table.php(18): Phinx\Db\Table->create() #8 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Migration/Manager/Environment.php(108): CreateOauthTable->change() #9 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(385): Phinx\Migration\Manager\Environment->executeMigration() #10 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(359): Phinx\Migration\Manager->executeMigration() #11 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Console/Command/Migrate.php(122): Phinx\Migration\Manager->migrate() #12 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/symfony/console/Command/Command.php(298): Phinx\Console\Command\Migrate->execute() #13 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/symfony/console/Application.php(1024): Symfony\Component\Console\Command\Command->run() #14 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand() #15 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Console/PhinxApplication.php(70): Symfony\Component\Console\Application->doRun() #16 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Wrapper/TextWrapper.php(231): Phinx\Console\PhinxApplication->doRun() #17 /var/www/vhosts/charltonmcnetwork.com/namelessmc/vendor/robmorgan/phinx/src/Phinx/Wrapper/TextWrapper.php(115): Phinx\Wrapper\TextWrapper->executeRun() #18 /var/www/vhosts/charltonmcnetwork.com/namelessmc/core/classes/Database/PhinxAdapter.php(41): Phinx\Wrapper\TextWrapper->getMigrate() #19 /var/www/vhosts/charltonmcnetwork.com/namelessmc/core/installation/steps/ajax_initialise.php(5): PhinxAdapter::migrate() #20 /var/www/vhosts/charltonmcnetwork.com/namelessmc/core/installation/installer.php(19): require('...') #21 /var/www/vhosts/charltonmcnetwork.com/namelessmc/install.php(55): require('...') #22 {main}

charltonmc · about 1 year ago · Last edited: about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
08 May 2024
Topics
41
Posts
1054

Hi,

Your MySQL database is outdated - please try updating it to the latest version.

Samerton · about 1 year ago