Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Annoying update error


Guest

Recommended Posts

Here is the error I recieve,

 

Warning: Cannot modify header information - headers already sent by (output started at /home/blahblah/public_html/store/admin/includes/languages/english.php:278) in /home/blahblah/public_html/store/admin/includes/functions/general.php on line 18

 

It only happens when I add or update things, it actually does the updating. This error page appears everytime.

THe actual store page on my site show the changes but this error page is slowing me down and is really really annoying.

 

I'm sorry if someone has asked this in the past, i looked on the forum for an answer but never found one.

:unsure:

Link to comment
Share on other sites

Here is the error I recieve,

 

Warning: Cannot modify header information - headers already sent by (output started at /home/blahblah/public_html/store/admin/includes/languages/english.php:278) in /home/blahblah/public_html/store/admin/includes/functions/general.php on line 18

 

It only happens when I add or update things, it actually does the updating. This error page appears everytime.

THe actual store page on my site show the changes but this error page is slowing me down and is really really annoying.

 

I'm sorry if someone has asked this in the past, i looked on the forum for an answer but never found one.

:unsure:

Can you post what those lines are.

Best Regards

Link to comment
Share on other sites

check this line in both your admin and catalog includes/configure.php files

 

 

 ?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

 

 

set to

 

 

 ?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I got the same error.... mine says

Warning: Cannot modify header information - headers already sent by (output started at /catalog/includes/languages/english.php:324) in /catalog/includes/functions/general.php on line 23

 

But... I only get the error sometimes.

 

Any Ideas???

 

Thanks in Advance

 

Rob

Of all the things I've lost in life, I miss my mind the most! - Unknown

Link to comment
Share on other sites

:huh: Make sure that after you edit your catalog or admin/includes/configure.php files that you scroll to the bottom and make sure there are no spaces after the very last ">"

Delete any spaces and then save your changes.

Link to comment
Share on other sites

The error states that if it is a white space issue that this would be in

 

admin/includes/languages/english.php for Chegahno

 

and /catalog/includes/functions/general.php for RoAch if this is the case

 

then yes the process is to open the file go to the last ?> on the page place your cursor after the ?> and press delete a few times, save the file and upload it.

 

The edit would need to be performed offline with a proper editor and not online with the file manager as the file manager all to often causes problems.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Sorry it took so long to reply..

I did what you suggested, the error still pops up but with a different line this time

 

Warning: Cannot modify header information - headers already sent by (output started at /home/blahblah/public_html/store/admin/includes/application_top.php:265) in /home/blahblah/public_html/store/admin/includes/functions/general.php on line 18

 

haha, I know that you are going to tell me to erase the last bit of space at the end of the script somewhere. Why is this necessary? It was running fine when i fisrt started developement.

I will attempt to erase space at the end of application_top.php ???

 

thanks again.

Link to comment
Share on other sites

Seems to be working now,

Why is it that the space needs to be removed at the end?

Why would it change? Or was it a developement error when the script was created?

just wondering,

Thanks.

Link to comment
Share on other sites

are you by any chance using the file manager to edit your files?

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I fixed my errors by downloading the file, editing in notepad then uploading again.

 

Has worked fine so far.

Of all the things I've lost in life, I miss my mind the most! - Unknown

Link to comment
Share on other sites

It seems to be ok now.

I have a pretty decent file manager, i believe it downloads for me then uploads. opens up a notepad lookin' thingy in a new window that has a send button with permissions.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...