Shnepsey Posted February 5, 2021 Report Share Posted February 5, 2021 Hey everyone I've updated my forums recently and now I'm having issues with accessing the admin CP Some themes/plugins and apps are outdated as well and I can't access the AdminCP for upgrading/disabling them. I am receiving the error below: EX1104 SELECT *, core_sys_lang_words.word_custom as database_name, core_sys_lang_words2.word_custom as record_name FROM `cms_databases` LEFT JOIN `core_sys_lang_words` ON core_sys_lang_words.word_key=CONCAT( 'content_db_', cms_databases.database_id ) AND core_sys_lang_words.lang_id=1 LEFT JOIN `core_sys_lang_words` AS `core_sys_lang_words2` ON core_sys_lang_words2.word_key=CONCAT( 'content_db_lang_pu_', cms_databases.database_id ) AND core_sys_lang_words2.lang_id=1 ORDER BY core_sys_lang_words.word_custom IPS\Db\Exception: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay (1104) #0 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/system/Db/Select.php(383): IPS\_Db->preparedQuery('/*NAME_DB...', Array, true) #1 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/system/Db/Select.php(441): IPS\Db\_Select->runQuery() #2 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/applications/cms/sources/Databases/Databases.php(288): IPS\Db\_Select->rewind() #3 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/applications/cms/Application.php(218): IPS\cms\_Databases::acpMenu() #4 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/system/Dispatcher/Admin.php(349): IPS\cms\_Application->acpMenu() #5 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/system/Dispatcher/Admin.php(71): IPS\Dispatcher\_Admin->buildMenu() #6 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/system/Dispatcher/Dispatcher.php(109): IPS\Dispatcher\_Admin->init() #7 /hermes/bosnacweb05/bosnacweb05ao/b1707/ipg.SITENAME/admin/index.php(14): IPS\_Dispatcher::i() #8 {main} Any ideas...? can't find anything online about it Quote Link to comment Share on other sites More sharing options...
mamyka Posted February 6, 2021 Report Share Posted February 6, 2021 /admin/?app=core&module=support&controller=support SlawkA 1 Quote Link to comment Share on other sites More sharing options...
Shnepsey Posted February 6, 2021 Author Report Share Posted February 6, 2021 34 minutes ago, mamyka said: /admin/?app=core&module=support&controller=support I can’t access any page within the admincp... First thing I tried was to access the support page but same error comes up. Quote Link to comment Share on other sites More sharing options...
Zero108 Posted February 6, 2021 Report Share Posted February 6, 2021 Если вы попали в ситуацию, в которой вы не можете получить ни доступ в AdminCP, ни в публичную часть, вы можете попробовать воспользоваться функцией режима восстановления. Чтобы использовать это, вы должны добавить следующую строку в файл constants.php в вашем основном каталоге установки: <?php define('RECOVERY_MODE',True); Далее разлогиниться (потереть куки в браузере - ctrl+shift+del) и залогиниться в админку. Будут отключены сторонние плагины и приложения, восстановлена тема по умолчанию. SlawkA 1 Quote Link to comment Share on other sites More sharing options...
Shnepsey Posted February 6, 2021 Author Report Share Posted February 6, 2021 39 minutes ago, Zero108 said: Если вы попали в ситуацию, в которой вы не можете получить ни доступ в AdminCP, ни в публичную часть, вы можете попробовать воспользоваться функцией режима восстановления. Чтобы использовать это, вы должны добавить следующую строку в файл constants.php в вашем основном каталоге установки: <?php define('RECOVERY_MODE',True); Далее разлогиниться (потереть куки в браузере - ctrl+shift+del) и залогиниться в админку. Будут отключены сторонние плагины и приложения, восстановлена тема по умолчанию. Where is constants.php located? can't find it Quote Link to comment Share on other sites More sharing options...
SlawkA Posted February 6, 2021 Report Share Posted February 6, 2021 Shnepsey Чтобы сохранить вашу конфигурацию, необходимо скачать новый файл constants.php и загрузить его в корневой каталог вашего сайта Спойлер Quote Link to comment Share on other sites More sharing options...
Zero108 Posted February 6, 2021 Report Share Posted February 6, 2021 Create constants.php in UTF-8 mode in Notepad++. Add the code to it. Upload to the root of your site via sftp/ftp. Make it CHMOD 644 and owned by the site user. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.