Jump to content

can't access BO after disabling cache via parameters.php


max

Recommended Posts

Hi,

Suddenly i had this error in my shop:

[PrestaShopException]

APC cache has been enabled, but the APC or APCu extension is not available
at line 43 in file classes/cache/CacheApc.php

38.      * CacheApcCore constructor.
39.      */
40.     public function __construct()
41.     {
42.         if (!extension_loaded('apc') && !extension_loaded('apcu')) {
43.             throw new PrestaShopException('APC cache has been enabled, but the APC or APCu extension is not available');
44.         }
45.         $this->apcu = extension_loaded('apcu');
46.     }
47. 
48.     /**

    CacheApcCore->__construct - [line 184 - classes/cache/Cache.php]
    CacheCore::getInstance - [line 595 - classes/db/Db.php]
    DbCore->executeS - [line 1350 - classes/shop/Shop.php] - [1 Arguments]
    ShopCore::findShopByHost - [line 341 - classes/shop/Shop.php] - [1 Arguments]
    ShopCore::initialize - [line 128 - config/config.inc.php]
    require - [line 27 - index.php] - [1 Arguments]

 

Then i tried to clear cache manually by deleting var/cache/ prod and dev files but nothing changed. Then i edited the parameters.php file and disabled cache by changing ps_cache_enable from true to false. And my shop started working again, but now i can't access BO.

When i click on log in i get this:

imagen.png.6a8134d40e235542541a0588e023cd88.png

Input fields vanishes and nothing happens, can someone help me ?

PS 1.7.8.8 PHP 7.3

Thanks

Edited by max (see edit history)
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...