Help

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
schemata
-


Joined: 13 Jul 2003
Posts: 1

PostPosted: Sun Jul 13, 2003 10:18 pm    Post subject: Help Reply with quote

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 View user's profile Send private message
os17fan
-


Joined: 21 Mar 2003
Posts: 531
Location: USA

PostPosted: Sun Jul 13, 2003 10:28 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jul 14, 2003 4:11 pm    Post subject: Re: Help Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group