Jump to content
Ezequiel Cattaneo

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

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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