Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

create_account.php


Guest

Recommended Posts

when visitors finish creating account on my site they recieve the below error message. please what can i do to rectify this error?

 

Warning: Cannot modify header information - headers already sent by (output started at /home/csxmggl/public_html/includes/languages/english/create_account.php:30) in /home/csxmggl/public_html/includes/functions/general.php on line 33

Link to comment
Share on other sites

when visitors finish creating account on my site they recieve the below error message. please what can i do to rectify this error?

 

Warning: Cannot modify header information - headers already sent by (output started at /home/csxmggl/public_html/includes/languages/english/create_account.php:30) in /home/csxmggl/public_html/includes/functions/general.php on line 33

 

Does thiw help??

 

http://www.oscommerce.com/forums/index.php?showtopic=156547

Link to comment
Share on other sites

This help any:

 

Headers already sent

 

The problem is in /includes/languages/english/create_account.php (line 30)

 

Probably a whitespace at the end.

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

This help any:

 

Headers already sent

 

The problem is in /includes/languages/english/create_account.php (line 30)

 

Probably a whitespace at the end.

thanks for the reply.

Im sorry if my questions sounds stupid but little enlightenment would be appreciated. Thanks.

 

1.Im ask to adjust it from "text editor''.

2.Is ''text editor'' a ''note pad'' or are they different?

3.If different where can i get the ''text editor'' from?

Link to comment
Share on other sites

Notepad would be OK.

 

Sometimes it won't work on files downloaded directly from a UNIX server because of the diffences in UNIX and Windows text files.

 

If you open it in Notepad and it's all "run togther" (all the text on one long line) open it with Wordpad (NOT WORD!) instead then copy/paste the whole text into a blank Notepad window.

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

If you're in search of a new text editor, I use one called Crimson editor.

 

Its' free.

 

Just Google it.

 

It seems to open files downloaded from UNIX servers OK.

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

Notepad would be OK.

 

Sometimes it won't work on files downloaded directly from a UNIX server because of the diffences in UNIX and Windows text files.

 

If you open it in Notepad and it's all "run togther" (all the text on one long line) open it with Wordpad (NOT WORD!) instead then copy/paste the whole text into a blank Notepad window.

 

Really appreciate your assistance. im really frustrated about this create account of a thing. I've done everything am told to do but the problem keep persisting.

Would you mind if i send you the code so you can help me make the changes. Really sorry for wasting your precious time.

Link to comment
Share on other sites

I don't mind.

 

Want me to PM you an email addy?

:unsure:

 

When you edit it with Notepad, have you tried this:

 

Go to the end of the file.

 

The last line shoud be:

 

?>

Hit the backspace until those two characters are deleted, then re-type them in AND DO NOT HIT <ENTER>!

 

Save it, then upload to the server.

 

As always it's a good idea to backup any file before editing.

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

I don't mind.

 

Want me to PM you an email addy?

:unsure:

 

When you edit it with Notepad, have you tried this:

 

Go to the end of the file.

 

The last line shoud be:

 

?>

Hit the backspace until those two characters are deleted, then re-type them in AND DO NOT HIT <ENTER>!

 

Save it, then upload to the server.

 

As always it's a good idea to backup any file before editing.

 

I beg your pardon can i send you the code so you can have a look.

 

Im making the changes from my ftp.

includes>>languages>>english>>create_account.

hope im right?

Link to comment
Share on other sites

That's the correct file.

 

I beg your pardon can i send you the code so you can have a look

If you mean posting the code in the forum, I won't be able to check it that way chances are.

 

Like I said before, I can send you a PM (personal message) with an email address you can send the file to (as an attachment).

 

If that's not satisfactory, you're on your own because that's the only way I can check or edit the file for you.

 

Other than that, I'm just on ths sidelines "coaching".

 

I'm not trying to do anything other than help you out the best way I know how.

:blush:

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

That's the correct file.

 

 

If you mean posting the code in the forum, I won't be able to check it that way chances are.

 

Like I said before, I can send you a PM (personal message) with an email address you can send the file to (as an attachment).

 

If that's not satisfactory, you're on your own because that's the only way I can check or edit the file for you.

 

Other than that, I'm just on ths sidelines "coaching".

 

I'm not trying to do anything other than help you out the best way I know how.

:blush:

 

Thanks man send it to [email protected]

Link to comment
Share on other sites

Done.

 

It as osc help as the email subject

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

Edited and sent back to you.

 

You had about seven blank lines at the end.

 

That was the problem.

:o

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

Edited and sent back to you.

 

You had about seven blank lines at the end.

 

That was the problem.

:o

 

Really appreciate Jim. You took away the stress out of me.

Been on this for the past 3 weeks.

Thannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn

nnnks man. You genius

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...