Jump to content

Resolved - Error warning in Firefox browser


Robin Somes

Recommended Posts

Using CC6.05, Foundation skin, Product Addons plugin (legacy version 1.02)

In Firefox 35.0 and 38.0.1,

Go to the following page:

http://www.piscesconservation.com/cube/digital-downloads/analytical-software-full-programs/community-analysis-package.html

Select 1 copy of the add-on product "Introduction to Multivariate Statistics" from the SPECIAL OFFER section.

Click 'Add to Basket'.

Click 'View Basket'.

I receive the following error message: "Warning: filesize() [function.filesize]: stat failed for /export/home/clearwater/piscesshop/webs/www.piscesconservation.com/htdocs/cube/cache/6fbab.empties.cache in /export/home/clearwater/piscesshop/webs/www.piscesconservation.com/htdocs/cube/classes/cache/file.class.php on line 168"

The error is reproducible in Firefox; haven't encountered it in IE or Chrome.

Suggestions?

Link to comment
Share on other sites

This is not an error caused by the web browser.

PHP has a few filesystem functions that it keeps the results of in memory. It is called the 'statcache'. It remembers whether a file exists, its size, and maybe a few other facts.

What is unusual, though, is that there is code just above this statement generating the warning to clear the statcache.

I am also concerned that PHP is displaying errors such as this one. CubeCart has code to supress PHP from displaying errors.

In the meantime, we can try to edit the file /classes/cache/file.class.php, line 168:

Find:
$this->_page_cache_usage += filesize($file);

Change to:
$this->_page_cache_usage += @filesize($file);

 

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...