Costantini Posted November 25, 2016 Share Posted November 25, 2016 Hello, i have the error 500 internal server somethimes, i tried to put the DEV mode and press f5 for show it and this is the error: Fatal error: Uncaught --> Smarty: unable to write file /homepages/45/d624721413/htdocs/clickandbuilds/PrestaShop/Enotecacostantini/cache/smarty/cache/socialsharing_header/5694/3/3/10/bd/c6/59/wrt58385b53147d80_66130136 <-- thrown in /homepages/45/d624721413/htdocs/clickandbuilds/PrestaShop/Enotecacostantini/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 When i switch the friendly URL button the site working immediatly, maybe because the htacces is regenerate. Can someone help me? thanks Link to comment Share on other sites More sharing options...
Krystian Podemski Posted November 25, 2016 Share Posted November 25, 2016 It's normal on local environment, unfortuntely. Link to comment Share on other sites More sharing options...
Costantini Posted November 26, 2016 Author Share Posted November 26, 2016 (edited) It's normal on local environment, unfortuntely. Sorry what do you mean with local Environment? can you help me? the site is http://www.enotecacostantini.it Edited November 26, 2016 by vuoshino (see edit history) Link to comment Share on other sites More sharing options...
Krystian Podemski Posted November 26, 2016 Share Posted November 26, 2016 Ah, ok, sorry, my bad. Could you share with us screenshot from your Advanced Preferences -> Performance page? Especially section where you have settings related to Smarty cache. You can try to write your cache into MySQL database but it's not a real solution. I remember that Smarty has a bug while writing a cache files and sometimes it tries to save same file over and over again. Link to comment Share on other sites More sharing options...
Costantini Posted November 26, 2016 Author Share Posted November 26, 2016 Ah, ok, sorry, my bad. Could you share with us screenshot from your Advanced Preferences -> Performance page? Especially section where you have settings related to Smarty cache. You can try to write your cache into MySQL database but it's not a real solution. I remember that Smarty has a bug while writing a cache files and sometimes it tries to save same file over and over again. can be a file permission wrong value? Link to comment Share on other sites More sharing options...
Krystian Podemski Posted November 26, 2016 Share Posted November 26, 2016 If you have this error all the time: yes, if only sometimes: no. I was thinking that this happend on local environment because it's a common problem while installing PrestaShop on Windows Link to comment Share on other sites More sharing options...
Costantini Posted November 27, 2016 Author Share Posted November 27, 2016 how can be happen if i disable the smarty cache? there can be some problem? 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