Jump to content

PHP Warning: file_get_contents(/xxx/themes/default-bootstrap/cache/


JSSSX

Recommended Posts

Hello, 

Since I updated to 1.6.1.7, I am getting this PHP warning.
My prestashop is the stock one, but using default theme from 1.6.1.3.
On 1.6.1.3 I never had this warning and nothing changed after updated to 1.6.1.7 (all the same modules etc.)

Here comes the PHP details : 
PHP Warning:  file_get_contents(/boutique/themes/default-bootstrap/cache/v_4617_a4b3c6576139cce4fc1dee43aa98d6d3_all.css): failed to open stream: No such file or directory in C:\XXX\boutique\classes\Media.php on line 646

My media.php line 646 says : 
$css_content = file_get_contents(_PS_ROOT_DIR_.$file_info['path']);


After checking the cache folder from theme, each time the file was there, but this error seems to report that it did not find it.
I guess it comes from an issue in media.php which give a wrong PS_root/main folder address but can't be sure.


Anyone help will be greatly appreciated, in advance Thank You very much.

JSSSX

Link to comment
Share on other sites

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...