Jump to content

Blank orders > filemtime warning for multiple php files


Recommended Posts

Hello,

 

I inserted a litle script to store error messages on a csv file since I have problems with blank orders. I don't know if they come together, but still I don't want the errors to be anyway.. Constantly the log spews out simulair errors about the filemtime of multiple php files. These are some of the errors:

 

07 Aug 2014 08:16:07,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/themes/default-bootstrap/css/grid_prestashop.css" 07 Aug 2014 08:16:07,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/themes/default-bootstrap/js/tools.js" 07 Aug 2014 08:16:07,"/home/../.../.../.../public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:  64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/cache/smarty/cache/socialsharing_header/203/1/2/13/e8/3f/77/e83f77f7efd39b652333775a52cfc8a76d8cd8e7.socialsharing_header.tpl.php" 07 Aug 2014 08:16:07,"/home/../.../.../.../public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:  64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/cache/smarty/cache/socialsharing_header/203/1/2/13/e8/3f/77/e83f77f7efd39b652333775a52cfc8a76d8cd8e7.socialsharing_header.tpl.php" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/modules/blocksocial/blocksocial.css" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/modules/blockcms/blockcms.css" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/modules/blockcontactinfos/blockcontactinfos.css" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/modules/blockmyaccount/blockmyaccount.css" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/classes/Media.php:  259","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/modules/blockstore/blockstore.css" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:  64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/cache/smarty/cache/blocktopmenu/0/product/1/1/2/0/0/0/0/203/d9/11/15/d91115224bd9318b1261cad0fa4a8e4aaa4edbb1.blocktopmenu.tpl.php" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:  64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/cache/smarty/cache/blocktopmenu/0/product/1/1/2/0/0/0/0/203/d9/11/15/d91115224bd9318b1261cad0fa4a8e4aaa4edbb1.blocktopmenu.tpl.php" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:  64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/cache/smarty/cache/socialsharing/203/1/2/13/bc/c6/5e/bcc65ed63e9594fef1bb5543922fff340bd656e2.socialsharing.tpl.php" 07 Aug 2014 08:16:08,"/home/../.../.../.../public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:  64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/../.../.../.../public_html/cache/smarty/cache/socialsharing/203/1/2/13/bc/c6/5e/bcc65ed63e9594fef1bb5543922fff340bd656e2.socialsharing.tpl.php"

 

 

Does anybody know what they mean to start of with? Or can somebody hand me out a sollution? Since I am pretty lost here..

 

Thanks in advance

Link to comment
Share on other sites

  • 1 month later...

I did solve the issue, but in cowork with my payment provider Mollie (ideal). Wich is dutch. They changed their module that an order is created after the payment is confirmed. The sequens used to be that first an order is created and then the payment has to be made. This created server time-out resulting in blank or duplicate orders.

First i extended the sercer timeout from 30 to 45 seconds and it helped a little, but bot enough.

Now in case a server timeout coned and a custumer refreshes or presses return, then his shopping card is still active and no order is created. Also a server time-out seems bot to happen because an order is created when a customer is expecting to wait in stead of double clicking the confirmation button.

That double clicking also seemed to be a problem wich has been solved by disableing the button after one click.

 

Hopefully this answer helps you a little further in this annoying issue...

Link to comment
Share on other sites

  • 3 months later...

I am facing the same problem with my PrestaShop 1.6.0.9. 

 

But it appears with all payment possibilities, iDeal, Bank Transfer and After payment. I am thinking that the basis of this issue is a slow database connection.

 

I hope someone can provide me with a solution because I don't think that my payment provider TargetPay can solve all the issues since it also appears with other payment options. 

Link to comment
Share on other sites

×
×
  • Create New...