Guest kamarad Posted June 29, 2011 Share Posted June 29, 2011 Hello. I just installed CubeCart 5 and get this error message is: Warning: To use xcache, you must set "xcache.admin.enable_auth" to "Off" in your php.ini in / customers/4/c/d/digitalaprodukter.net/httpd.www/cubecart/classes/autoloader.class . php on line 161 In web site register globals is OFF. I've tried to change. Htaccess fil with no success. Php.ini file I can not find? Has anyone maybe the file that can be put into this topic. Can anyone help me get rid of this error-grabbing message?autoloader.class.php Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted June 29, 2011 Share Posted June 29, 2011 well if this is your own dedicated server then you should have xcache in your php ini if not then you need to contact your webhost. Quote Link to comment Share on other sites More sharing options...
Guest kamarad Posted June 30, 2011 Share Posted June 30, 2011 I chatted with support on the webbhotellet and they say that it is possible to set the CubeCart administration panel so that the error did not appear? It should go into the CubeCart administration page and disable the "xcache"? The tab in the admin CP can not I find. This is CubeCart 5 If anyone else has had the same problem or if anyone can help with this? Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted June 30, 2011 Share Posted June 30, 2011 Try Store settings > advanced > enable cache. Quote Link to comment Share on other sites More sharing options...
Guest kamarad Posted June 30, 2011 Share Posted June 30, 2011 Try Store settings > advanced > enable cache. hello Thanks for your reply but it does not help. In those two tabs, I have two embedding disabled. Performance Enable Debugging ------ disabled Enable Caching ---------- disabled What will it be this wrong. Memcache Server List (Comma separated) At the top, I have the error message and have no desire to build online store further before it is wine. http://digitalaprodukter.net/cubecart/index.php PS. By the way how do I get index.php file that appears in the root directory ie. I have http://digitalaprodukter.net/index.php instead http://digitalaprodukter.net/cubecart/index.php Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted June 30, 2011 Share Posted June 30, 2011 Ask your host if they are running PHP as dso or cgi. As you may be able to run a custom php.ini which will solve your problems. Or go back to your host and say add that line to the php.ini which is not in the default xcache settings As for the index you must have uploaded your cubecart files to the directory cubecart. Upload them to the root of your webhost instead! Quote Link to comment Share on other sites More sharing options...
Guest Technocrat Posted July 1, 2011 Share Posted July 1, 2011 I am sure your host has xcache setup wrong, but to fix remove: if (extension_loaded('XCache') && ini_get('xcache.size') > 0) { if (ini_get('xcache.admin.enable_auth')) { trigger_error('To use XCache, you must set "xcache.admin.enable_auth" to "Off" in your php.ini', E_USER_WARNING); } else { include CC_ROOT_DIR.CC_DS.'classes'.CC_DS.'cache'.CC_DS.'xcache.class.php'; return true; } } From the autoloader or disable cache Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted July 2, 2011 Share Posted July 2, 2011 I did find that on most install sites that the xcache.admin.enable_auth is not included for what you should put in your php.ini Not sure if this is a different setting xcache.admin.auth = Off; Is what I found. Anyhow removing the code works Off to check your footer link reminds me of a zend framework Quote Link to comment Share on other sites More sharing options...
Guest kamarad Posted July 3, 2011 Share Posted July 3, 2011 I am sure your host has xcache setup wrong, but to fix remove: if (extension_loaded('XCache') && ini_get('xcache.size') > 0) { if (ini_get('xcache.admin.enable_auth')) { trigger_error('To use XCache, you must set "xcache.admin.enable_auth" to "Off" in your php.ini', E_USER_WARNING); } else { include CC_ROOT_DIR.CC_DS.'classes'.CC_DS.'cache'.CC_DS.'xcache.class.php'; return true; } } From the autoloader or disable cache Hi Thanks for your answers but i don't understand completely. Them this code in which file should I change them? "From the autoloader or disable cache" What do you mean he autoloader? Cache is already deactivated in the CP. Enable Caching ---------- disabled Quote Link to comment Share on other sites More sharing options...
Guest kamarad Posted July 3, 2011 Share Posted July 3, 2011 I did find that on most install sites that the xcache.admin.enable_auth is not included for what you should put in your php.ini Not sure if this is a different setting xcache.admin.auth = Off; Is what I found. Anyhow removing the code works Off to check your footer link reminds me of a zend framework Hello again I can not find the php.ini file, there is only ini.inc.php file in the root directory. All files and folders available in cubecart mapen on the server and not in the root directory. Has the name of the php.ini file changed in version 5? I find it? Can anyone put their php.ini file? Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted July 3, 2011 Share Posted July 3, 2011 php.ini is your server ini file for PHP. Unless your on a dedicated server or VPS then you will not have access to it. The code to be removed is in the autoloader.class.php Quote Link to comment Share on other sites More sharing options...
Guest kamarad Posted July 4, 2011 Share Posted July 4, 2011 I have mailed the support and waiting for them fix the error. If they can not do it then I change the file. Thanks for your answers, we will see if I get rid of this irritant error. :rolleyes: 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.