Jump to content

Recommended Posts

Hi there,

 

I'm a long time lurker, first time poster - I was mucking around where I obviously shouldn't have been, I guess the hint was it was under advanced parameters and I am in no way advanced, despite having a few different websites running on prestashop and using it for a few years.

 

Anyway, was reading on the forum that someone else had to turn off their cache and thought I might have to too for an unrelated issue, anyway I went there but didn't notice it said 'smarty cache' when I probably should have clicked on just cache down the bottom, anyway I turned off Smarty Cache, then cleared the regular cache top right corner button, then realised I had the wrong cache, turned it back on, turned the other one off or something like this and what have you and now .... great, I've stuffed it up.

 

So, back office will load about 20% of time otherwise it is just sitting there trying to load and until 504 gateway timeout.

 

Front office very slow or times out.

 

Somehow this error appeared:

 

[PrestaShop] Fatal error in module smarty_internal_write_file:
Uncaught exception 'SmartyException' with message 'unable to write file /home2/swiftrem/public_html/cache/smarty/compile/8c/c4/ef/wrt535834a8abc655.80844305' in /home2/swiftrem/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home2/swiftrem/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home2/swiftrem...', 'compileTemplateSource() #2 /home2/swiftrem/public_html/controllers/admin/AdminModulesController.php(918): Smarty_Internal_TemplateBase->fetch('controllers/mod...') #3 /home2/swiftrem/public_html/controllers/admin/AdminModulesController.php(1006): AdminModulesControllerCore->postProcessCallback() #4 /home2/swiftrem/public_html/classes/controller/Controller.php(171): AdminModulesControllerCore->postProcess() #5 /home2/swiftrem/public_html/classes/Dispatc

 

 

Ekkkk is this something I can fix or should I delete a weeks work and start again?

 

If someone could please help me that would be really great.

 

The irony of the cache being smarty and me obviously not so for doing this is not lost on me :-)

 

The settings it's on now are smarty cache - Recompile templates if the files have been updated and caching file - sytem

 

Also it says this 

 

 CHECK YOUR CONFIGURATION

Required parameters: OK

Optional parameters: Please fix the following error(s)

  • magicquotes
  • pdo_mysql

Server information: Linux #1 SMP Fri Nov 22 08:02:49 EST 2013 x86_64

Server software version: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.0-fips mod_bwlimited/1.4 mod_perl/2.0.6 Perl/v5.10.1

PHP version: 5.3.28

Memory limit: 512M

Max execution time: 30

 

No idea if that is related or not.

Sorry about this, Thank you.

Link to comment
Share on other sites

hello

you can find a lot of topic here on board related to this problem.

almost each of them has got one solution: permissions for cache directory.

change it to 777 recursively (this directory + all other files and subdirectories inside)

  • Like 1
Link to comment
Share on other sites

Thank you for the very fast reply - have enjoyed reading some of your other posts in the past as well so very glad to hear from you  :)

 

Have changed the file permissions in filezilla to 777 for folder cache and all sub folders as per your recommendation.

 

Website is still very slow, for instance, go into Back office, try to change cache to yes, but it just keeps timing out.

 

Have turned on error reporting as well but errors not coming up, just the time out, and one mentioned above.

 

Thanks again for your help

Edited by swifter (see edit history)
Link to comment
Share on other sites

Update:  Hi, thanks for the fix....  When I came back to it again a few hours later, it just started working again perfectly.

 

Thank you for your help!

 

Absolutely love prestashop - It's just so amazing.  Thanks everyone!

Link to comment
Share on other sites

  • 4 weeks later...
  On 4/23/2014 at 10:38 PM, vekia said:

hello

you can find a lot of topic here on board related to this problem.

almost each of them has got one solution: permissions for cache directory.

change it to 777 recursively (this directory + all other files and subdirectories inside)

Fatal error in module AdminModulesController

The above procedure has not resolved the issue.

I'm just helpless...

Any support will be highly appreciated!

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...