hachemsoft / redis-cache-prestashop

Hs Cache Redis Prestashop module
23 stars 6 forks source link

Class 'CacheRedis' not found in #1

Open rmalenko opened 9 years ago

rmalenko commented 9 years ago

Fatal error: Class 'CacheRedis' not found in /public_html/classes/cache/Cache.php on line 131

hachemsoft commented 9 years ago

remove /cache/class_index.php and try again

rmalenko commented 9 years ago

Thank you for answer. Unfortunately, I still have seen this error message.

Fatal error: Class 'CacheRedis' not found in /public_html/classes/cache/Cache.php on line 131

#   Time    Memory  Function    Location
1   0.0001  245192  {main}( )   ../index.php:0
2   0.0003  310264  require( '/public_html/config/config.inc.php' ) ../index.php:27
3   0.0052  2108272 ShopCore::initialize( ) ../config.inc.php:94
4   0.0068  2299864 DbCore->executeS( ) ../Shop.php:320
5   0.0074  2353544 CacheCore::getInstance( )   ../Db.php:483
hachemsoft commented 9 years ago

You're sure that the override class is installed proprely in /override/classes/cache ?

you should have the class called CacheRedis.php ... if not copy it manualy from the module override folder

shyandsy commented 8 years ago

same problem on version 1.6.1.7

after I installed and setuped this module, the website cannot opened.

error message:

( ! ) Fatal error: Uncaught Error: Class 'CacheRedis' not found in /home/wwwroot/xxxx.com/classes/cache/Cache.php on line 131
( ! ) Error: Class 'CacheRedis' not found in /home/wwwroot/xxxx.com/classes/cache/Cache.php on line 131
Call Stack
#   Time    Memory  Function    Location
1   0.0856  376952  {main}( )   .../index.php:0
2   0.0863  437424  require( '/home/wwwroot/xxxx.com/config/config.inc.php' )   .../index.php:36
3   0.1758  2163136 ShopCore::initialize( ) .../config.inc.php:114
4   0.1798  2339352 DbCore->executeS( ) .../Shop.php:334
5   0.1805  2378304 CacheCore::getInstance( )   .../Db.php:629
shyandsy commented 8 years ago

could you give a solution to uninstall this module from database?

shyandsy commented 8 years ago

image

version 1.6.1.7 This is the solution to restore setting if other suffer same problem. just change line 130 to

$caching_system = "CacheFs";    

recover this line after you change the system setting