dse323222 2017-03-03 02:12
浏览 141

WHMCS权限错误

I currently have a WHMCS configuration. I have the following folders (crons, downloads, attachments, and templates_c), located in a separate directory than the WHMCS installation. I have the correct path labeled in the configuration.php and the permissions for the folders are correct. I am getting this error: The templates compiling directory '"directory"' must be writeable (CHMOD 777) before you can continue. The templates_c directory is set to CHMOD 777 as it states, but it still doesn't work.

Directory for this folder: /var/www/WHMCS Private/

Directory of WHMCS installation: /var/www/html/supertolerator.com/hosting/billing

Configuration.php: $templates_compiledir = '/var/www/WHMCS Private/templates_c/'; (This is the line telling WHMCS where to look for that folder.)

I have tried contacting WHMCS but they were no help and told me to ask my hosting provider. Can't do that as my server is self-managed.

Any help is appreciated.

  • 写回答

3条回答 默认 最新

  • dqybjj3497 2017-03-03 07:41
    关注

    Just an idea, it could possibly be a bug caused of the blank space in your directory name "WHMCD Private"? Try with lowercase and without blanks space.

    Have you tried the permissions your self? su to the webserver user (eg apache/httpd or similar) and then try to create a file in the templates_c directory:

    touch /var/www/WHMCS Private/templates_c/
    

    If you get a permission error it's still a server issue, otherwise it could be whmcs related.

    评论

报告相同问题?

悬赏问题

  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序