Jump to content

Cannot access back office


Recommended Posts

Urgently need some helps...

 

I can't access my back office and receive this message:

 

Fatal error: Uncaught --> Smarty: unable to write file /home/k1887701/public_html/shop/cache/smarty/compile/da/58/3b/wrt54ec0e58322e48_32430095 <-- thrown in /home/k1887701/public_html/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46

 

my site's url:

 

http://jerseybrotherland.com/shop

Link to comment
Share on other sites

use an FTP client to connect to your server, then navigate to the following directory

/home/k1887701/public_html/shop/cache/smarty/

 

Make sure you have 2 folders here named 'cache' and 'compile' and ensure the permissions for those folders are 755

both 'cache' and 'compile' are there and their permissions are 755 and still didn't work.

Strangely, when I ask technical support from them (my hosting provider), they asked me to change permissions 775.

 

Can you advise me more on this?

 

Thanks a lot

Link to comment
Share on other sites

Well you can try with 775 or even 777 and see if it works, though I wouldn't keep the latter for security reasons

 

Hi. Nemo...

glad you dropped by here...

I have tried permission 775 and still didn't work. But when I tried 777, I was able to login to back office, but another "pemission denied" occured

 

Warning on line 1865 in file /home/k1887701/public_html/shop/classes/controller/AdminController.php

[2] file_put_contents(/home/k1887701/public_html/shop/config/xml/default_country_modules_list.xml): failed to open stream: Permission denied

 

Warning on line 1868 in file /home/k1887701/public_html/shop/classes/controller/AdminController.php

[2] file_put_contents(/home/k1887701/public_html/shop/config/xml/modules_native_addons.xml): failed to open stream: Permission denied

 

Warning on line 3517 in file /home/k1887701/public_html/shop/classes/controller/AdminController.php

[2] file_put_contents(/home/k1887701/public_html/shop/config/xml/tab_modules_list.xml): failed to open stream: Permission denied

 

Warning on line 1865 in file /home/k1887701/public_html/shop/classes/controller/AdminController.php

[2] file_put_contents(/home/k1887701/public_html/shop/config/xml/default_country_modules_list.xml): failed to open stream: Permission denied

 

Warning on line 1868 in file /home/k1887701/public_html/shop/classes/controller/AdminController.php

[2] file_put_contents(/home/k1887701/public_html/shop/config/xml/modules_native_addons.xml): failed to open stream: Permission denied

 

Some pages in the front office are not loaded as well but displayed following message instead:

Fatal error: Uncaught --> Smarty: unable to write file /home/k1887701/public_html/shop/cache/smarty/cache/blocktopmenu/1/111/category/137/18/07/c1/wrt54f1ebe6292a82_22433670 <-- thrown in/home/k1887701/public_html/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46

 

 

FYI, everything used to be okay even with all folder permissions are 755.

I had no idea what might went wrong here...

This issue really got me headache... 

 

Best regards

Link to comment
Share on other sites

Hm, do you know if your hosting modified something? It might as well be that, as it used to work. Did it happen all of a sudden, or after you did something in particular?

 

I have no idea... I also suspect that they might have modified something. As far as I remember I didn't do anything at all. It just happened like that all of a sudden.

Assume they did modify something, what might they do that can cause such things, in my case here, to happen? 

Link to comment
Share on other sites

Something related to permissions, definitely. It's worth asking them, it often really is just cased by the server's config

 

Hi Nemo...

After long discussion with my hosting provider, they gave me this...

 

http://stackoverflow.com/questions/4588641/smarty-permissions-problems

 

can you advise me more on this? because i'm simply not a code programming savvy.

thanks a lot

 

best regards...

Link to comment
Share on other sites

Relative paths? But if so, it was supposed to be broken since the beginning, did they tell you which of the answers should work? There are 4 at least there

 

They told me, still,  to change folder permission to 777 and file permission to 664.

Eventually, it resolved my problem. I have regained my access to the back office and the store front is working normally.

 

But being 777  for folder permission as the only resolution is still bothering me since you said you wouldn't keep that for security reason. 

Any advise on this security reason?

 

Regards,

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...