News:

AbanteCart v1.4.2 is released.

Main Menu

How to enable xcache in abantecart?

Started by smallfish, December 23, 2016, 04:29:06 AM

Previous topic - Next topic

smallfish

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!?


abolabo

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?



smallfish

Should I also put this line in the file?
define('CACHE_SECRET', 'your_secret_key');

Quote from: abolabo on December 23, 2016, 05:17:20 AM
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?

abolabo

Sure. You have to use secret key for cache by security reason.

CTGO.co

i have a question about adding:  lines belong into your system/config.php . how to do that?? any tutorial or template for this??

abolabo

Quote from: CTGO.co LLC on December 12, 2018, 08:11:48 AM
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? ???


CTGO.co

Quote from: abolabo on December 12, 2018, 08:29:15 AM
Quote from: CTGO.co LLC on December 12, 2018, 08:11:48 AM
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.

abolabo

Quote from: CTGO.co LLC on December 12, 2018, 08:31:53 AM
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  :)

CTGO.co




where 'your_secret_key' is your secret key for xcache  :)
[/quote]

Hi!

where can i find this??

CTGO.co

Quote from: abolabo on December 12, 2018, 08:35:09 AM
Quote from: CTGO.co LLC on December 12, 2018, 08:31:53 AM
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??

Forum Rules Code of conduct
AbanteCart.com 2010 -