Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookie/Cache Error


dentonio69

Recommended Posts

Posted

I received the following error on top of every page:

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/giftson/public_html/oscommerce/includes/configure.php:48) in /home/giftson/public_html/oscommerce/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/giftson/public_html/oscommerce/includes/configure.php:48) in /home/giftson/public_html/oscommerce/includes/functions/sessions.php on line 67

 

i'm running osCommerce 2.2MS2 on Cpanel X and mySQL 4.0.22-standard.

 

I have added the zones/master password modules as well as AusPost and LoginBox 5.2 and have also set ENABLE SSL to 'false' as I have not received the Shared SSL location.

 

Please have a look at My Webpage and see if you also have the same errors.

 

Also....on the right hand side under the login box the text is a bit different. I think it has to do with the english.php files but any help would also be greatly appreciated.

 

Thanks heaps

 

Denton

 

 

PS. I'm using 000k.com as my host if anyone knows their Shared SSL path please let me know. Thanks!

Posted
I received the following error on top of every page:

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/giftson/public_html/oscommerce/includes/configure.php:48) in /home/giftson/public_html/oscommerce/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/giftson/public_html/oscommerce/includes/configure.php:48) in /home/giftson/public_html/oscommerce/includes/functions/sessions.php on line 67

 

i'm running osCommerce 2.2MS2 on Cpanel X and mySQL 4.0.22-standard.

 

I have added the zones/master password modules as well as AusPost and LoginBox 5.2 and have also set ENABLE SSL to 'false' as I have not received the Shared SSL location.

 

Please have a look at My Webpage and see if you also have the same errors.

 

Also....on the right hand side under the login box the text is a bit different. I think it has to do with the english.php files but any help would also be greatly appreciated.

 

Thanks heaps

 

Denton

PS. I'm using 000k.com as my host if anyone knows their Shared SSL path please let me know. Thanks!

 

Hi

 

If you are getting a "headers already sent" error, this usually means you have a "space" before or after the code. open the files you have edited and make sure there are no spaces before or after the code.

 

As a general rule, make a backup before editing any files so you can always go back. And test your site after editing each file.

 

Paul

www.ukgadgetsdirect.co.uk

Regards

Paul

Posted
Hi

 

If you are getting a "headers already sent" error, this usually means you have a "space" before or after the code. open the files you have edited and make sure there are no spaces before or after the code.

 

As a general rule, make a backup before editing any files so you can always go back. And test your site after editing each file.

 

Paul

www.ukgadgetsdirect.co.uk

 

Cool, thanks for that!

Posted

usually the top line one, in this case configure.php you have extra 'white space' at the end of the file after the last ?>

 

search the knowledge base for 'headers already sent ' for a better explanation

Posted
usually the top line one, in this case configure.php you have extra 'white space' at the end of the file after the last ?>

 

search the knowledge base for 'headers already sent ' for a better explanation

 

Thanks heaps for that!

 

I was quite surprised as I thought in programming languages (i've only done C and Haskell) that white space after the end of a code don't usually affect the code.

 

Then again I have been editing in Cpanel's File Manager that could be it.

 

Thanks again

Posted
Thanks heaps for that!

 

I was quite surprised as I thought in programming languages (i've only done C and Haskell) that white space after the end of a code don't usually affect the code.

 

Then again I have been editing  in Cpanel's File Manager that could be it.

 

Thanks again

 

Hi Again

Sorry, i know nothing about C and Haskell, i know very little about php lol. But a space either before or after the code will give you these "headers already sent" messages. Most people on here will tell you to download the files you want to edit, and upload them again after, which is a good habit to get into. But that can seem a bit long winded if you just want to correct a spelling mistake you'd missed. If you do edit in Cpanel, as i do sometimes, make sure you delete all the space after the last ?>

 

Paul

Regards

Paul

Archived

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

×
×
  • Create New...