Jump to content

Cache error warning


PeteW1959

Recommended Posts

I am in the process of setting up a new store with 6.0.8.

I have 2 stores, a development store and what will become my production store.

I am getting on both store fronts, seemingly at random, a warning message:-

Warning: filesize(): stat failed for /var/sites/c/ccdev.xxxxxxxx.co.uk/public_html/cache/10bff.sql.empties.cache in /var/sites/c/ccdev.xxxxxxxx.co.uk/public_html/classes/cache/file.class.php on line 168

This appears at the top of the page, over the top of my skin. Everything seems to be working OK, the layout doesn't get corrupted by the message being there, and I have only seen it on the storefront, not the admin pages. As soon as I move to another page, the message disappears.

I am using a self-modified Kurauto Purple skin.

Any ideas?

Link to comment
Share on other sites

If it is at the top of the page, I can conclude that when this error is triggered, CubeCart is waking up between executing:
ini_set('display_errors', true);
in ini.inc.php, and
ini_set('display_errors', false);
in the Debug class that gets instantiated in controller.index.inc.php.

Check to make sure that eventually, CubeCart switches off 'display_errors'.

CubeCart's management style of the cache suggests that stat errors are very common. (Even so, they should not be displayed.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...