Jump to content

Permissions error after upgrade


Recommended Posts

Hi there, I just upgraded my site, and followed the directions with no issues. Except now when I try to go to my admin, it says

 

"Permissions Error

The templates compiling directory '/home/***/billing/templates_c/' must be writeable (CHMOD 777) before you can continue.

If the path shown is incorrect, you can update it in the configuration.php file."

 

However, I have checked and the permissions are set to 777 and the path is correct. Why would this be happening?

Link to comment
Share on other sites

  • 11 months later...

I'm having the same problem, I've moved the folders outside the web root and added this to the config file:

$templates_compiledir = "/var/www/vhosts/domainname.com/templates_c/";

$attachments_dir = "/var/www/vhosts/domainname.com/attachments/";

$downloads_dir = "/var/www/vhosts/domainname.com/downloads/";

 

I've made templates_c/ writable, and changed the group/owner to match the web root folder

drwxrwxrwx 2 ezi psaserv 20480 2012-04-28 01:28 templates_c

 

I've deleted all the old files from the directory and made index.php writable:

-rwxrwxrwx 1 ezi psaserv 44 2012-04-28 01:08 index.php

 

And I still get:

Permissions Error

The templates compiling directory '/var/www/vhosts/domainname.com/templates_c/' must be writeable (CHMOD 777) before you can continue.

If the path shown is incorrect, you can update it in the configuration.php file.

I'm using Ubuntu server with Plesk 10 - has anyone got any ideas? I did the same thing on a Centos/Ubuntu server and it worked fine

Thanks

Howard

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated