Re: Errors
| From: | BRACK | Date: | Tue, 21 Aug 2001 15:38:55 +0000 |
| Subject: | Re: Errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63722@lists.php.net to get a copy of this message | ||
Thank you for advise, everything is working fine now.
Youri
On 19 Aug 2001, at 15:55, Oliver Emberton wrote:
> It looks like PHP has been configured to report ALL errors and warnings - in
> your case it is warning you that you haven't declared the variable $page
> before you used it.
>
> Two ways around this - either set the variable $page to something first, or
> fix the php.ini file to stop being so fussy... try setting error_reporting
> to 7.
>
> (Newbie advice only, so take with a pinch of salt)
>
> ----- Original Message -----
> From: "BRACK" <brak@nettaxi.com>
> To: <php-general@lists.php.net>
> Sent: Sunday, August 19, 2001 3:45 PM
> Subject: [PHP] Errors
>
>
> > Hi
> >
> > I'm getting strange errors if I add
> > "LoadModule php4_module ../php/sapi/php4apache.dll" to http.conf
> > If I don't load it everything is working with php.exe without any errors
> but as I
> > load it as a modul I get for example -
> > Warning: Undefined variable: page in d:\abria> > sql\apache\htdocs\inc\page.inc on
> > line 2
> > here is the page.inc file:> > <?php
> > if (!$page):
> > $page = 1;
> > endif;
> > $limit = ($page * 10) - 10;
> > ?>
> >
> > What is wrong? I need php as a modul but what do I do
> > wrong, I did everything according to install.txt in php
> > directory.
> >
> > Thank you
> >
> > Youri
> >
> > <>< <>< <>< <>< God is our provider ><>
> > ><> ><> ><>
> > http://www.body-builders.org
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >