mmmn Posted August 21, 2015 Share Posted August 21, 2015 (edited) I have installed prestashop a week ago with no customer traffic as of today. But I see that the logs are growing at an extremely high rate for a website without traffic. Checking Apache error logs, I see this error repeated over an over: Stack trace: [*date*] [error] [client *] PHP 1. {main}() /home/abc/xyz/public_html/administrator/index.php:0 [*date*] [error] [client *] PHP 2. require() /home/abc/xyz/public_html/administrator/index.php:34 [*date*] [error] [client *] PHP 3. ShopCore::initialize() /home/abc/xyz/public_html/config/config.inc.php:100 [*date*] [error] [client *] PHP 4. DbCore->executeS() /home/abc/xyz/public_html/classes/shop/Shop.php:330 [*date*] [error] [client *] PHP 5. CacheCore::getInstance() /home/abc/xyz/public_html/classes/db/Db.php:510 [*date*] [error] [client *] PHP 6. CacheApcCore->__construct() /home/abc/xyz/public_html/classes/cache/Cache.php:131 Notice: Undefined index: key in /home/abc/xyz/public_html/classes/cache/CacheApc.php on line 40 Does anybody know what might be causing this and a potential fix? Thanks Edited August 21, 2015 by mmmn (see edit history) 1 Link to comment Share on other sites More sharing options...
NishantVadgama Posted August 21, 2015 Share Posted August 21, 2015 Goto Back Office Advance Parameters->Performance and Clear Cache form right top. and if possible then disable the cache.your problem will be solved. Link to comment Share on other sites More sharing options...
mmmn Posted August 22, 2015 Author Share Posted August 22, 2015 Did that but still see the same stacktrace (didn't disable cache)! What is the cause of the error at all? Link to comment Share on other sites More sharing options...
BZZYBI Posted September 27, 2015 Share Posted September 27, 2015 I have the same issue and deleted all my old cache files but i still get this problem. Anybody know how to solve this.. Thanks Guys Link to comment Share on other sites More sharing options...
M03G Posted October 19, 2015 Share Posted October 19, 2015 Did that but still see the same stacktrace (didn't disable cache)! What is the cause of the error at all? I have the same issue and deleted all my old cache files but i still get this problem. Anybody know how to solve this.. Thanks Guys The problem is the old version of Prestashop and the new version of APC. The new version of APC is no key "key", it is replaced with a key "info". This problem is discussed in the repository APCu - https://github.com/krakjoe/apcu/issues/98. The new version of Prestashop is already fixed - https://github.com/PrestaShop/PrestaShop/commit/7047e88436618dc65565290b07af4cd6d21ec35f You can do the same - to replace the line in the 42 classes / cache / CacheApc.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now