For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > June 2005 > Re: [PHP-INSTALL] horde 3.0.4 and php4 on freebsd 5.3









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] horde 3.0.4 and php4 on freebsd 5.3
Brad Kowalczyk

2005-06-09, 8:56 pm

Fleischer wrote:
> Hi guys
>
> This might not be the right forum, but it seems this is the only place I get
> correct answers.


Well strictly this list is for help regarding the installation of php
itself, but...
>
> I have installed IMP and now I'm trying to configure horde. When I go to
> config.php it gives me the following error.:
>
> Notice: Undefined index: log in /usr/local/www/horde/lib/Horde.php on line
> 51


This just a 'Notice' not a Warning or Error as such. More to do with
alerting you to possible bad coding practices. Probably no big deal.
>
> Warning: Cannot modify header information - headers already sent by (output
> started at /usr/local/www/horde/lib/Horde.php:51) in
> /usr/local/www/horde/lib/Horde.php on line 1332


Now this Warning was issued because of the previous output of the Notice
above. After php output the notice text the script attempted to send
headers to the browser, headers must be sent before any other output,
including whitespace. So you could fix this by removing Notices from
PHP's error reporting. In php.ini edit the error_reporting directive to be:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Cheers,

Brad

--
Brad Kowalczyk
Web Developer
www.ibiscode.com
Fleischer

2005-06-10, 8:56 am

Hi Brad

Thank you for the quick response.

In my php.ini

The error reporting, was already set to disregard Notices, I added
~E_STRICT, but the notice still showed, once I tried to run the config.php.

Do you have any other suggestions?

Thanks in advance.

/Nick

"Brad Kowalczyk" <brad@ibiscode.com> wrote in message
news:42A8C115.9070204@ibiscode.com...
> Fleischer wrote:
>
> Well strictly this list is for help regarding the installation of php
> itself, but...
>
> This just a 'Notice' not a Warning or Error as such. More to do with
> alerting you to possible bad coding practices. Probably no big deal.
>
> Now this Warning was issued because of the previous output of the Notice
> above. After php output the notice text the script attempted to send
> headers to the browser, headers must be sent before any other output,
> including whitespace. So you could fix this by removing Notices from PHP's
> error reporting. In php.ini edit the error_reporting directive to be:
> error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
>
> Cheers,
>
> Brad
>
> --
> Brad Kowalczyk
> Web Developer
> www.ibiscode.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com