Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't Go to Checkout


JmanA9

Recommended Posts

Hi, I haven't made any changes to my configuration, but all of a sudden, there's two errors on my admin page, and I can't proceed to the checkout. My webhost might have made some changes to their servers. I don't see any blank lines before and/or after the php tags. When I try to add something to the cart, I get this:

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/cart/includes/application_top.php:515) in /public_html/cart/includes/functions/general.php on line 29

It's just that error, and a blank page, nothing else.

 

On the admin page, I get these two:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /public_html/cart/admin/includes/filenames.php:56) in /public_html/cart/admin/includes/functions/sessions.php on line 67

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /public_html/cart/admin/includes/filenames.php:56) in /public_html/cart/admin/includes/functions/sessions.php on line 67

 

Here's the relevant sections of those files:

Line 29:
header('Location: ' . $url);

That's all by itself.

 

sessions.php:

function tep_session_start() {
return session_start();
 }

 

If someone can tell me what to do to fix this, I'd really appreciate it. Here are links to the whole files:

 

General.php

Sessions.php

Link to comment
Share on other sites

Headers Already Sent

 

Error explained at the above link.

 

/cart/includes/application_top.php line 515

 

/cart/admin/includes/filenames.php line 56

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 >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...