Jump to content

Resolved - /skin/cache files have double .php extension


matchattaxoutlet

Recommended Posts

Hi all,

 

I have had my store running with the debug option switched on and noticed that the following type of error points to files in /skin/cache folder and these files all seem to have a double .php extension.

 

Here is an example from the NEWSLETTERS section in admin;

 

/home/XXX/public_html/includes/lib/smarty/sysplugins/smarty_resource.php:720 - filemtime() [function.filemtime.php]: stat failed for /home/XXX/public_html/cache/skin/af45f6bb6ac5819fdad22bb2e27bca2826019b28.file.customers.email.php.php

 

 

If i remove the last extension on the cache files the error disappears but then the file regenerates soon after and the one i altered also remains.

 

Any Ideas? Or is this normal?

 

Link to comment
Share on other sites

This is normal. Errors you see in the debug section are caught by CubeCart before Smarty can catch and discard them. The way the Smarty template system works will cause many filemtime() and unlink() warnings (none fatal), and will catch them before PHP can report them.

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