[PHP] header modify errors

2008-12-15 Thread Terion Miller
I am working from home today and getting this error with my copy of my
project:
*Warning*: Cannot modify header information - headers already sent by
(output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on
line *3*

*Warning*: Cannot modify header information - headers already sent by
(output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on
line *4*
Could not connect to the database.

I have set my php.ini file output_buffering to ON it was off (read in a past
post that will fix this error--but it did not)
I also set session.cache_limiter =  to nothing it was set to nocache

Any other things I'm missing?
Thanks
Terion


Re: [PHP] header modify errors

2008-12-15 Thread Jim Lucas
Terion Miller wrote:
 I am working from home today and getting this error with my copy of my
 project:
 *Warning*: Cannot modify header information - headers already sent by
 (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
 in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on
 line *3*
 
 *Warning*: Cannot modify header information - headers already sent by
 (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
 in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on
 line *4*
 Could not connect to the database.
 
 I have set my php.ini file output_buffering to ON it was off (read in a past
 post that will fix this error--but it did not)
 I also set session.cache_limiter =  to nothing it was set to nocache
 
 Any other things I'm missing?
 Thanks
 Terion
 

Make sure you have no .htaccess or VirtualHost ... blocks that are overriding 
your php.ini settings.

Plus, make sure you restart to make the changes take effect.

-- 
Jim Lucas

   Some men are born to greatness, some achieve greatness,
   and some have greatness thrust upon them.

Twelfth Night, Act II, Scene V
by William Shakespeare

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php