Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I just installed the links contribution 1256. It will be a great contribution when I get it totally working but I am getting this error:

 

Warning: Cannot add header information - headers already sent by (output started at /home/propilot/public_html/includes/functions/general.php:1173) in /home/propilot/public_html/includes/functions/general.php on line 29

 

I need to understand what this means. Can someone tell me what the 1173 means? I am not sure what this warning is telling me. Does it mean that I can only send header info just one time and how do you send header info? I do however understand what the 29 means but when you count lines in the coding, do you count a blank line as one? Thanks in advance.

 

falconpilot

Posted
I just installed the links contribution 1256. It will be a great contribution when I get it totally working but I am getting this error:

 

Warning: Cannot add header information - headers already sent by (output started at /home/propilot/public_html/includes/functions/general.php:1173) in /home/propilot/public_html/includes/functions/general.php on line 29

 

I need to understand what this means. Can someone tell me what the 1173 means? I am not sure what this warning is telling me. Does it mean that I can only send header info just one time and how do you send header info? I do however understand what the 29 means but when you count lines in the coding, do you count a blank line as one?  Thanks in advance.

 

falconpilot

 

It's the most common error around in PHP. It means you either have whitespaces or hard returns in one of the files that gets included. Because of that PHP prints characters to the screen BEFORE it actually should which results in the error.

 

Check for whitespaces... a script should have <?php as the first line, no spaces or anything and ?> as the last characters. So ?>[space] will give an error.

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...