Jump to content

Problem securing the templates_c directory


Recommended Posts

Hi,

I had installed whcms, and followed the chapter "securing the whcms installation".. everything was fine, until I tried to move the templates_c directory to above the public_html directory..

I had moved that directory to: /home/webstower/whcms/templates_c

added to the configuration.php the line with the new path:
$templates_compiledir = '/home/webstower/whcms/templates_c/';

But now, when I try to access to the admin area, the whcms show me the following error:
Permissions Error
The templates compiling directory '/home/webstower/whcms/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.

Im sure that I had choosed the right permission for that directory, I send you a capture.. what can be wrong?

This is my configuration.php content:
<?php
$license = 'notshowed';
$db_host = 'localhost';
$db_port = '';
$db_username = 'notshowed';
$db_password = 'notshowed';
$db_name = 'notshowed';
$cc_encryption_hash = 'notshowed';
$templates_compiledir = '/home/notshowed/whcms/templates_c/';
$mysql_charset = 'utf8';
$customadminpath = "wwwadmin";

screen.png

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