Jump to content

Can Not Log Back Into Prestashop After Upgrade Failed And Backup Was Restored


Zimmy4lyf

Recommended Posts

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?

26-11-2020 15-14-40.jpg

Link to comment
Share on other sites

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

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...