2 hours ago, rictools said:Sorry,
Quote[INTERNAL] /mnt/web111/a2/87/57705387/htdocs/mb-shop/vendor/doctrine/doctrine-
bundle/ConnectionFactory.php line 79 - Doctrine\DBAL\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 #0
/mnt/web111/a2/87/57705387/htdocs/mb-shop/vendor/doctrine/doctrine-
bundle/ConnectionFactory.php(50): Doctrine\Bundle\DoctrineBundle\ConnectionFactory-
>getDatabasePlatform(Object(Doctrine\DBAL\Connection)) #1
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/var/cache/prod/ContainerI9g1mn1/appProdProjectContainer.php(2704):
Doctrine\Bundle\DoctrineBundle\ConnectionFactory->createConnection(Array,
Object(Doctrine\DBAL\Configuration),
Object(Symfony\Bridge\Doctrine\ContainerAwareEventManager), Array) #2
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/var/cache/prod/ContainerI9g1mn1/appProdProjectContainer.php(2735):
ContainerI9g1mn1\appProdProjectContainer->getDoctrine_Dbal_DefaultConnectionService() #3
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(306):
ContainerI9g1mn1\appProdProjectContainer->getDoctrine_Orm_DefaultEntityManagerService() #4
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ManagerRegistry.php(63):
Symfony\Component\DependencyInjection\Container->get('doctrine.orm.de...') #5
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/doctrine/persistence/lib/Doctrine/Persistence/AbstractManagerRegistry.php(204):
Symfony\Bridge\Doctrine\ManagerRegistry->getService('doctrine.orm.de...') #6
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.p
hp(53): Doctrine\Persistence\AbstractManagerRegistry->getManagers() #7
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmer
Aggregate.php(52): Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer-
>warmUp('/mnt/web111/a2/...') #8 /mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(686):
Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate-
>warmUp('/mnt/web111/a2/...') #9 /mnt/web111/a2/87/57705387/htdocs/mb-
shop/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135):
Symfony\Component\HttpKernel\Kernel->initializeContainer() #10
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(76):
Symfony\Component\HttpKernel\Kernel->boot() #11 /mnt/web111/a2/87/57705387/htdocs/mb-
shop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(56):
PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->initAppKernel() #12
/mnt/web111/a2/87/57705387/htdocs/mb-
shop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(87):
PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->initConstants()
#13 /mnt/web111/a2/87/57705387/htdocs/mb-
shop/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(42):
PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #14/mnt/web111/a2/87/57705387/htdocs/mb-shop/ps-admin/autoupgrade/ajax-upgradetab.php(53):
PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #15 {main}
Beim ersten Versuch ins Frontend zu kommen:
Fatal error: Uncaught Unknown column 'h.active' in 'where clause'
SELECT lower(name) as name
FROM `ps_hook` h
WHERE (h.active = 1)
thrown in /mnt/web111/a2/87/57705387/htdocs/mb-shop/classes/db/Db.php on line 765
Nach dem Anlegen des Feldes "active" geht es erst mal. Aber nach dem Deaktivieren des
Wartungsmodus kommt im Frontend:
[PrestaShopDatabaseException]
Unknown column 'pa.mpn' in 'field list'<br /><br /><pre> SELECT a.`id_attribute`,
a.`id_attribute_group`, al.`name`, agl.`name` as `group`, pa.`reference`, pa.`ean13`, pa.`isbn`,
pa.`upc`, pa.`mpn` FROM `ps_attribute` a LEFT JOIN `ps_attribute_lang` al ON (al.`id_attribute` =
a.`id_attribute` AND al.`id_lang` = 1) LEFT JOIN `ps_product_attribute_combination` pac ON
(pac.`id_attribute` = a.`id_attribute`) LEFT JOIN `ps_product_attribute` pa ON
(pa.`id_product_attribute` = pac.`id_product_attribute`) INNER JOIN ps_product_attribute_shop
product_attribute_shop ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute
AND product_attribute_shop.id_shop = 1) LEFT JOIN `ps_attribute_group_lang` agl ON
(a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = 1) WHERE pa.`id_product` = 30
AND pac.`id_product_attribute` = 56 AND agl.`id_lang` = 1</pre>
at line 765 in file classes/db/Db.php
760. if ($webservice_call && $errno) {
761. $dbg = debug_backtrace();
762. WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '.
From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql,
97);
763. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
764. if ($sql) {
765. throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' .
$sql . '</pre>');766. }
767.
768. throw new PrestaShopDatabaseException($this->getMsgError());
769. }
770. }
DbCore->displayError - [line 385 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 609 - classes/db/Db.php] - [1 Arguments]
DbCore->executeS - [line 7406 - classes/Product.php] - [1 Arguments]
ProductCore::getAttributesParams - [line 5793 - classes/Product.php] - [2 Arguments]
ProductCore::getProductProperties - [line 5874 - classes/Product.php] - [2 Arguments]
ProductCore::getProductsProperties - [line 1069 - classes/Category.php] - [2 Arguments]
CategoryCore->getProducts - [line 88 - src/Adapter/Category/CategoryProductSearchProvider.php] -
[6 Arguments]
PrestaShop\PrestaShop\Adapter\Category\CategoryProductSearchProvider->getProductsOrCount -
[line 105 - src/Adapter/Category/CategoryProductSearchProvider.php] - [3 Arguments]
PrestaShop\PrestaShop\Adapter\Category\CategoryProductSearchProvider->runQuery - [line 299 -
modules/ps_featuredproducts/ps_featuredproducts.php] - [2 Arguments]
Ps_FeaturedProducts->getProducts - [line 257 -
modules/ps_featuredproducts/ps_featuredproducts.php]
Ps_FeaturedProducts->getWidgetVariables - [line 243 -
modules/ps_featuredproducts/ps_featuredproducts.php] - [2 Arguments]
Ps_FeaturedProducts->renderWidget - [line 1017 - classes/Hook.php] - [2 Arguments]
HookCore::coreRenderWidget - [line 964 - classes/Hook.php] - [3 Arguments]
HookCore::exec - [line 39 - controllers/front/IndexController.php] - [1 Arguments]
IndexControllerCore->initContent - [line 306 - classes/controller/Controller.php]
ControllerCore->run - [line 525 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]
Nach der Aktivierung des Debug kommt im Backend:
(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