简体   繁体   English

前端的Opencart文件权限错误

[英]Opencart File Permission Error on frontend

I am working on a project hosted at 27littlethings.com and I can't seem to get rid of this error: 我正在一个项目托管在27littlethings.com上,但似乎无法摆脱此错误:

Warning: fopen(/home/a27lifdy/public_html/system/storage/logs/error.php): failed to open stream: Permission denied in /home/a27lifdy/public_html/system/library/log.php on line 6 警告:fopen(/home/a27lifdy/public_html/system/storage/logs/error.php):无法打开流:在第6行的/home/a27lifdy/public_html/system/library/log.php中,权限被拒绝

I have tried to change the file permissions on the specified file but the problem is not going away. 我试图更改指定文件的文件权限,但问题不会消失。

Change the permissions on the file in question: 更改有关文件的权限:

chmod 755 /home/a27lifdy/public_html/system/storage/logs/error.php

or 要么

chmod 777 /home/a27lifdy/public_html/system/storage/logs/error.php

You can also try just changing the permission on the folder: 您也可以尝试仅更改文件夹的权限:

chmod 777 /home/a27lifdy/public_html/system/storage/logs/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM