我安装了opencart2.3 2.3,它在我的本地主机上运行得很好。现在我已经将它上传到Amazon服务器,它给了我以下错误
当我进行修改并进行刷新时,如下所示:
警告: unlink(/var/www/html/system/storage/modification/system/library/template/tiwg.php):权限在第101 Warning行的/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝:在第101 Warning行的/var/www/html/diveandfeelalive/controller/extension/modification.php中拒绝unlink(/var/www/html/system/storage/modification/system/library/template/php.php):权限: rmdir(/var/www/html/system/storage/modification/system/library/template):第105行/var/www/html/diveandfeelalive/controller/extension/modification.php中拒绝的权限:第101 101Warning行上的unlink(/var/www/html/system/storage/modification/system/library/language.php):权限在/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝:第101 101Warning行上的/var/www/html/diveandfeelalive/controller/extension/modification.php拒绝unlink(/var/www/html/system/storage/modification/system/library/config.php):权限:取消链接(/var/www/html/system/storage/modification/system/library/cart/cart.php):权限在第101 105Warning行的/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝:在第105 105Warning行的/var/www/html/diveandfeelalive/controller/extension/modification.php中拒绝rmdir(/var/www/html/system/storage/modification/system/library/cart):权限:在/var/www中拒绝rmdir(/var/www/html/system/storage/modification/system/library):权限/html/diveandfeelalive/controller/extension/modification.php行105 101Warning: unlink(/var/www/html/system/storage/modification/system/engine/loader.php):权限在/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝,在第101 101Warning行上: unlink(/var/www/html/system/storage/modification/system/engine/action.php):权限在/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝,在第101 101Warning行: rmdir(/var/www/html/system )/存储/修改/系统/引擎):第105 105Warning行上的/var/www/html/diveandfeelalive/controller/extension/modification.php中拒绝的权限:第105 105Warning行中的rmdir(/var/www/html/system/storage/modification/system):目录在/var/www/html/diveandfeelalive/controller/extension/modification.php中不为空: unlink(/var/www/html/system/storage/modification/admin/language/en-gb/common/column_left.php):权限在/var/www/html/ Directory /控制器中被拒绝第101 101Warning行上的扩展/修改. line :第105 101Warning行上的rmdir(/var/www/html/system/storage/modification/admin/language/en-gb/common):权限在/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝:第105 101Warning行上的/var/www/html/diveandfeelalive/controller/extension/modification.php拒绝rmdir(/var/www/html/system/storage/modification/admin/language/en-gb):权限: rmdir(/var/www/html/system/storage/modification/admin/language):第105 105Warning行上的/var/www/html/diveandfeelalive/controller/extension/modification.php中拒绝的权限:第101行的/var/www/html/diveandfeelalive/controller/extension/modification.php中拒绝的unlink(/var/www/html/system/storage/modification/admin/controller/extension/installer.php):权限
我已经为用户/组设置了一个可写权限。但是它仍然显示相同的错误,当我转到system->setting->server
时,我发现已禁用了保存按钮。
我很困惑为什么会发生这种事。我做了很多研发工作,但没有找到解决办法。
请帮帮忙
提前谢谢。
发布于 2017-07-25 00:11:19
将系统/存储/日志/中的文件的权限更改为777,这对我有效,我刚才已经尝试过了
chmod 777 system/storage/logs/error.log
chmod 777 system/storage/logs/ocmod.log
chmod 777 system/storage/logs/openbay.log
发布于 2017-06-14 11:11:45
尝试删除在system/storage/logs目录下找到的文件。我在访问仪表板时遇到了类似的错误。删除这些文件并赋予适当的文件权限后,错误似乎消失了。
https://stackoverflow.com/questions/42557470
复制相似问题