Zen Cart: Catchable Fatal Error in html_output.php

Date October 15, 2008

I’ve been contacted recently by a number of Zen Cart users who are experiencing on occasion, an error similar to the following while working in the administrative section of their sites.

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in … html_output.php

The problem you are experiencing stems from leftover legacy code that is incompatible with PHP5.

Here are two links that will help you understand and correct the issue.

http://www.zen-cart.com/forum/showthread.php?t=90739

http://www.zen-cart.com/forum/showpost.php?p=487734&postcount=11

An interim workaround has been provided by the Zen Cart team. The link to the files which solve this issue are provided here.

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

Share This Article With Others!
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Sphinn
  • description
  • BlinkList
  • Reddit
  • Slashdot
  • SphereIt

Related Posts

  • New Domain & New Server for Zen Cart Optimization Blog
  • SEO Friendly URLs 403 Access Error
  • New Look, Better Content, Big Things on The Horizon


  • 2 Responses to “Zen Cart: Catchable Fatal Error in html_output.php”

    1. James King said:

      I came across this error a few weeks ago when we upgraded our server to PHP5. We just went back to PHP4. Is there a reason to use PHP5 with Zen Cart?

    2. Eric Leuenberger said:

      There are many reasons to use PHP5 in general. PHP4 is not being actively supported anymore and 5 is more secure. You can still use and get 4 but eventually it is wise to upgrade.

      As far as Zen Cart is concerned, the current version does not require PHP5. However, when the next major release comes out (1.4) you will be required to use PHP5. the next release uses object oriented programming and I believe utilizes some functions that are only present in PHP5.

      So, if you want to upgrade whenever that next release is available, you will need PHP5.

    Post a Comment on This Article

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>