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