Jump to content

Fatal error with APC cache


Recommended Posts

Hi,

 

I've installed Prestashop 1.6.0.8. But when i enabled APC cache i got the follow error message:

 

Fatal error: Call to undefined method Db::getInstance() in /var/www/vhosts/domain.tld/httpdocs/config/alias.php on line 64

 

When i go to the webshop, the page will open, when i refresh the page shows the error above, when i refresh the page will open and so on..

 

Server info: 

PHP 5.4.30

CentOS 6.5

APC 3.1.15-dev

 

Can someone help me? Thanks in advance

Link to comment
Share on other sites

Have you tried using the stable channel of APC? I wouldn't ever recommend using a dev version in production. Also, does anything happen when you do not have apc enabled in the back office of Prestashop. From my best guess when it is enabled it is using APCu when it is disabled it is just using APC. 

Link to comment
Share on other sites

×
×
  • Create New...