Re: Script Problems

From: Date: Tue, 28 Nov 2000 17:40:29 +0000
Subject: Re: Script Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27633@lists.php.net to get a copy of this message
On Tue, 28 Nov 2000, Mark Barton wrote: > My apologies if this message shows up twice on the mail list, my > original posting doesn't appear to have gone through....... > > I am in the process of moving my website off of a linux box running > php3, on to a Win2k server running php4 and several of my scripts > have stopped working correctly. The problem is I keep getting > undefined variable errors on scripts that ran perfectly fine under > php3. For example; > > Returns - Warning: Undefined Variable: model in .....Then the file > name and line number. > > Returns - Warning: Undefined Variable: part in .......etc., etc. > > Everything runs fine under php3 and linux, but falls apart under > php4 and Win2k. Any suggestions? These are just warnings that PHP generates if you try to use an undefined variable. It'll only show up if your error_reporting is set high enough. Compare the error_reporting levels defined on the two servers. Matt

« previous php.general (#27633) next »