Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Hello,

 

I uploaded a contribution called Super Download.

 

After I uploaded some modified files - I received this message:

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wbbookst/public_html/includes/database_tables.php:62) in /home/wbbookst/public_html/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home/wbbookst/public_html/includes/database_tables.php:62) in /home/wbbookst/public_html/includes/functions/general.php on line 33

 

_____

 

Well, I deleted all the files that uploaded, replaced the modified ones with the originals and it still is showing up.

 

Can anyone help?

 

Thanks.

Edited by briens
Posted

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /includes/database_tables.php (line 62)

 

Most likely "whitespace(s)" at the end.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I'm getting the same message after deleting a bunch of code that was hacked onto the site. Did this solution work for you?

If the error is caused by white spaces at the very end of the file you can delete the closing PHP tag and that will make the error go away and not affect the functionality of the code.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I'm getting the same message after deleting a bunch of code that was hacked onto the site. Did this solution work for you?

 

Yes it did work.

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...