pavs94 Posted October 5, 2015 Share Posted October 5, 2015 I am facing random errors in smarty cache which is resulting in blank pages on my website. The common errors are: Fatal error: Uncaught --> Smarty: unable to write file /home/teranaam/public_html/sikhgiftsonline.com/cache/smarty/compile/cf/9f/30/cf9f30cd43486ae288307a38fb968de7b933df0b.file.homesliderpro.tpl.php <-- thrown in/home/teranaam/public_html/sikhgiftsonline.com/tools/smarty/sysplugins/smarty_internal_write_file.php on line 74 Fatal error: Uncaught --> Smarty: unable to write file /home/teranaam/public_html/sikhgiftsonline.com/cache/smarty/compile/aa/3c/7b/aa3c7bbfac2fcc790be2050cbcf772a630def7e1.file.list_action_enable.tpl.php <-- thrown in /home/teranaam/public_html/sikhgiftsonline.com/tools/smarty/sysplugins/smarty_internal_write_file.php on line 74 Fatal error: Uncaught --> Smarty: Invalid compiled template for 'helpers/list/list_action_enable.tpl' <-- thrown in /home/teranaam/public_html/sikhgiftsonline.com/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 182 Fatal error: Uncaught --> Smarty: unable to write file /home/teranaam/public_html/sikhgiftsonline.com/cache/smarty/compile/aa/3c/7b/wrt5610f472752ff2_17468034 <-- thrown in /home/teranaam/public_html/sikhgiftsonline.com/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 and another one with templatebase file. I have attached my performance config. from backend. I tried changing the permissions of the folder /cache and /themes/cache to 777 but still no luck. I previously had a theme from template mela which produced the error, but it did not go even after changing the theme or removing the modules. I have prouducts and customers which I cannot lose. The errors are random and in both front and backoffice and the page recovers after clicking refresh. Any help would be valuable. Thanks.! Link to comment Share on other sites More sharing options...
tuk66 Posted October 5, 2015 Share Posted October 5, 2015 Is this shop on a shared host? It could be "FTP vs. webserver files owner problem". Link to comment Share on other sites More sharing options...
pavs94 Posted October 5, 2015 Author Share Posted October 5, 2015 Yes, its on a shared hosting but i have set permission to 777.. Link to comment Share on other sites More sharing options...
pavs94 Posted October 5, 2015 Author Share Posted October 5, 2015 Any suggestions? My site has been down for almost 48 hours now. I can create a new store, but i want my products and customers to be as is. Is there a way to do that? Link to comment Share on other sites More sharing options...
tuk66 Posted October 5, 2015 Share Posted October 5, 2015 Even so, new files can be created with lower permissions. Link to comment Share on other sites More sharing options...
tuk66 Posted October 5, 2015 Share Posted October 5, 2015 First, you have to find the reason, the root of this problem. I noted something, but the real reason can be different. Link to comment Share on other sites More sharing options...
pavs94 Posted October 5, 2015 Author Share Posted October 5, 2015 Can you check out my backend, I just installed a new prestashop version on another domain I have and I'm getting this error in backend when I click to import the catalog: Fatal error: Class '_PS_CACHING_SYSTEM_' not found in /home/teranaam/public_html/ecommerce/classes/cache/Cache.php on line 131 Link to comment Share on other sites More sharing options...
lievreda Posted October 6, 2015 Share Posted October 6, 2015 Hello, I have the same problem with PS 1.6.1.1, today, it became very unstable with error messages in FO and BO like : Fatal error: Uncaught --> Smarty: Invalid compiled template for '/home/fermebioru/www/themes/default-bootstrap/modules/blockcart/blockcart.tpl' <-- thrown in /home/fermebioru/www/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 182 I'm also on a shared hosting Link to comment Share on other sites More sharing options...
lievreda Posted October 8, 2015 Share Posted October 8, 2015 I solved this issue by disabling Smarty Cache (BO : Advanced Parameters / Performances), I just hope I won't see these error messages again. Link to comment Share on other sites More sharing options...
tuk66 Posted October 8, 2015 Share Posted October 8, 2015 So you can live with about 10 times slower shop. Link to comment Share on other sites More sharing options...
lievreda Posted October 9, 2015 Share Posted October 9, 2015 It's not that slow, but I've reactivated Smarty Cache, I'll see how far it goes, Link to comment Share on other sites More sharing options...
Recommended Posts