1. WinZengSEO首页
  2. 网站建设

安装ecshop时候报错 Warning: file_put_contents failed to open stream Notice: can’t write:

新安装的ecshop模板 安装完成后 打开首页发现 报错 如下:

一开始就想着去看报错所在的代码, 实际上都是无法打开文件 无法写入文件 ,这些报错如果是程序代码语法的错误,写代码的很少有这种情况出现,有bug的一般不会去交付使用,那么这些大部分不是程序的错误而是网站程序所在的环境,配置环境的权限,例如我这是Linux系统 设置根目录755 可读可写就行了,刷新页面 果然一切正常了~

ecshop权限755

Warning: file_put_contents(/home/wwwroot/temp/caches/4/homeindex_C8FE07EA.php): failed to open stream: Permission denied in /home/wwwroot/includes/cls_template.php on line 139

Notice: can’t write:/home/wwwroot/temp/caches/4/homeindex_C8FE07EA.php in /home/wwwroot/includes/cls_template.php on line 140

Warning: file_put_contents(/home/wwwroot/temp/compiled/header_region_style.lbi.php): failed to open stream: Permission denied in /home/wwwroot/includes/cls_template.php on line 201

Notice: can’t write:/home/wwwroot/temp/compiled/header_region_style.lbi.php in /home/wwwroot/includes/cls_template.php on line 202

Warning: file_put_contents(/home/wwwroot/temp/compiled/category_tree_nav.lbi.php): failed to open stream: Permission denied in /home/wwwroot/includes/cls_template.php on line 201

Notice: can’t write:/home/wwwroot/temp/compiled/category_tree_nav.lbi.php in /home/wwwroot/includes/cls_template.php on line 202

Warning: file_put_contents(/home/wwwroot/temp/compiled/category_tree_nav.lbi.php): failed to open stream: Permission denied in /home/wwwroot/includes/cls_template.php on line 201

Notice: can’t write:/home/wwwroot/temp/compiled/category_tree_nav.lbi.php in /home/wwwroot/includes/cls_template.php on line 202

Warning: file_put_contents(/home/wwwroot/temp/compiled/index_suspend_info.lbi.php): failed to open stream: Permission denied in /home/wwwroot/includes/cls_template.php on line 201

Notice: can’t write:/home/wwwroot/temp/compiled/index_suspend_info.lbi.php in /home/wwwroot/includes/cls_template.php on line 202

Warning: file_put_contents(/home/wwwroot/temp/compiled/user_menu_position.lbi.php): failed to open stream: Permission denied in /home/wwwroot/includes/cls_template.php on line 201

Notice: can’t write:/home/wwwroot/temp/compiled/user_menu_position.lbi.php in /home/wwwroot/includes/cls_template.php on line 202

查看更多安装ecshop时候报错 Warning: file_put_contents failed to open stream Notice: can’t write:的文章

文章标题:安装ecshop时候报错 Warning: file_put_contents failed to open stream Notice: can’t write:

文章链接:http://www.winzeng.org.cn/wangzhan-jianshe/297/

原创文章版权所有,未经授权请勿转载!如需转载请联系winzeng

发表评论

邮箱地址不会被公开。 必填项已用*标注

联系我们

20879750

在线咨询:点击这里给我发消息

邮件:winzeng#qq.com(#改为@)

周一至周五9:30-18:30,节假日休息

QR code