Jump to content

Erro 500 ao aceder página Admin após atualização 1.7.8.7 para 1.7.8.8


Recommended Posts

Olá

Tal como referido no tituulo do tópico após atualização 1.7.8.7 para 1.7.8.8 via 1 clickupgrade  não consigo aceder á pagina de admin.

Ao ativar o modo depuração, obtenho o seguinte:

 

(4/4) DBALException

An exception occured while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value

For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673

in ConnectionFactory.php line 79

at ConnectionFactory->getDatabasePlatform(object(Connection))in ConnectionFactory.php line 50

at ConnectionFactory->createConnection(array('driver' => 'pdo_mysql', 'host' => 'xxxx', 'port' => '', 'dbname' => 'xxxxxxxx', 'user' => 'xxxxxxx', 'password' => 'xxxxxxxx', 'charset' => 'utf8mb4', 'driverOptions' => array('SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))', false), 'defaultTableOptions' => array()), object(Configuration), object(ContainerAwareEventManager), array('enum' => 'string'))in appDevDebugProjectContainer.php line 2820

at appDevDebugProjectContainer->getDoctrine_Dbal_DefaultConnectionService()in appDevDebugProjectContainer.php line 2858

at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in getPrestashop_Translation_DatabaseLoaderService.php line 8

at require('/home/xxxxxx/public_html/xxxxxxx.com/var/cache/dev/ContainerXpgdbtw/getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 2747

at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 4982

at appDevDebugProjectContainer->ContainerXpgdbtw\{closure}()in ServiceLocator.php line 64

at ServiceLocator->get('prestashop.translation.database_loader')in Translator.php line 141

at Translator->initialize()in Translator.php line 127

at Translator->initializeCatalogue('pt-PT')in Translator.php line 314

at Translator->dumpCatalogue('pt-PT', object(ResourceCheckerConfigCache))in Translator.php line 299

at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))in ResourceCheckerConfigCacheFactory.php line 43

at ResourceCheckerConfigCacheFactory->cache('/home/xxxxx/public_html/xxxxxxxx.com/var/cache/dev/translations/catalogue.pt-PT.L8dqxxF.php', object(Closure))in Translator.php line 300

at Translator->initializeCacheCatalogue('pt-PT')in Translator.php line 265

at Translator->loadCatalogue('pt-PT')in Translator.php line 241

at Translator->getCatalogue('pt-PT')in Translator.php line 198

at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 61

at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in LoggingTranslator.php line 47

at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in DataCollectorTranslator.php line 50

at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 61

at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)in Controller.php line 338

at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')in AdminController.php line 481

at AdminControllerCore->__construct()in LegacyContext.php line 86

at LegacyContext->getContext()in UserLocaleListener.php line 39

at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 3554

at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 4083

at appDevDebugProjectContainer->ContainerXpgdbtw\{closure}()in EventDispatcher.php line 231

at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61

at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 129

at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 259

at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137

at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127

at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68

at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200

at Kernel->handle(object(Request), 1, false)in index.php line 82

 

Já pesquisei e embora aparecendo outros com o mesmo problema, apenas 1 resolveu ao repor um backup diario... o que pretendia evitar...

A versão Php é a 7.4 e o hosting não permite inferior.

Se alguém conseguir ajudar...

Cumprimentos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...