ZenCart 后台Extras->Links  点击new link时出现

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /htdocs/www.xxx.com/admin/includes/functions/html_output.php on line 333

上网查了一下,似乎是因为php4和php5的兼容性问题,解决方法如下:

参见http://www.zen-cart.com/forum/showpost.php?p=487360&postcount=10
原文:

For the storefront, if you try this altered /includes/functions/html_output.php file, does it help?
And the html_output_admin.zip, unzipped is also html_output.php … but for the /admin/includes/functions/html_output.php.
NOTE: These updated files are compatible with v1.3.7, 1.3.7.1, 1.3.8, 1.3.8a.
  html_output.zip (5.2 KB)
  html_output_admin.zip (3.2 KB,)

下载html_output_admin.zip文件覆盖原文件(/htdocs/www.xxx.com/admin/includes/functions/html_output.php)即可,相当于一个补丁

  • Share/Bookmark

相关日志