cyremia Posted September 9, 2013 Share Posted September 9, 2013 Hi, I have just installed Memcached on my server and enabled it in the BO. At first it looked like it was working, the loading of the page was much faster but then I realised that I had 2 issues with the website: Ajax Error: When I try to add a product to the cart I get an Ajax error. Internal Error 500: I can see in the Developer tools in Chrome that some of the elements on the page get an Error 500 (it could be related to the Ajax error??). I run PS 1.4.4. Any ideas why this would happen? Thank you Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2013 Share Posted September 9, 2013 if you've got internal server error turn on error reporting:http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-500-error-or-blank-page/ Link to comment Share on other sites More sharing options...
cyremia Posted September 10, 2013 Author Share Posted September 10, 2013 Thanks Vekia. I should have done this before posting my request. The error I got is: Fatal error: Call to undefined method Cache::__destruct() in /mydomain/classes/MCached.php on line 149 Any ideas what this might be. The code in question is the following in Mcached.php: public function __destruct() { parent::__destruct(); if (!$this->_isConnected) return false; $this->_memcacheObj->set('keysCached', $this->_keysCached, 0, 0); $this->_memcacheObj->set('tablesCached', $this->_tablesCached, 0, 0); $this->close(); } I could not find anything in forums about that specific error. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now