上传到服务器出现了这样的错误,请高手指教

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

Warning: Cannot modify header information - headers already sent by (output started at F:\www\ecshop\includes\cls_template.php:1) in F:\www\ecshop\includes\cls_template.php on line 48 Warning: Cannot modify header information - headers already sent by (output started at F:\www\ecshop\includes\cls_template.php:1) in F:\www\ecshop\includes\lib_main.php on line 939 Warning: file_put_contents(F:/www/ecshop/templates/caches/index_40F756F0.php) [function.file-put-contents]: failed to open stream: Permission denied in F:\www\ecshop\includes\cls_template.php on line 183 Notice: can't write:F:/www/ecshop/templates/caches/index_40F756F0.php in F:\www\ecshop\includes\cls_template.php on line 185 Warning: file_put_contents(F:/www/ecshop/templates/compiled/vote.lbi.php) [function.file-put-contents]: failed to open stream: Permission denied in F:\www\ecshop\includes\cls_template.php on line 247 Notice: can't write:F:/www/ecshop/templates/compiled/vote.lbi.php in F:\www\ecshop\includes\cls_template.php on line 249

回答:
引起此问题的原因:
1.数据库已经满了
2.相应目录具有可读写的权限。
解决方法:
1.增大服务器空间。
2.清理缓存目录、清空ecs_states表,目的都是为了增大可用空间。
3.还有些用户经常备份数据库,这样会造成data目录下的文件占用空间。建议用户备份数据库后将备份文件保存到本地,然后将服务器上的备份文件清除。
4.赋予相应的目录为可读写的权限。

同上!!!

呵呵,不错!

2# robb


谢谢了OK了我爱ECSOP!UPUP!