kakey25 Posted August 4, 2014 Share Posted August 4, 2014 Hi I ran a CSV file import yesterday and now prestashop 1.6 is giving me this error: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /opt/bitnami/apps/prestashop/htdocs/cache/smarty/compile/4d/24/a9/wrt53dfcd430b2dc1.74572351' in /opt/bitnami/apps/prestashop/htdocs/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /opt/bitnami/apps/prestashop/htdocs/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/opt/bitnami/ap...', '<?php /* Smarty...', Object(Smarty)) #1 /opt/bitnami/apps/prestashop/htdocs/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /opt/bitnami/apps/prestashop/htdocs/classes/controller/Controller.php(402): Smarty_Internal_TemplateBase- >fetch('controllers/mod...') #3 /opt/bitnami/apps/prestashop/htdocs/controllers/admin/AdminModulesController.php(307): ControllerCore- >smartyOutputContent('controllers/mod...') #4 /opt/bitnami/apps/prestashop/htdocs/classes/controller/AdminController.php(673): AdminModulesControllerCore- >aja in /opt/bitnami/apps/prestashop/htdocs/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 [PrestaShop] Fatal error in module smarty_internal_write_file:Uncaught exception 'SmartyException' with message 'unable to write file /opt/bitnami/apps/prestashop/htdocs/cache/smarty/compile/4d/24/a9/wrt53dfcd430b2dc1.74572351' in /opt/bitnami/apps/prestashop/htdocs/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /opt/bitnami/apps/prestashop/htdocs/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/opt/bitnami/ap...', 'compileTemplateSource() #2 /opt/bitnami/apps/prestashop/htdocs/classes/controller/Controller.php(402): Smarty_Internal_TemplateBase- >fetch('controllers/mod...') #3 /opt/bitnami/apps/prestashop/htdocs/controllers/admin/AdminModulesController.php(307): ControllerCore- >smartyOutputContent('controllers/mod...') #4 /opt/bitnami/apps/prestashop/htdocs/classes/controller/AdminController.php(673): AdminModulesControllerCore- >aja And my categories have disappeared and none of the new product is showing. IF you could help that would be great - its driving me insane! Many thanks in advance Katy Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 4, 2014 Share Posted August 4, 2014 what are the write permissions for folder cache and subfolders? also what are the permissions for files under these folders? Link to comment Share on other sites More sharing options...
kakey25 Posted August 5, 2014 Author Share Posted August 5, 2014 All files are 755 can supply you login details if you think you could help? Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 5, 2014 Share Posted August 5, 2014 folders best typical set up is 755 files best typical set up 644 make sure files are 644. Link to comment Share on other sites More sharing options...
kakey25 Posted August 5, 2014 Author Share Posted August 5, 2014 Hi I've looked and files are 644 or 664 - its a bitnami one click set up - all was working fine had 2500 approx. products in there already did a csv import with nearly 5000 products in and since then I have a white screen and no categories. Any help would be much appreciated, have messaged you some login details kind regards Katy Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 5, 2014 Share Posted August 5, 2014 Hi I've looked and files are 644 or 664 - its a bitnami one click set up - all was working fine had 2500 approx. products in there already did a csv import with nearly 5000 products in and since then I have a white screen and no categories. Any help would be much appreciated, have messaged you some login details kind regards Katy hi Katy, yes I received your message but I can only work in the public forum. I do not know why adding additional products would result in there issues. Out of ideas, lets do this back office-->advanced parms-->performance clear cache http://screencast.com/t/hfevCWgn6SI Link to comment Share on other sites More sharing options...
kakey25 Posted August 5, 2014 Author Share Posted August 5, 2014 Ok fair enough Just done it - Ouch! Now have an HTTP 500 error....looks like the DB isn't very happy? Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 5, 2014 Share Posted August 5, 2014 need the underlying error assoc. with 500, see hosting php error log on turn on PrestaShop debug http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
kakey25 Posted August 5, 2014 Author Share Posted August 5, 2014 Hi have done that and get a bizarre error: Error: "install" directory is missing I haven't deleted anything Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 5, 2014 Share Posted August 5, 2014 holy molly!!! do you see file config/settings.inc.php? do you have back up when shop was ok? Link to comment Share on other sites More sharing options...
kakey25 Posted August 5, 2014 Author Share Posted August 5, 2014 Yes I can see that Have a back up of shop files from a while ago Do you think I could just get away with a db restore? Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 5, 2014 Share Posted August 5, 2014 the message about install happens when no settings.inc.php is detected. now I am think more and more you have file ownership issue. we can test ownership issue by changing cache folder and sub folders and files to 777 this not not a long term fix, just debug... Link to comment Share on other sites More sharing options...
kakey25 Posted August 5, 2014 Author Share Posted August 5, 2014 After doing the file permissions I get: Same Error: "install" directory is missing http://ec2-54-76-117-52.eu-west-1.compute.amazonaws.com/prestashop/en/ http://ec2-54-76-117-52.eu-west-1.compute.amazonaws.com/prestashop/administration/index.php Link to comment Share on other sites More sharing options...
Recommended Posts