Zen Cart Logo
Forums / General Questions / PHP Warning and Output 

PHP Warning and Output 

Locked

Views: 1,180

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Aug 2009, 5:15 AM
#1
bigjon1982 avatar

bigjon1982

New Zenner

Join Date:
Aug 2009
Posts:
25
Plugin Contributions:
0

PHP Warning and Output 

I installed a PHP debugger into my Zen Cart because some, not all, pages had a blank page with  these characters.

The debug display the following:
[01-Aug-2009 23:40:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/onlywhol/public_html/includes/languages/english/wholesale/header.php:1) in /home/onlywhol/public_html/includes/init_includes/init_templates.php on line 78
[01-Aug-2009 23:40:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/onlywhol/public_html/includes/languages/english/wholesale/header.php:1) in /home/onlywhol/public_html/includes/functions/functions_general.php on line 44

The products were uploaded from another Zen Cart account. I only edit the stylesheet.css. I discover the problem 5 days after the upload when I was going from page to page testing the layout.

Looking for some feedback or if someone already have a sloution to the problem

5 Aug 2009, 5:23 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: PHP Warning and Output 

Apparently you have the utf8 BOM in some files, use developer tool kit in admin to search for files that contain it.

5 Aug 2009, 5:29 AM
#3
bigjon1982 avatar

bigjon1982

New Zenner

Join Date:
Aug 2009
Posts:
25
Plugin Contributions:
0

Re: PHP Warning and Output 

Is there a keyword I should be using?

Hold on, I think I got it

5 Aug 2009, 5:38 AM
#4
bigjon1982 avatar

bigjon1982

New Zenner

Join Date:
Aug 2009
Posts:
25
Plugin Contributions:
0

Re: PHP Warning and Output 

Thank you, I got no more error reports.

5 Aug 2009, 5:41 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: PHP Warning and Output 

MODERATOR NOTE: The bug you had in your site is not a bug in Zen Cart. Thus, this thread is being moved out of the Bug Reports section, since it's not a bug in the core Zen Cart software.