Jump to content

How to disable xcache without access to admin back office?


szben

Recommended Posts

I have disabled cache and got the following error. How can I fix this?

 

 

[PrestaShopDatabaseException]

 

 

Table 'ibuy_ps3.prstshp_shop_url' doesn't exist
 

SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
                    FROM prstshp_shop_url su
                    LEFT JOIN prstshp_shop s ON (s.id_shop = su.id_shop)
                    WHERE (su.domain = 'mydomain.com' OR su.domain_ssl = '
mydomain.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. }
Edited by szben (see edit history)
Link to comment
Share on other sites

Moved to a new server without xcache and now prestashop is not accessible. How can I disable xcache without access to the admin backend?

Go to FTP and change the following line of your /inc/settings.inc.php TO:

define('_PS_CACHING_SYSTEM_', '');
define('_PS_CACHE_ENABLED_', '0');
  • Like 2
Link to comment
Share on other sites

 

I have disabled cache and got the following error. How can I fix this?

 

 

[PrestaShopDatabaseException]

 

 

Table 'ibuy_ps3.prstshp_shop_url' doesn't exist

 

Please only one question per topic.

 

This error you are getting, because it seems you changed the URL of your shop as well ?

 

To disable the module ibuy without having access to your backend you go to database table "ps_module" and disable the module (search for the line of the module there) in question by setting on table active a "o" instead of "1" for active.

Link to comment
Share on other sites

  • 2 years later...
On 8/10/2017 at 10:28 PM, selectshop.at said:

Go to FTP and change the following line of your /inc/settings.inc.php TO:


define('_PS_CACHING_SYSTEM_', '');
define('_PS_CACHE_ENABLED_', '0');

ok thank you! you are a life saver.

I turned on caching system on 1.6.1.11 and the site backoffice and front office went blank.

No error report (after changing defines.inc.ini) no nothing.
I was searching for changing the tables in PS_confic and nothing there.

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