platedepot Posted February 24, 2015 Share Posted February 24, 2015 I enabled debugging for the first time the other day and noticed this error below (or some varience of it) whenever I've loaded any page in the admin section - this particular warning message is from the Orders page. I'd say that Cube Cart has worked correctly about 90% of the time for me, but my customers have had their baskets empty enough times to make it worrisome. Could this error be related to that or something else? I have both large product and order databases going back to 2009 (2214 products and 8619 orders). Any help would be appreciated. Thanks MARK PHP 5.2.17 CubeCart v. 5.2.16 PHP: [Warning] /home/content/96/8861796/html/includes/lib/smarty/sysplugins/smarty_resource.php:733 - filemtime() [function.filemtime.php]: stat failed for /home/content/96/8861796/html/cache /skin/314080303f61e45e379b96cec9c4546ac4b23755.file.element.paginate.php.php [Warning] /home/content/96/8861796/html/includes/lib/smarty/sysplugins/smarty_resource.php:733 - filemtime() [function.filemtime.php]: stat failed for /home/content/96/8861796/html/cache/skin/45fa43a1195dcb56244e0258b390be53298496de.file.orders.index.php.php [Warning] /home/content/96/8861796/html/includes/lib/smarty/sysplugins/smarty_resource.php:733 - filemtime() [function.filemtime.php]: stat failed for /home/content/96/8861796/html/cache/skin/909abfac69743b0afda359beeb300d8ba59f21be.file.main.php.php [Warning] /home/content/96/8861796/html/includes/lib/smarty/sysplugins/smarty_resource.php:733 - filemtime() [function.filemtime.php]: stat failed for /home/content/96/8861796/html/cache/skin/901e34f590278d004541c3e5654f31412503ac48.file.common.gui_message.php.php [Warning] /home/content/96/8861796/html/includes/lib/smarty/sysplugins/smarty_resource.php:733 - filemtime() [function.filemtime.php]: stat failed for /home/content/96/8861796/html/cache/skin/374c5bbe5c0a89eaa5bb73f8f0b9cf480b48f103.file.ccpower.php.php Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 24, 2015 Share Posted February 24, 2015 Please ignore any and all errors containing: smarty/sysplugins/smarty_resource.php:733 - filemtime() This is a byproduct of how Smarty manages it's template cache. There is a command related to this: http://www.smarty.net/docs/en/api.mute.expected.errors.tpl but I haven't really decided if it's worth pursuing. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted February 24, 2015 Share Posted February 24, 2015 Hi I think it would be good for CubeCart to use this and prevent them from being recorded. Always thought it was strange that Smarty recorded "errors" that "were produced deliberately and must be ignored". For people that dont know it can be a worry and why fill up the error_log with detail that is not needed or useful I have opened issue https://github.com/cubecart/v6/issues/273 Ian Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 24, 2015 Share Posted February 24, 2015 I think these errors show up only in CubeCart's debug box, and not in CubeCart's error log database table (viewable in admin), nor in PHP's error_log. So, these errors only show in debug, and a new store owner may not know what debug is, nor understand the implications of viewing debug, I like to tinker. And I am amused when I see embossed on the bottom of small kitchen appliances "No user serviceable parts inside." Maybe Al can move the "Cache" and "Debug" settings to another tab (in Maintenance?) and add a legend phrase "Only change these settings if you know what you are doing or under the direction of a support technician." 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.