Jump to content

Warning: file_put_contents(): SAFE MODE Restriction in effect. cache/class_index.php is not generate


Recommended Posts

After preparing the update i found out to have the following error. There are some other topic about this and that did not seem to be the solution for me... 

 

Warning: file_put_contents(): SAFE MODE Restriction in effect. The script whose uid is 514 is not allowed to access /tmp/class_index.php.7pf0AA owned by uid 101 in /home/sm/domains/domain.nl/public_html/prep/classes/PrestaShopAutoload.php on line 134 Warning: file_put_contents(/tmp/class_index.php.7pf0AA): failed to open stream: Permission denied in /home/sm/domains/domain.nl/public_html/prep/classes/PrestaShopAutoload.php on line 134 Fatal error: Uncaught --> Smarty: unable to write file /home/smdomains/domain.nl/public_html/prep/cache/smarty/compile/wrt5495ddd59e9208_13761014 <-- thrown in /home/sm/domains/domain.nl/public_html/prep/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46

 

For sure i noticed that cache/class_index.php is not generated. And for testing the premissions are on 777.

 

Other topics:

http://www.prestashop.com/forums/topic/367750-no-se-me-regenera-class-indexphp-para-poder-usar-los-overrides/

with: https://github.com/PrestaShop/PrestaShop/blob/664705149641661c494779ac197749239d916b42/classes/PrestaShopAutoload.php

http://www.prestashop.com/forums/topic/349404-r%C3%A9solu-message-erreur-warning-tempnam/?do=findComment&comment=1762345

http://www.prestashop.com/forums/topic/361810-solved-prestashopautoloadphp-on-line-152/

Edited by Smiles (see edit history)
Link to comment
Share on other sites

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