Designinfo.in Posted July 27, 2017 Share Posted July 27, 2017 (edited) I have an error on my website www.designinfo.in and I am unable to login in the admin pannel as well. How should I resolve this ? Error: Fatal error: Uncaught --> Smarty: unable to write file /home/desigssq/public_html/cache/smarty/compile/b2/df/df/wrt5979cf5a6635f9_32617931 <-- thrown in /home/desigssq/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 Prestashop 1.6.1.7 Edited July 27, 2017 by Designinfo.in (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted July 27, 2017 Share Posted July 27, 2017 Post an error message, for example. And ps version in use. It seems difficult to give at least some helpful information to helpers... Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 Error: Fatal error: Uncaught --> Smarty: unable to write file /home/desigssq/public_html/cache/smarty/compile/b2/df/df/wrt5979cf5a6635f9_32617931 <-- thrown in /home/desigssq/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 Prestashop 1.6.1.7 Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2017 Share Posted July 27, 2017 Some changes made on server ? The error says that he cannot write a cache file (your space have restricted size ?) It's a shared space ? Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 It is a VPS server. I was trying to install memecache, Have no clue what went wrong. Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2017 Share Posted July 27, 2017 Well I'm not for to install new things on a running project. If your site is designinfo.in, so well it is not really speedy, but site is working. Don't think you will have more speed with memcache. You are using opcache ? Which php-version ? php-fpm, ngnix proxied ? Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 Hi site is loading on and off, it is not working properly. Yes I want to install memcache and I dont know why the server response time is so high. Other websites on same vps plan work at lightening speed. Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 Also, in back office anything after the dashboard does not load. Is there a way to disable smarty from the cpanel ? I think that is causing the problem. Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 More errors from the error log: [27-Jul-2017 05:49:56 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 05:50:00 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 05:50:03 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 05:50:05 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 17:20:06 Asia/Kolkata] PHP Notice: Undefined index: productprice in /home/desigssq/public_html/cache/smarty/compile/3e/3d/13/3e3d13839dbe2991552ed9fab2bde2717746d3ec.file.product.tpl.php on line 300[27-Jul-2017 17:20:06 Asia/Kolkata] PHP Notice: Trying to get property of non-object in /home/desigssq/public_html/cache/smarty/compile/3e/3d/13/3e3d13839dbe2991552ed9fab2bde2717746d3ec.file.product.tpl.php on line 300[27-Jul-2017 05:50:08 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 05:50:09 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 05:50:17 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0[27-Jul-2017 05:50:27 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0 Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2017 Share Posted July 27, 2017 Which is your server configuration ? php-version ? are you using external cache (APC, xCache, Vault?) opchache ? ngnix ? If you are using several different cache options, this will not work and overload the server. Smarty Cache is not the problem, this is a filecache system when files are compiled. This should work on every server. You can disable on back-office compiling on tab: advanced parameters -> performance. Disable also all CCC options. On same tab at the end of the page you have also a cache possibility. Disable there what you have configured, if there is a external cache choosen, Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2017 Share Posted July 27, 2017 More errors from the error log: [27-Jul-2017 17:20:06 Asia/Kolkata] PHP Notice: Undefined index: productprice in /home/desigssq/public_html/cache/smarty/compile/3e/3d/13/3e3d13839dbe2991552ed9fab2bde2717746d3ec.file.product.tpl.php on line 300 [27-Jul-2017 17:20:06 Asia/Kolkata] PHP Notice: Trying to get property of non-object in /home/desigssq/public_html/cache/smarty/compile/3e/3d/13/3e3d13839dbe2991552ed9fab2bde2717746d3ec.file.product.tpl.php on line 300 These are errors from your template. In this case ask for support of developer. Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2017 Share Posted July 27, 2017 More errors from the error log: [27-Jul-2017 05:50:27 America/Denver] PHP Warning: Module 'mbstring' already loaded in Unknown on line 0 This error is a server configuration error. Seems you are loading mbstring file in double in any of the conf/ini-files of your server. This is a case for server administrator. Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 Which is your server configuration ? php-version ? are you using external cache (APC, xCache, Vault?) opchache ? ngnix ? If you are using several different cache options, this will not work and overload the server. Smarty Cache is not the problem, this is a filecache system when files are compiled. This should work on every server. You can disable on back-office compiling on tab: advanced parameters -> performance. Disable also all CCC options. On same tab at the end of the page you have also a cache possibility. Disable there what you have configured, if there is a external cache choosen, I am not loading any external cache. I am unable to load anything except the dashboard and hence cannot disable CCC. What should I do ? Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 I think this can be solved if I am able to disable CCC from back Office, but the problem is that I cannot access the 'performance page' Please help on how I can do this from the cpanel ? Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2017 Share Posted July 27, 2017 You cannot disable this from cPanel. This is a case for to clone your site and move to XAMPP or other server and than configure the page newly there, for to upload it again to original server. You already tried to delete cache manually? Try manually deleting all cache files EXCEPT index.php and last_flush from \cache\smarty\compile\themes\yourtheme\cache Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 27, 2017 Author Share Posted July 27, 2017 You cannot disable this from cPanel. This is a case for to clone your site and move to XAMPP or other server and than configure the page newly there, for to upload it again to original server. You already tried to delete cache manually? Try manually deleting all cache files EXCEPT index.php and last_flush from \cache\smarty\compile \themes\yourtheme\cache Hi I already deleted the cache from there but it keeps generating again and again since the website is live and currently average 300 to 450 visitors are actively buying goods. I dont know how to use XAMP, can you help me out with the methods and the codes ? Also if this is a paid service, we would like to acknowledge the same and accept the charges. 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