D
D
Danil Trubitsyn2017-03-12 11:29:54
opencart
Danil Trubitsyn, 2017-03-12 11:29:54

Why doesn't caching work on Opencart ocStore 2.1.0.1?

There is an error in the logs

fread(): Length parameter must be greater than 0 in .../system/library/cache/file.php on line 32

There is free disk space.
The rights to the /system/storage/cache folder are ok.
The cache files are created.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-03-12
@thewind

Your length is filesize($files[0] - look where it comes from. And it comes from the glob() function - what does it return? Is it allowed on hosting?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question