群里一小伙伴的 linux 运行下的 ecshop 出现问题了,在点击会员时出现如下的错误代码:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in /www/web/XXXX/public_html/includes/cls_mysql.php on line 267
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql][/sql] => SELECT user_id, user_name, email, i...
刚安装好的 ecshop 系统,经常会出现些奇奇怪怪的问题,看来还需要进行慢慢的调试,今天直接出现无法访问,不过所幸出现了错误的代码,如下:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /.../.../.../.../.../temp/static_caches/shop_config.php on line 139 Parse error: syntax error, unexpected $end in /.../.../.../.../.../temp/static_caches/shop_config.php on line 1...
今天在管理 ecshop 模时,模板顶部出现如下的错误代码:
Warning:readdir():supplied argument is not a valid Directory resource in \xiariboke\ecshop\admin\template.php on line 66
扫一眼代码,貌似是模板哪里出现了问题,赶紧打开 template.php 文件,打开查看代码,找到如下的代码:
[code lang="php"]
$tmp_bak_dir = @opendir(ROOT_PATH . 'temp/backup/library/');
while ($file = readdir($t...