AbanteCart Community
Shopping Cart Operations => Support => Topic started by: smallfish on December 23, 2016, 04:29:06 AM
-
I have modify the /system/config.php
define('CACHE_DRIVER', 'file'); to define('CACHE_DRIVER', 'xcache');
But it seems not working...
Xcache is already enable in php.
After I tried to clear the cache in backend admin, the HTTP ERROR 500 was occurred.
The frontstore had no error, but didn't see any effect on frontend.
How can I setup xcache in abantecart and make it working!?
-
tried to open file of xcache driver public_html/core/cache/xcache.php and reading comment at the top:
/**
* XCache driver
*
* NOTE: to use this driver put lines belong into your system/config.php
define('CACHE_DRIVER', 'xcache');
define('CACHE_SECRET', 'your_secret_key');
Did you tried to do this?
-
Should I also put this line in the file?
define('CACHE_SECRET', 'your_secret_key');
tried to open file of xcache driver public_html/core/cache/xcache.php and reading comment at the top:
/**
* XCache driver
*
* NOTE: to use this driver put lines belong into your system/config.php
define('CACHE_DRIVER', 'xcache');
define('CACHE_SECRET', 'your_secret_key');
Did you tried to do this?
-
Sure. You have to use secret key for cache by security reason.
-
i have a question about adding: lines belong into your system/config.php . how to do that?? any tutorial or template for this??
-
i have a question about adding: lines belong into your system/config.php . how to do that?? any tutorial or template for this??
what tutorial? For file opening via editor and adding lines? ???
-
i have a question about adding: lines belong into your system/config.php . how to do that?? any tutorial or template for this??
what tutorial? For file opening via editor and adding lines? ???
I am asking because i don't know how to add lines which mentioned in that NOTE as also i am still learning too.
-
I am asking because i don't know how to add lines which mentioned in that NOTE as also i am still learning too.
just open your file public_html/system/config.php via cPanel FileManager
and paste this lines into it at the end
define('CACHE_DRIVER', 'xcache');
define('CACHE_SECRET', 'your_secret_key')
where 'your_secret_key' is your secret key for xcache :)
-
where 'your_secret_key' is your secret key for xcache :)
[/quote]
Hi!
where can i find this??
-
I am asking because i don't know how to add lines which mentioned in that NOTE as also i am still learning too.
just open your file public_html/system/config.php via cPanel FileManager
and paste this lines into it at the end
define('CACHE_DRIVER', 'xcache');
define('CACHE_SECRET', 'your_secret_key')
where 'your_secret_key' is your secret key for xcache :)
Hi!
where can i find this??