ajensen27 Posted February 15, 2013 Share Posted February 15, 2013 Hello, I'm getting the following error at the top of all my pages and I can't get into the Advanced Parameters --> Performance page on my backend. When I click on the link, the page turns white and only the error below shows. What do I need to do to fix this?? Warning: MemcachePool::getextendedstats(): No servers added to memcache connection in /home/incontis/domains/incontishop.com/public_html/classes/cache/CacheMemcache.php on line 50 Warning: Invalid argument supplied for foreach() in /home/incontis/domains/incontishop.com/public_html/classes/cache/CacheMemcache.php on line 52 Link to comment Share on other sites More sharing options...
bellini13 Posted February 15, 2013 Share Posted February 15, 2013 try to edit the config/settings.inc.php file, and disable cache by updating this line to '0'. I'm going to assume your new server does not have the cache extension installed. define('_PS_CACHE_ENABLED_', '0'); Link to comment Share on other sites More sharing options...
PascalVG Posted February 15, 2013 Share Posted February 15, 2013 Maybe additionally to bellini's solution, also turn off caching in back office ->Advanced Parameters ->performance (almost bottom of page, OR check if your host supports another caching system and change to one of the others: APC/Xcache/(file system)? N.B. Maybe just ask your host to install the memcache extension :-) Link to comment Share on other sites More sharing options...
vekia Posted February 16, 2013 Share Posted February 16, 2013 Hi @ajensen27 does solution pasted above works for you? I'm really interested in this topc - I would appreciate for a reply. Link to comment Share on other sites More sharing options...
bellini13 Posted February 16, 2013 Share Posted February 16, 2013 if cache is enabled but the extension is not installed, you would not be able to log into the back office. That is why you would need to edit the config file directly to disable cache. 1 Link to comment Share on other sites More sharing options...
PascalVG Posted February 16, 2013 Share Posted February 16, 2013 Thanks for explaining, Bellini :-) Link to comment Share on other sites More sharing options...
ajensen27 Posted February 17, 2013 Author Share Posted February 17, 2013 Thanks for the suggestions guys... I disabled cache in the config file and I no longer get the error message. I'm still not able to change the cache property's though in the backend (would like to try some of the other cache systems to see if they work or not). Not sure why but the site is running fast and I'm just going to leave cache off. Also, memcache is installed on my server. I had my VPS provider install it for me. Link to comment Share on other sites More sharing options...
ajensen27 Posted February 17, 2013 Author Share Posted February 17, 2013 I'm now seeing this error message when I'm on the homepage of my BO. It goes away when I go into any of the options. Any ideas on this error too? Warning: file_put_contents(/home/incontis/domains/incontishop.com/public_html/config/xml/default_country_modules_list.xml): failed to open stream: Permission denied in /home/incontis/domains/incontishop.com/public_html/controllers/admin/AdminHomeController.php on line 670 Link to comment Share on other sites More sharing options...
bellini13 Posted February 18, 2013 Share Posted February 18, 2013 you do not have the permissions to create the file. using FTP, try to create the following file and grant it 755 permissions. /home/incontis/domains/incontishop.com/public_html/config/xml/default_country_modules_list.xml Link to comment Share on other sites More sharing options...
ajensen27 Posted February 18, 2013 Author Share Posted February 18, 2013 you do not have the permissions to create the file. using FTP, try to create the following file and grant it 755 permissions. /home/incontis/domains/incontishop.com/public_html/config/xml/default_country_modules_list.xml That file already existed but I changed the permissions to 755 and still got that error message. Changed it to 777 and it went away. 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