Re: Tons of notices and warnings...for what reason?
| From: | Scott Hurring | Date: | Tue, 02 Jul 2002 20:14:56 +0000 |
| Subject: | Re: Tons of notices and warnings...for what reason? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14541@lists.php.net to get a copy of this message | ||
Also, try modifying the error_reporting value in 'php.ini' and
change it to something a bit more terse, like:
"error_reporting = E_ALL & ~E_NOTICE"
for example.
Or, of course, clean up the code!
I hope you didn't pay any money for that BB, becuase it seems
like they wrote some pretty slipshod code if you're getting
that many notices and errors.
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Tracker 1" <tracker1@theroughnecks.net> wrote in message
news:20020702041432.76795.qmail@pb1.pair.com...
> okay, in your php.ini in your windows folder, you have "register_globals"
> set to on? correct? okay, the next thing you will want to do is restart
> iis... if you are in win2k, start..run "iisreset" without the quotes..
>
> this is especially needed if you are using the isapi module..
>
> --
> =======================================================================
> Michael J. Ryan - tracker1[*at*]theroughnecks.com
> Roughneck BBS: http://www.theroughnecks.net
> telnet://theroughnecks.net
> =======================================================================
> Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> One program for aim/icq/yahoo/msn/irc - ±�{ÖÈIÓRÒM“
> áÙhttp://www.trillian.cc/
>
>
> "Dash McElroy" <Dash@westonefcu.org> wrote in message
> news:ABA3F1F1A223D411BE6C006008A6F7E260437B@MSX1-PTON...
> > Sounds like they need to make better code.
> >
> > -Dash
> >
> > -----Original Message-----
> > From: Mike [mailto:trainsnpep@aol.com]
> > Sent: Sunday, June 30, 2002 6:52 PM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] Tons of notices and warnings...for what reason?
> >
> >
> > I've installed IIS, MySQL, and PHP on my computer...When I a bulletin board
> > (PHP), I get around 50 errors...I went to the company that makes the board,
> > and they said to turn register_globals on...and nothing changed...Here's the
> > list of errors:
> >
> > Notice: Undefined variable: nocache in c:\inetpub\wwwroot\global.php on line
> > 23
> >
> > Notice: Undefined variable: query_id in
> > c:\inetpub\wwwroot\admin\db_mysql.php on line 99
> >
> > Notice: Undefined property: in c:\inetpub\wwwroot\admin\db_mysql.php on line
> > 99
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 54
> >
> > Warning: Cannot add header information - headers already sent by (output
> > started at c:\inetpub\wwwroot\global.php:23) in
> > c:\inetpub\wwwroot\global.php on line 319
> >
> > Warning: Cannot add header information - headers already sent by (output
> > started at c:\inetpub\wwwroot\global.php:23) in
> > c:\inetpub\wwwroot\global.php on line 322
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 335
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 335
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 335
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 335
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 335
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 335
> >
> > Notice: Undefined variable: query_id in
> > c:\inetpub\wwwroot\admin\db_mysql.php on line 99
> >
> > Notice: Undefined property: in c:\inetpub\wwwroot\admin\db_mysql.php on line
> > 99
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 180
> >
> > Notice: Undefined variable: url in c:\inetpub\wwwroot\global.php on line 354
> >
> > Notice: Undefined variable: bbtimezoneoffset in
> > c:\inetpub\wwwroot\global.php on line 360
> >
> > Notice: Undefined variable: bbusername in c:\inetpub\wwwroot\index.php on
> > line 24
> >
> > Notice: Use of undefined constant lastpost - assumed 'lastpost' in
> > c:\inetpub\wwwroot\index.php on line 37
> >
> > Notice: Use of undefined constant allowposting - assumed 'allowposting' in
> > c:\inetpub\wwwroot\index.php on line 44
> >
> > Notice: Use of undefined constant forumid - assumed 'forumid' in
> > c:\inetpub\wwwroot\index.php on line 49
> >
> > Notice: Use of undefined constant title - assumed 'title' in
> > c:\inetpub\wwwroot\index.php on line 50
> >
> > Notice: Use of undefined constant description - assumed 'description' in
> > c:\inetpub\wwwroot\index.php on line 53
> >
> > Notice: Use of undefined constant replycount - assumed 'replycount' in
> > c:\inetpub\wwwroot\index.php on line 57
> >
> > Notice: Use of undefined constant threadcount - assumed 'threadcount' in
> > c:\inetpub\wwwroot\index.php on line 58
> >
> > Notice: Use of undefined constant lastpost - assumed 'lastpost' in
> > c:\inetpub\wwwroot\index.php on line 61
> >
> > Notice: Use of undefined constant lastpost - assumed 'lastpost' in
> > c:\inetpub\wwwroot\index.php on line 62
> >
> > Notice: Use of undefined constant lastpost - assumed 'lastpost' in
> > c:\inetpub\wwwroot\index.php on line 63
> >
> > Notice: Undefined index: forumhomebit in c:\inetpub\wwwroot\global.php on
> > line 176
> >
> > Notice: Undefined variable: query_id in
> > c:\inetpub\wwwroot\admin\db_mysql.php on line 99
> >
> > Notice: Undefined property: in c:\inetpub\wwwroot\admin\db_mysql.php on line
> > 99
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 180
> >
> > Notice: Undefined variable: forumbits in c:\inetpub\wwwroot\index.php(69) :
> > eval()'d code on line 1
> >
> > Notice: Undefined index: forumhome in c:\inetpub\wwwroot\global.php on line
> > 176
> >
> > Notice: Undefined variable: query_id in
> > c:\inetpub\wwwroot\admin\db_mysql.php on line 99
> >
> > Notice: Undefined property: in c:\inetpub\wwwroot\admin\db_mysql.php on line
> > 99
> >
> > Notice: Use of undefined constant template - assumed 'template' in
> > c:\inetpub\wwwroot\global.php on line 180
> >
> > Notice: Undefined variable: newposts in c:\inetpub\wwwroot\index.php(72) :
> > eval()'d code on line 16
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant findword - assumed 'findword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > Notice: Use of undefined constant replaceword - assumed 'replaceword' in
> > c:\inetpub\wwwroot\global.php on line 70
> >
> > The scripts run fine on tons of other people's servers...just not mine...so
> > I know the problem is on my end....
> >
> > Anyway, I'm pretty sure it's one little tiny setting, but I can't figure
> > out
> > for the life of me what it is...Anything you need to know, just ask...I can
> > tell you just about anything about the config ('cept password ;))
> >
> > Also, if it isn't blatantly obvious, I'm new to PHP...Do you know of any
> > tutorials that could be considered light reading? I've read the PHP manual
> > on php.net up to the function ref....
> >
> > Sincerely,
> > --<Mike>--
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>