Robin Somes Posted June 19, 2015 Share Posted June 19, 2015 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.htmlSelect 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? Quote Link to comment Share on other sites More sharing options...
Robin Somes Posted June 19, 2015 Author Share Posted June 19, 2015 ... and now I *have* just encountered it in IE 11. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 19, 2015 Share Posted June 19, 2015 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); Quote Link to comment Share on other sites More sharing options...
Robin Somes Posted June 19, 2015 Author Share Posted June 19, 2015 Error message disappears. Thank you once again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.