Zaktualizowałem przez "one click upgrade" na localhoscie.
Po zalogowaniu do back office jest nowy styl logowania, podaje e-mail, haslo i po zatwierdzeniu zwija się tylko okienko do logowania i zostaje dalej ekran logowania.
Poniżej przesyłam po włączeniu raportowaniu błędów.
Panel logowania:
[PrestaShopDatabaseException]
Table 'sklepanu.ps_shop_url' doesn't exist
SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
FROM ps_shop_url su
LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop)
WHERE (su.domain = 'localhost' OR su.domain_ssl = 'localhost')
AND s.active = 1
AND s.deleted = 0
ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
at line 646 in file classes/db/Db.php
641. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
642. }
643. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
644. {
645. if ($sql)
646. throw new PrestaShopDatabaseException($this->getMsgError().'
'.$sql.'
');
647. throw new PrestaShopDatabaseException($this->getMsgError());
648. }
649. }
650.
651. /**
DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments]
335. if ($this->connect())
336. $this->result = $this->_query($sql);
337. }
338.
339. if (_PS_DEBUG_SQL_)
340. $this->displayError($sql);
341. return $this->result;
342. }
343.
344. /**
345. * Execute an INSERT query
DbCore->query - [line 516 - classes/db/Db.php] - [1 Arguments]
511. {
512. $this->last_cached = true;
513. return $result;
514. }
515.
516. $this->result = $this->query($sql);
517.
518. if (!$this->result)
519. $result = false;
520. else
521. {
DbCore->executeS - [line 330 - classes/shop/Shop.php] - [1 Arguments]
325. WHERE (su.domain = \''. pSQL($host).'\' OR su.domain_ssl = \''. pSQL($host).'\')
326. AND s.active = 1
327. AND s.deleted = 0
328. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';
329.
330. $result = Db::getInstance()->executeS($sql);
331.
332. $through = false;
333. foreach ($result as $row)
334. {
335. // An URL matching current shop was found
ShopCore::initialize - [line 100 - config/config.inc.php]
95. $context = Context::getContext();
96.
97. /* Initialize the current Shop */
98. try
99. {
100. $context->shop = Shop::initialize();
101. $context->theme = new Theme((int)$context->shop->id_theme);
102. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_'))
103. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.'));
104. }
105. catch (PrestaShopException $e)
require - [line 34 - admin123/index.php] - [1 Arguments]
29. define('_PS_ADMIN_DIR_', getcwd());
30.
31. if (!defined('PS_ADMIN_DIR'))
32. define('PS_ADMIN_DIR', _PS_ADMIN_DIR_);
33.
34. require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
35. require(_PS_ADMIN_DIR_.'/functions.php');
36.
37. //small test to clear cache after upgrade
38. if (Configuration::get('PS_UPGRADE_CLEAR_CACHE'))
39. {
-----------------------------------------------------------------------------------------
Strona główna (pokazuje ikona z napisem: error-500-server-error-oops-something-went-wrong):
[PrestaShopDatabaseException]
Table 'sklepanu.ps_shop_url' doesn't exist
SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
FROM ps_shop_url su
LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop)
WHERE (su.domain = 'localhost' OR su.domain_ssl = 'localhost')
AND s.active = 1
AND s.deleted = 0
ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
at line 646 in file classes/db/Db.php
641. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
642. }
643. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
644. {
645. if ($sql)
646. throw new PrestaShopDatabaseException($this->getMsgError().'
'.$sql.'
');
647. throw new PrestaShopDatabaseException($this->getMsgError());
648. }
649. }
650.
651. /**
DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments]
335. if ($this->connect())
336. $this->result = $this->_query($sql);
337. }
338.
339. if (_PS_DEBUG_SQL_)
340. $this->displayError($sql);
341. return $this->result;
342. }
343.
344. /**
345. * Execute an INSERT query
DbCore->query - [line 516 - classes/db/Db.php] - [1 Arguments]
511. {
512. $this->last_cached = true;
513. return $result;
514. }
515.
516. $this->result = $this->query($sql);
517.
518. if (!$this->result)
519. $result = false;
520. else
521. {
DbCore->executeS - [line 330 - classes/shop/Shop.php] - [1 Arguments]
325. WHERE (su.domain = \''. pSQL($host).'\' OR su.domain_ssl = \''. pSQL($host).'\')
326. AND s.active = 1
327. AND s.deleted = 0
328. ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC';
329.
330. $result = Db::getInstance()->executeS($sql);
331.
332. $through = false;
333. foreach ($result as $row)
334. {
335. // An URL matching current shop was found
ShopCore::initialize - [line 100 - config/config.inc.php]
95. $context = Context::getContext();
96.
97. /* Initialize the current Shop */
98. try
99. {
100. $context->shop = Shop::initialize();
101. $context->theme = new Theme((int)$context->shop->id_theme);
102. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_'))
103. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.'));
104. }
105. catch (PrestaShopException $e)
require - [line 27 - index.php] - [1 Arguments]
22. * @copyright 2007-2015 PrestaShop SA
23. * @license
http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
24. * International Registered Trademark & Property of PrestaShop SA
25. */
26.
27. require(dirname(__FILE__).'/config/config.inc.php');
28. Dispatcher::getInstance()->dispatch();