Jump to content

Error 500 Importacion productos prestashop [PrestaShopException] APC cache has been enabled, but the APC or APCu extension is not available at line 43 in file classes/cache/CacheApc.php


Recommended Posts

Hola, abro este hilo para ayudar a aquellas personas que puedan tener este error.

Error:

[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 348 - classes/db/Db.php]
DbCore->enableCache - [line 4646 - controllers/admin/AdminImportController.php]
AdminImportControllerCore->postProcess - [line 295 - classes/controller/Controller.php]
ControllerCore->run - [line 518 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 93 - admin/index.php]

 

Echar un vistazo a https://github.com/PrestaShop/PrestaShop/issues/28215

 

Debe ser un problema común cuando instalas una tienda en local (xampp) para personalizarla y luego la subes a un servidor.

 

Si te ayudó dejame un comentario para saber si he sido el único tonto con este problema.

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