Smiles Posted December 20, 2014 Share Posted December 20, 2014 (edited) 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 December 20, 2014 by Smiles (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted December 21, 2014 Share Posted December 21, 2014 I assume, for this example, your web server is Apache, running in Ubuntu. The PHP scripts are running as www-data (uid 514 ?) user and the same user should own all your HTML/PHP files. Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2014 Share Posted December 21, 2014 Please read this about PrestaShop and safe mode. http://doc.prestashop.com/display/PS14/System+Administrator+Guide#SystemAdministratorGuide-SafeMode you would want to disable safe mode on your hosting before trying to debug further. Link to comment Share on other sites More sharing options...
Smiles Posted December 21, 2014 Author Share Posted December 21, 2014 Tnx, i expected that already. Will ask the host to fix that. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now