View previous topic :: View next topic |
Author |
Message |
schemata -
Joined: 13 Jul 2003 Posts: 1
|
Posted: Sun Jul 13, 2003 10:18 pm Post subject: Help |
|
|
This is the error I get:
Notice: Undefined index: submit in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 8
Notice: Undefined index: QUERY_STRING in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 9
Notice: Undefined index: postname in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 10
Notice: Undefined index: posturl in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 11
Notice: Undefined index: postmessage in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 12
Notice: Undefined index: shoutboxuser in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 14
Notice: Undefined index: shoutboxurl in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 15
Notice: Undefined index: userpassword in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 16
Notice: Undefined index: id in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 17
Notice: Undefined index: postid in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 18
Notice: Undefined variable: error in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 97
Notice: Undefined variable: posttotal in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 107
Notice: Undefined variable: url in C:\ABYSS WEB SERVER\htdocs\aslan\shoutbox\shoutbox.php on line 138
Thats just one script, but it happens with all scripts. I followed the directions relating to installing php, am using 4_3_0, in C:\Php....
Every Php script I have tried to run has given me a variety of errors similar to this.
Any help would be appreciated. _________________ // Shut up, square. // |
|
Back to top |
|
|
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Sun Jul 13, 2003 10:28 pm Post subject: |
|
|
I know a way to get rid of this, open your php.ini file with a text editor like Note pad , find the varible
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
put On to Off _________________ This web server is the best ! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Jul 14, 2003 4:11 pm Post subject: Re: Help |
|
|
schemata,
Your script is using the old PHP variable naming convention. To make PHP support that old convention, please open your php.ini file and locate the line beginning by register_gloabals and change it to:
Code: |
register_globals=on
|
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|