I've installed WHMCS on my hosting space and did its security tips regarding to its document. I've moved templates_c, downloads, and attachments fot one level above public_html (I'm using DirectAdmin control panel) and set their permissions to 777. After it, I put these lines in configuration.php file:
$templates_compiledir = "/home/mysite.com/templates_c/";
$attachments_dir = "/home/mysite.com/attachments/";
$downloads_dir = "/home/mysite.com/downloads/";
But now, when I want to open WHMCS, I get this error:
Permissions Error The templates compiling directory '/home/mysite.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've tested the below formats for configuration.php file too, but they did not work:
- /domains/mysite.com/templates_c/
- /home/domains/mysite.com/templates_c/
Please help me.