Forums / General Questions / see Catchable fatal error:html_output.php on line 333 !!

see Catchable fatal error:html_output.php on line 333 !!

Locked

Views: 2,839

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Aug 2007, 1:59 AM
#1
applese avatar

applese

New Zenner

Join Date:
Jun 2007
Posts:
15
Plugin Contributions:
0

see Catchable fatal error:html_output.php on line 333 !!

Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/my site/public_html/admin/includes/functions/html_output.php on line 333

when I try to learn how to use coupon in "Discount Coupons Product/Category Restrictions", I saw info about html_output.php which I didn't fix it.

Anyone has same problem? :(

3 Aug 2007, 2:42 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: see Catchable fatal error:html_output.php on line 333 !!

Replace your /admin/coupon_admin.php file with the one in the attached zip.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Aug 2007, 2:53 AM
#3
applese avatar

applese

New Zenner

Join Date:
Jun 2007
Posts:
15
Plugin Contributions:
0

Re: see Catchable fatal error:html_output.php on line 333 !!

DrByte:

Replace your /admin/coupon_admin.php file with the one in the attached zip.

thanks!
can you tell me what problem with my html_output.php? It is a bug?
I didn't fix any file in folder ADMIN.

3 Aug 2007, 2:56 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: see Catchable fatal error:html_output.php on line 333 !!

There's nothing wrong with the html_output.php that comes with Zen Cart.
Did the updated coupon_admin.php file fix the problem ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Aug 2007, 3:09 AM
#5
applese avatar

applese

New Zenner

Join Date:
Jun 2007
Posts:
15
Plugin Contributions:
0

Re: see Catchable fatal error:html_output.php on line 333 !!

NO.
nothing changed

3 Aug 2007, 4:59 AM
#6
applese avatar

applese

New Zenner

Join Date:
Jun 2007
Posts:
15
Plugin Contributions:
0

Re: see Catchable fatal error:html_output.php on line 333 !!

I have checked 1.3.6 which seems fine in that section.
Nobody meet this kind question?

3 Aug 2007, 6:24 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: see Catchable fatal error:html_output.php on line 333 !!

I guess we have to start from the very beginning.

What version of Zen Cart do you have? Has this ever been upgraded? from what version(s)?
What version of PHP? Has your host recently changed this?
What version of MySQL? Has your host recently changed this?
What addons/contributions have you installed?
What customizations have you made to your site?
Who is your hosting company?
What is your site URL?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Aug 2007, 7:06 PM
#8
applese avatar

applese

New Zenner

Join Date:
Jun 2007
Posts:
15
Plugin Contributions:
0

Re: see Catchable fatal error:html_output.php on line 333 !!

i use version 1.3.7 in my computer, 1.3.7,1 in host. my site doesn't run now because I have to set my admin first and test them. also mysql is 5.
the same problem show up in my computer and host. But when I check a 1.3.6 in a free host, no this problem.

4 Aug 2007, 5:15 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: see Catchable fatal error:html_output.php on line 333 !!

Please install another v1.3.7.1 Zen Cart in a NEW folder and a NEW database.
Then post a URL where I can test it.
Also, please test the coupon page yourself as well.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Aug 2007, 10:14 PM
#10
applese avatar

applese

New Zenner

Join Date:
Jun 2007
Posts:
15
Plugin Contributions:
0

Re: see Catchable fatal error:html_output.php on line 333 !!

I have reinstalled zencart. I don't know which cause that problem, but it's good so far.

5 Aug 2007, 5:34 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: see Catchable fatal error:html_output.php on line 333 !!

You have 2 options then:

  1. Rebuild your site onto the new install, testing everything regularly, and make careful notes about what you've done, in case you discover which added customization busts it.

or

  1. Do a complete file-by-file comparison between the "broken" site and your new, "working" site. WinMerge is a handy tool for that.

Optionally, the suggestion in this post may help:
http://www.zen-cart.com/forum/showpost.php?p=384852&postcount=1

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

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.