AbanteCart Community

Shopping Cart Operations => Support => Topic started by: smallfish on December 23, 2016, 04:29:06 AM

Title: How to enable xcache in abantecart?
Post 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!?

Title: Re: How to enable xcache in abantecart?
Post by: 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:
Code: [Select]
/**
 * 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?


Title: Re: How to enable xcache in abantecart?
Post by: smallfish on December 28, 2016, 10:55:20 PM
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:
Code: [Select]
/**
 * 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?
Title: Re: How to enable xcache in abantecart?
Post by: abolabo on December 30, 2016, 04:45:05 AM
Sure. You have to use secret key for cache by security reason.
Title: Re: How to enable xcache in abantecart?
Post by: CTGO.co 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??
Title: Re: How to enable xcache in abantecart?
Post by: abolabo on December 12, 2018, 08:29:15 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? ???

Title: Re: How to enable xcache in abantecart?
Post by: CTGO.co on December 12, 2018, 08:31:53 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.
Title: Re: How to enable xcache in abantecart?
Post by: abolabo on December 12, 2018, 08:35:09 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
Code: [Select]
define('CACHE_DRIVER', 'xcache');
define('CACHE_SECRET', 'your_secret_key')

where 'your_secret_key' is your secret key for xcache  :)
Title: Re: How to enable xcache in abantecart?
Post by: CTGO.co on April 05, 2019, 05:09:21 AM



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

Hi!

where can i find this??
Title: Re: How to enable xcache in abantecart?
Post by: CTGO.co on April 05, 2019, 05:11:22 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
Code: [Select]
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??