2017-03-02 78 views
0

我已经安装了opencart2.3,它在本地主机上工作正常。 现在我已经上载至亚马逊AWS服务器和它给我下面的错误fclose()期望参数1是在opencart库/ log.php中给出的资源布尔值opencart

enter image description here

当我去修改和制作刷新,这是图所示:

警告:取消链接( /var/www/html/system/storage/modification/system/library/template/tiwg.php):拒绝在/var/www/html/diveandfeelalive/controller/extension/modification.php在线101上的权限警告:unlink(/ var/www/html/system/storage/modify/system/library/template/php.php):/ var/www/html/diveandfeelalive/controller/extension/modification中的权限被拒绝。 php on line 101警告:rmdir(/ var/www/html/system/storage /修改/系统/库/模板):权限在/var/www/html/diveandfeelalive/controller/extension/modification.php上被拒绝105警告:取消链接(/var/www/html/system/storage/modification/system/library/language.php):拒绝在/var/www/html/diveandfeelalive/controller/extension/modification.php在线101上的权限警告:取消链接(/ var/www/html/system/storage /修改/ system/library/config.php):拒绝在/var/www/html/diveandfeelalive/controller/extension/modification.php上的权限101警告:unlink(/ var/www /html/system/storage/modification/system/library/cart/cart.php):拒绝在/var/www/html/diveandfeelalive/controller/extension/modification.php在线101上的权限警告:rmdir(/ var/www /在/var/www/html/diveandfeelalive/controller/extension/modification.php在线105上的权限被拒绝警告:rmdir(/ var/www/html/system/storage /改性中在/var/www/html/diveandfeelalive/controller/extension/modification.php在线105上拒绝权限警告:unlink(/ var/www/html/system/storage/modify/system/engine/loader .php):拒绝在101行/var/www/html/diveandfeelalive/controller/extension/modification.php上的权限警告:unlink(/var/www/html/system/storage/modification/system/engine/action.php) :权限被拒绝在/var/www/html/diveandfeelalive/controller/extension/modification.php在线警告:rmdir(/ var/www/html/system/storage /修改/系统/引擎):Permission denied in/var/www/html/diveandfeelalive/controller/extension/modify.php on line 105警告:rmdir(/ var/www/html/system/storage/modification/system):/ var/www/html/diveandfeelalive/controller /第105行的扩展/修改.php警告:取消链接(/var/www/html/system/storage/modification/admin/language/en-gb/common/column_left.php):在/ var/www/html/diveandfeelalive中拒绝了权限/ controlle第101行的r/extension/modify.php警告:rmdir(/ var/www/html/system/storage /修改/ admin/language/en-gb/common):/ var/www/html/diveandfeelalive/controller中的权限被拒绝在/ var/www/html/diveandfeelalive/controller/extension /中,权限被拒绝。在线105上的/extension/modification.php警告:rmdir(/ var/www/html/system/storage /第105行的修改.php警告:rmdir(/ var/www/html/system/storage /修改/ admin /语言):权限在第105行的/var/www/html/diveandfeelalive/controller/extension/modification.php中被拒绝警告:取消链接(/var/www/html/system/storage/modification/admin/controller/extension/installer.php):权限被拒绝在/var/www/html/diveandfeelalive/controller/extension/modification.php在线101

我已经设置了WRITABLE permis对用户/组都是sion。但它仍然显示相同的错误,当我去system->setting->server我发现保存按钮被禁用。

我很困惑为什么会出现这种情况。我做了很多R & D但找不到解决方案。

请帮忙

在此先感谢。

回答

2

尝试删除目录下的文件system/storage/logs。访问仪表板时遇到过类似的错误。删除这些文件并给予正确的文件许可后,错误似乎消失了。

1

更改权限,以777中的系统/存储/日志文件/, 这个工作对我来说,我刚才想现在

chmod 777 system/storage/logs/error.log 
chmod 777 system/storage/logs/ocmod.log 
chmod 777 system/storage/logs/openbay.log 
相关问题