Zimmy4lyf Posted November 26, 2020 Share Posted November 26, 2020 We tried the 1 click upgrade and it failed, we restored a backup and this was successful but as soon as we tried to take the maintenance off it logged us out and we have been unable to log back in I have Tried Different Browsers, cleared cache used incognito mode as well. My Main site is giving a 500 Server Error As Well Any Advice? Link to comment Share on other sites More sharing options...
Bill Dalton Posted November 26, 2020 Share Posted November 26, 2020 Upgrade to what version? Was it a 1.7x ? Link to comment Share on other sites More sharing options...
adminfeasy Posted November 27, 2020 Share Posted November 27, 2020 Good idea thanks Link to comment Share on other sites More sharing options...
Zimmy4lyf Posted November 27, 2020 Author Share Posted November 27, 2020 Hi its was the quick upgrade from 1.6.1.1 to 1.6.1.24 Link to comment Share on other sites More sharing options...
Zimmy4lyf Posted November 27, 2020 Author Share Posted November 27, 2020 I turned on debugging mode and found the below, please note I have no Prestashop or web experiencing I was just told to get it done [PrestaShopDatabaseException] Table 'sgsgalwaeu626.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 = 'sgsgalway.com' OR su.domain_ssl = 'sgsgalway.com') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 790. if ($sql) { 791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 792. } 793. 794. throw new PrestaShopDatabaseException($this->getMsgError()); 795. } 796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 643 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 334 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 114 - config/config.inc.php] require - [line 27 - index.php] - [1 Arguments] Link to comment Share on other sites More sharing options...
Zimmy4lyf Posted November 27, 2020 Author Share Posted November 27, 2020 Thank you I have a backup of prestashop I did before the attempted upgrade would it be best to drop that DB back into phpmyadmin? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now