kab Posted October 29, 2015 Share Posted October 29, 2015 (edited) I am getting the following error while logging into the admin panel. I have SSL enabled in the website as well as in the cart. I am also getting a memcached error as well:#1Warning: Memcache::connect() [memcache.connect]: Can't connect to 127.0.0.1:11211, Connection refused (111) in ..../shopperack.com/classes/cache/memcache.class.php on line 39Warning: Couldn't initiate Memcache. Please set 'memcache_host' and 'memcache_port' in the includes/global.inc.php file. in ..../shopperack.com/classes/cache/memcache.class.php on line 40Warning: Invalid argument supplied for foreach() in /..../shopperack.com/classes/cache/memcache.class.php on line 139#2Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Edited October 29, 2015 by kab Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 30, 2015 Share Posted October 30, 2015 This means that your hosting server has memcached installed but it is either running on an external server (not localhost) or on a different port than the default 11211 or your access to memcache is blocked in some other way. If you want to use memcache which in theory is much faster as it stores all the cache files in memory rather than using the standard file based caching, then you will need to speak to your hosting provider. Alternatively, you can add a line to your global.inc.php configuration file to for e CubeCart to use file based cacheIan Quote Link to comment Share on other sites More sharing options...
kab Posted October 30, 2015 Author Share Posted October 30, 2015 Thanks Ian. What line will I need to add to the global.inc.php to revert to file caching? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 30, 2015 Share Posted October 30, 2015 HiYou can add the following line to force file based cache$glob['cache'] = 'file';Ian Quote Link to comment Share on other sites More sharing options...
kab Posted October 30, 2015 Author Share Posted October 30, 2015 Thanks Ian. That should serve me till I get the memcache figured out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.