ecshop升级后出现了页头大量的错误代码,首页有时会有有时刷新下就又好了,点进其他页面就又出现这类的错误代码了 一、出现的代码是: Warning: include_once(/www/users/ldhost.cn/ADMIN_PATH/includes/lib_template.php) [function.include-once]: failed to open stream: No such file or directory in /www/users/ldhost.cn/includes/lib_common.php on line 662
Warning: include_once() [function.include]: Failed opening '/www/users/ldhost.cn/ADMIN_PATH/includes/lib_template.php' for inclusion (include_path='.:/www/users/ldhost.cn/') in /www/users/ldhost.cn/includes/lib_common.php on line 662
Warning: include_once(/www/users/ldhost.cn/ADMIN_PATH/includes/lib_template.php) [function.include-once]: failed to open stream: No such file or directory in /www/users/ldhost.cn/includes/lib_main.php on line 1920
Warning: include_once() [function.include]: Failed opening '/www/users/ldhost.cn/ADMIN_PATH/includes/lib_template.php' for inclusion (include_path='.:/www/users/ldhost.cn/') in /www/users/ldhost.cn/includes/lib_main.php on line 1920
二、解决办法:
原因不能肯定,但问题有个共同特点,都用到了 “ADMIN_PATH” 这个常量,因为常量没有定义,所以直接显示在了路径里,造成无法访问文件。 三、 |