群里一小伙伴的 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...
在安装 ecshop 系统时出现如下错误:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be availabl...
在用户付款之后必定要有一封付款的邮件发到用户的指定邮箱里面,以便告知用户已付款,或已下单的状态,今天在测试付款之后发送邮件的测试,结果出现了错误提示:
Parse error: syntax error, unexpected $end in 空间地址/shop/includes/cls_template.php(1147) : ev al()'d code on line 17
郁闷了,这是哪里出现的错误呢,之前还没有出现这样的错误,在linux系统下都是正常发送邮件提醒的,回想一下,这...
今天在测试 ecshop 系统时,又遇到了因版本而出现的问题,具体的问题代码如下所示:
Strict Standards: Only variables should be passed by reference in upload\includes\cls_template.php on line 418
ecshop 看来也该升级了,出现的诸多问题都是不兼容 php 高级版本所引起了,小虎博客分析了上面的代码,应该也和配置有关,我们看一下cls_template.php 的 418 行代码如下:
$tag_sel = array_shift(explo...
今天在给客户的 ecshop 系统中添加第三方登陆的时候出现如下的错误:
ERROR: 64987649 - Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
用的 win2003 的系统,从网上搜索了下,原来遇到这种问题的用户不少,是因为 php 不支持 openssl 所引起的,我们只需要将 php 目录下的 libeay32.dll 和 ssleay32.dll 两个文件一起拷贝到其c盘下的 system32下就可...