Bartjuh1994 Posted July 9, 2014 Share Posted July 9, 2014 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 More sharing options...
prestamax Posted July 9, 2014 Share Posted July 9, 2014 (edited) sorry ... wrong answer ... cannot delete ... Edited July 9, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 9, 2014 Share Posted July 9, 2014 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 More sharing options...
Bartjuh1994 Posted July 10, 2014 Author Share Posted July 10, 2014 Thanks Dh42. I've installed APC 3.1.9 and everything is working fine now. Link to comment Share on other sites More sharing options...
Recommended Posts