Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer cant edit their address?


costast2

Recommended Posts

Hey all,

 

Im testing the 2.2 site I just made (pre releasing it), and I during testing I noticed an error a customer would experience when trying to edit their address.

(I have limited the address to 1 btw)

 

After login, and selecting :address_book_process.php (to edit their address, contact info is ok)

 

user recieves:

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/store/address_book_process.php:2) in /home/mysite/public_html/store/includes/functions/sessions.php on line 97

 

at the top of the page (the rest of the page loads)

 

Finally when the user clicks update, address_book_process.php goes blank, and the error that is shown is:

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/store/address_book_process.php:2) in /home/mysite/public_html/store/includes/functions/sessions.php on line 97

 

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

 

If checked all the permissions on the folders, checked for whitespaces before/after the php tags on the pages in question as well...(kind of frustrated as the rest of the site seems ok)

Does anyone have a clue what may be wrong?

 

Thanks again

Link to comment
Share on other sites

 

 

Thanks for the reply.

 

I actually had removed the white spaces and it still did it. Threw it up on the server no go..

 

Pulled it back from the server, and the space was there again :)

 

I went through the lines of code individually again and I found some stray PHP tags that I cleaned up and made sure the whit spaces were gone..

 

ALL GOOD!

 

Thanks :)

Link to comment
Share on other sites

  • 4 weeks later...

Archived

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

×
×
  • Create New...