Jump to content

xcache.admin.enable_auth" to "Off"


Guest kamarad

Recommended Posts

Guest kamarad

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

Link to comment
Share on other sites

Guest hennaboy

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.

Link to comment
Share on other sites

Guest kamarad

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?

Link to comment
Share on other sites

Guest kamarad

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

Link to comment
Share on other sites

Guest hennaboy

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!

Link to comment
Share on other sites

Guest Technocrat

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

Link to comment
Share on other sites

Guest hennaboy

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 :D

Off to check your footer link reminds me of a zend framework

Link to comment
Share on other sites

Guest kamarad

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

Link to comment
Share on other sites

Guest kamarad

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 :D

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?

Link to comment
Share on other sites

Guest hennaboy

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

Link to comment
Share on other sites

Guest kamarad

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:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...