Page 1 of 1

Cache Errors

Posted: Sat Oct 13, 2018 7:13 pm
by Blackwood
Any suggestions on how to fix these cache errors?

PHP Warning: unlink(/home/mystore/storage/cache/cache.catalog.language.1539427748): No such file or directory in /home/mystore/public_html/system/library/cache/file.php on line 67

66: foreach ($files as $file) {
67: unlink($file);
68: }


PHP Warning: unlink(/home/mystore/storage/cache/cache.catalog.language.1539428959): No such file or directory in /home/mystore/public_html/system/library/cache/file.php on line 67

66: foreach ($files as $file) {
67: unlink($file);
68: }

Re: Cache Errors

Posted: Sat Oct 13, 2018 9:00 pm
by rjcalifornia
Blackwood wrote:
Sat Oct 13, 2018 7:13 pm
Any suggestions on how to fix these cache errors?

PHP Warning: unlink(/home/mystore/storage/cache/cache.catalog.language.1539427748): No such file or directory in /home/mystore/public_html/system/library/cache/file.php on line 67

66: foreach ($files as $file) {
67: unlink($file);
68: }


PHP Warning: unlink(/home/mystore/storage/cache/cache.catalog.language.1539428959): No such file or directory in /home/mystore/public_html/system/library/cache/file.php on line 67

66: foreach ($files as $file) {
67: unlink($file);
68: }

From a previous post:
straightlight wrote:
Thu Jan 04, 2018 8:10 am
Seem also to me that the library cache file may need to be replaced and also to clear your OC cache from the admin once the file being replaced. Replace your system/library/cache/file.php file with the following noticing if it will rectify the issue: https://github.com/opencart/opencart/bl ... e/file.php


viewtopic.php?t=200896#p709385

Re: Cache Errors

Posted: Sat Oct 13, 2018 9:54 pm
by straightlight
Also by applying this step which has been posted multiple times on the public forum: viewtopic.php?f=201&t=186797&p=736026#p736026 - will rectify the issue with the language cache.