我刚刚将我的OC商店从1.5.6.1升级到1.5.6.4,现在每次我向产品添加图像时,只要点击"浏览"链接,图像管理器弹出就显示为空我收到以下错误(在firebug中):
"NetworkError:500内部服务器错误 - http://example.com/admin/index.php?route=common/filemanager&token=[...]&field=image1 "
重现问题的步骤:
转到目录 - >产品并编辑产品
转到图像选项卡
单击"浏览"
这是我在服务器日志中收到的错误(但不在系统 - >错误日志中):
[Fri May 02 10:38:44 2014] [warn] [client IP Removed] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /var/www/vhosts/example.com/httpdocs/admin/controller/common/filemanager.php on line 498, referer: http://example.com/admin/index.php?route=catalog/product/update&product_id=400&token=7c96a8e340e4bc680e887abf97ec4def
第498行是filemanager.php的最后一行(关闭php标记行)