Hello,
I installed Drupal 4.2 on my local server with php version 4.3.2 and now I see these errors below.
Notice: Undefined index: pass in c:\program files\nusphere\apache\htdocs\drupalv\includes\database.mysql.inc on line 12
warning: Cannot modify header information - headers already sent by (output started at c:\program files\nusphere\apache\htdocs\drupalv\includes\database.mysql.inc:12) in c:\program files\nusphere\apache\htdocs\drupalv\includes\common.inc on line 1065.
warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\nusphere\apache\htdocs\drupalv\includes\database.mysql.inc:12) in c:\program files\nusphere\apache\htdocs\drupalv\modules\user.module on line 5.
I checked for empty spaces but nothing I tried all the recommendation on posts related to this issue but still nothing any ideas?
Thanks,
Topo
Comments
any solution to the problem?
hi i'm php newbie.
do you have any solution with this problem?
thanks.
fatih.
errors
Your error settings are too high. Look for the settings error_reporting and display_errors in your php.ini
Fixed but not happy with it
I was having the same problem (PHP, IIS, MySQL) so I changed my PHP settings to only display errors and not warnings however I feel this might be a bit of a hack. I mean, it's like casting a variable to the right type (even if it isn't) to get rid of a warning. The warning is there for a reason I would assume so shouldn't there be some work to get rid of the warning rather than just ignoring it?
My experience
I had this problem after I used an online editor provided by my host to make changes to the conf.php file. The editor must have been adding some invisible lines or spaces to the files. Once I re-uploaded the file using ftp, the problem went away.