1 Attachment(s)
[Done v1.3.8] Catchable fatal error on html_output.php line 333
Hello
I see a few posts about this but nothing "fixed" for this specific error and file that I could find... so here goes.
After I create a coupon, then click "restrictions" I'm seeing this error in "http://xxmyservernamexx/admin/coupon_restrict.php?cid=1&page=1" beside the category name dropdown box under product restrictions (see attached image).
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /xxmyserverdirectoryxx/admin/includes/functions/html_output.php on line 333
This is a brand new install. 2 categories & 1 product added. 1 Coupon created. Coupon type doesn't seem to matter.
PHP Version: 5.2.3 (Zend: 2.2.0)
MySQL 5.0.41
Zen Cart 1.3.7.1
Database Patch Level: 1.3.7.1 Fresh Installation
Once I select a category other than top the page displays correctly.
Thanks
Robert
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
Hello,
I have the same error message, but it produces when I traying to setup a new Template by clicking Administration > Tools > Template Selection then New Language (...admin/template_select.php?page=1&action=new).
My zencart version is 1.3.7.1 with
Easy Populate EP_v2_76f_r1_MS2
Links Manager 3.2.3
Template: Templatemonster Theme030
now I can't add a new theme!!
What do you recomend?
Thanks in advance and excuse my bad english
Re: [Done v1.3.7] Catchable fatal error on html_output.php line 333
I seem to be getting the same error code in my coupon admin using v1.3.7 with PHP v5.2.4. The suggested fix by changing the functions_general.php did not eliminate the error and a customer says that he cannot complete checkout. Not sure if the two are related since other customers have completed checkout but I have yet to have one do so using the welcome coupon. I have done so in the test mode with no problems.
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/djscoll/public_html/catalog/admin/includes/functions/html_output.php on line 333
Any suggestions appreciated.
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
Quote:
Originally Posted by
Richyfus
Hello,
I have the same error message, but it produces when I traying to setup a new Template by clicking Administration > Tools > Template Selection then New Language (...admin/template_select.php?page=1&action=new).
Same thing here.
In admin>tools>template selection
I have de Default(All) theme.
I'm able to add one language I see it appear in the list
If I try to add another one, it gives me this error. The edit box on the right disapear and I receive this error :
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in [MY PATH] /admin/includes/functions/html_output.php on line 333
So I'm not able to add laguages to the theme... Meaning that I'm unable to edit the languages/my_language/html_includes/my_theme files...
With the debug error loggin utility it says the same... :
PHP Catchable fatal error: Object of class queryFactoryResult could not be converted to string in [MY PATH]/admin/includes/functions/html_output.php on line 333
ZC 1.3.8 fresh install with no modification or add ons
PHP 5.2.4
MySQL 4.1.22-standard
How can I solve this issue ?
I saw this solution given here for the PhP5 catchable error : http://www.zen-cart.com/forum/showpo...52&postcount=1
But from what I can tell, this code as been already modified in ZC 1.3.8...
S.
2 Attachment(s)
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
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.
They are not compatible with the admin security patch dated June 2009. See post 22 below for tips on integrating the security patch.
NOTE: The PHP 5.3 Patch for v1.3.8a has NEWER versions of these files, and you should use THOSE instead of these if you are applying the PHP 5.3 patch.
These updates ARE NOT compatible with v1.3.6 and older. You'll need to upgrade.
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
Bingo DrByte!
I uploaded the html_output.php in for the admin section and everything is OK now...! I'm able to load more than one language without any PhP Catchable Error.
I did'nt upload the file for the store front cause I did'nt have anyproblem on this side Thanks a lot... I'll keep it to give a try if any problem happens in the future.
Thanks again!
S.
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
Thanks for the confirmation.
These additional changes will be incorporated in v1.3.9 and newer.
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
Quote:
Originally Posted by
DrByte
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.
I guess I could look... but asking may be quicker...
Is this fix included in the recent admin patch?
~Melanie
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333
Re: [Done v1.3.8] Catchable fatal error on html_output.php line 333