Philippe Posted May 25, 2003 Posted May 25, 2003 Having to press on Done, I have this message but the account is created well. Warning: Failed to Connect in c:easyphpwwwcatalogcreate_account_process.php on line 418 Warning: Cannot add header information - headers already sent by (output started at c:easyphpwwwcatalogcreate_account_process.php:418) in c:easyphpwwwcatalogcreate_account_process.php on line 429 My configuration: Win2000 Server Php MySql
Philippe Posted May 25, 2003 Author Posted May 25, 2003 Having to press on Done, I have this message but the account is created well. Warning: Failed to Connect in c:easyphpwwwcatalogcreate_account_process.php on line 418 Warning: Cannot add header information - headers already sent by (output started at c:easyphpwwwcatalogcreate_account_process.php:418) in c:easyphpwwwcatalogcreate_account_process.php on line 429 and Command Process Warning: Failed to Connect in c:easyphpwwwcatalogcheckout_process.php on line 76 Warning: Cannot add header information - headers already sent by (output started at c:easyphpwwwcatalogcheckout_process.php:76) in c:easyphpwwwcatalogincludesmodulespaymentcod.php on line 7 My configuration: Win2000 Server Php MySql
hankfrid Posted May 26, 2003 Posted May 26, 2003 Normally, when you have an error that states "headers already sent", it means that the first file referred to has some whitespace at the very beginning or end of the php code. Although I had never seen one listed here that referred to the SAME program for both messages. This whitespace (extra spaces lines) will normally be after the ?> at the end of the file. If you can put your cursor after the ?> and then use your arrow-right key and the cursur actually moves over, you have whitespace. This normally comes from using a non-standard php code editor like NotePad. Just edit the file, put your cusor just after the ?> and then hold the "Delete" key down until it is all gone. Then save it and try your function again. HankFrid If I build it...they will come. If I don't try to build it.....I will never know!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.