在ECSHOP的二次开发过程中,遇到Notice: can't write错误

2016-07-07 15:14 来源:www.chinab4c.com 作者:ecshop专家



本来我的的商城系统可以很好的运行在我本地搭建的IIS+APACH+MYSQL上,调试的时候也在另外一个远程WINDOWS虚拟主机上测试过,一切正常。但是当我使用美国的虚拟主机的时候,问题来了,而且非常严重。

整个页面出现了无数个类似下面的错误

Notice: Undefined variable: data in /services1/webpages/m/a/marinehardwarestore.com/public/includes/lib_base.php on line 1241

Warning: require(/services1/webpages/m/a/marinehardwarestore.com/public/languages//common.php) [function.require]: failed to open stream: No such file or directory in /services1/webpages/m/a/marinehardwarestore.com/public/includes/init.php on line 120

Warning: require(/services1/webpages/m/a/marinehardwarestore.com/public/languages//common.php) [function.require]: failed to open stream: No such file or directory in /services1/webpages/m/a/marinehardwarestore.com/public/includes/init.php on line 120

Fatal error: require() [function.require]: Failed opening required '/services1/webpages/m/a/marinehardwarestore.com/public/languages//common.php' (include_path='.:/services1/webpages/m/a/marinehardwarestore.com/public/') in /services1/webpages/m/a/marinehardwarestore.com/public/includes/init.php on line 120

回答:
首先看下文件读写权限有没什么问题

就是没有777权限