larscpedersen Posted January 6, 2015 Share Posted January 6, 2015 Hi Guys I would be very happy if someone could help me with this problem - apparently Google (my friend who normally helps me) could not give me the answer! I get the following message in my error_log PHP Fatal error: Uncaught --> Smarty: unable to write file /home/sayskydk/public_html/cache/smarty/compile/04/f3/33/wrt54aac43ba92986_24505309 <--thrown in /home/sayskydk/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 and I get blank (white) page I have attached a screenshot of line 46 ! Thanks for helping me Cheers, Lars http://shop.saysky.dk Link to comment Share on other sites More sharing options...
larscpedersen Posted January 8, 2015 Author Share Posted January 8, 2015 can anyone help me? Link to comment Share on other sites More sharing options...
GADVERT Posted February 11, 2015 Share Posted February 11, 2015 Hello I have same error http://fashion-eclat.com/ you seem to solve the problem I can not find fault, you have the solution thank you Link to comment Share on other sites More sharing options...
exposeclothing Posted December 11, 2015 Share Posted December 11, 2015 i have the same error...i stopped using my store due to personal circumstances and have just re-activated the domain, the backoffice still appears the same, im able to view my products etc but soon as i try to view modules i get Fatal error: Uncaught --> Smarty: unable to write file /home/exposecl/public_html/cache/smarty/compile/e9/3d/af/wrt566a5931937d32_75098907 <-- thrown in /home/exposecl/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 did anyone manage to figure the resolution out? Cheers Link to comment Share on other sites More sharing options...
El Patron Posted December 11, 2015 Share Posted December 11, 2015 i have the same error...i stopped using my store due to personal circumstances and have just re-activated the domain, the backoffice still appears the same, im able to view my products etc but soon as i try to view modules i get Fatal error: Uncaught --> Smarty: unable to write file /home/exposecl/public_html/cache/smarty/compile/e9/3d/af/wrt566a5931937d32_75098907 <-- thrown in /home/exposecl/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 did anyone manage to figure the resolution out? Cheers Hi, maybe these posts will help: https://www.prestashop.com/forums/topic/348731-solved-fatal-error-uncaught-exception-smartyexception-with-message-unable-to-write-file/ https://www.prestashop.com/forums/topic/159566-solved-prestashop-front-office-error-white-page/ all posts seem related to permission issue, here is total search results: https://www.google.com/search?q=smarty_internal_write_file.php+on+line+46&oq=smarty_internal_write_file.php+on+line+46&aqs=chrome..69i57j69i60&sourceid=chrome&es_sm=0&ie=UTF-8#q=smarty_internal_write_file.php+on+line+46+site:www.prestashop.com Link to comment Share on other sites More sharing options...
snakeice4522 Posted July 17, 2017 Share Posted July 17, 2017 Hello I have same error http://fashion-eclat.com/ you seem to solve the problem I can not find fault, you have the solution thank you Hey what did you done to solve the problem? sorry for my bad english Link to comment Share on other sites More sharing options...
Scully Posted July 19, 2017 Share Posted July 19, 2017 (edited) I think folder premission to not grand write access to the user under which the webserver is running. Explanation: Smarty is a caching mechanism which compiles files and saves the executed result in static files. This requirtes write access the the respective folders when new cache files have to be written to disk. I would try to manually delete all files in ../cache/compile /cache/smarty/compile and ./cache/smarty/cache WITH the exception of index.php files in both path. Then check, if the error persits. If yes, you might want to check your directory permissions. The user or user group from your webserver needs the write flag to be set. Edited July 19, 2017 by Scully (see edit history) 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