Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

check and money order error


dculley

Recommended Posts

Posted

Testing out the check & money order module I ran across the following:

 

'payment_method' => $order->info['payment_method'],

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/l/a/d/lady3597/html/checkout_process.php:1) in /home/content/l/a/d/lady3597/html/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/a/d/lady3597/html/checkout_process.php:1) in /home/content/l/a/d/lady3597/html/includes/functions/general.php on line 49

 

This popped up after submitting the order. The order emailed correctly and completed correctly in admin. Just don't need for the customer to see this pop up after they completed the order. How to fix correctly?

 

Thanks

Dean

Posted

Remove the "whitespaces" at the top of checkout_process.php

 

Check the "Headers already sent" link in my signature.

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

Whitespaces was not the problem, although had run into that before but at the end of a file.

 

The was at the first line at checkout_process.php, I guess it happened after I install Order Editor add on a few months ago. Some how I or it added to the line 1 - 'payment_method' => $order->info['payment_method'],<?php - this doubling the command. After removing - 'payment_method' => $order->info['payment_method'] - from the top line it solved the problem.

 

Thanks

Dean

Posted

If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck...

 

You're welcome.

:)

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 >

Archived

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

×
×
  • Create New...