php-windows Digest 14 Apr 2004 07:28:31 -0000 Issue 2208

Topics (messages 23433 through 23439):

PHP Site unix to Windows Migration errors
        23433 by: Stan Shaw
        23434 by: Nunners
        23435 by: Gerardo Rojas
        23436 by: David Felton
        23437 by: Stan Shaw
        23438 by: Phil Driscoll

Re: PHP5RC1 and fasctcgi from Shane Caraveo
        23439 by: Marco Montesines

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
We have a new customer with a site coded in php.  After setting up the
webserver on the same server that has a current version of php on it, we get
many errors:
Notice: Undefined variable:
Notice: Undefined constant:

The functioning old site can be viewed at: http://216.92.95.8/
The dysfunctional new site can be viewed at:
http://www.abbottball.com/index.php

Any thoughts would be appreciated!

-- 
Regards,
Stan Shaw                              [EMAIL PROTECTED]
Phone: (413) 599-0399          Fax:   (413) 599-0421
Excell.Net Owner/Operator    http://www.Excell.Net/
928 Owners Club President    http://www.928OC.org/
928Racing.net Team Member http://www.928Racing.net/

"Liberty once lost is lost forever." - John Adams




--- End Message ---
--- Begin Message ---
At a guess, the old site is written in a version of php which had
register_globals turned on....

Try looking in your php.ini file for the register_globals and turn it on....

Nunners

> -----Original Message-----
> From: Stan Shaw [mailto:[EMAIL PROTECTED]
> Sent: 13 April 2004 16:32
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP Site unix to Windows Migration errors
> 
> We have a new customer with a site coded in php.  After setting up the
> webserver on the same server that has a current version of php on it, we
> get
> many errors:
> Notice: Undefined variable:
> Notice: Undefined constant:
> 
> The functioning old site can be viewed at: http://216.92.95.8/
> The dysfunctional new site can be viewed at:
> http://www.abbottball.com/index.php
> 
> Any thoughts would be appreciated!
> 
> --
> Regards,
> Stan Shaw                              [EMAIL PROTECTED]
> Phone: (413) 599-0399          Fax:   (413) 599-0421
> Excell.Net Owner/Operator    http://www.Excell.Net/
> 928 Owners Club President    http://www.928OC.org/
> 928Racing.net Team Member http://www.928Racing.net/
> 
> "Liberty once lost is lost forever." - John Adams
> 
> 
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message ---
Looks like the PATH is not correct.

Notice: Undefined variable: pg in D:\Data\208.16.217.131\abbottball\index.php on line 5

Make sure you have the right pathing for the new system.  The above line does not look 
correct to me?


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]


-----Original Message-----
From: Nunners [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 10:49 AM
To: 'Stan Shaw'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP Site unix to Windows Migration errors


At a guess, the old site is written in a version of php which had
register_globals turned on....

Try looking in your php.ini file for the register_globals and turn it on....

Nunners

> -----Original Message-----
> From: Stan Shaw [mailto:[EMAIL PROTECTED]
> Sent: 13 April 2004 16:32
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP Site unix to Windows Migration errors
> 
> We have a new customer with a site coded in php.  After setting up the
> webserver on the same server that has a current version of php on it, we
> get
> many errors:
> Notice: Undefined variable:
> Notice: Undefined constant:
> 
> The functioning old site can be viewed at: http://216.92.95.8/
> The dysfunctional new site can be viewed at:
> http://www.abbottball.com/index.php
> 
> Any thoughts would be appreciated!
> 
> --
> Regards,
> Stan Shaw                              [EMAIL PROTECTED]
> Phone: (413) 599-0399          Fax:   (413) 599-0421
> Excell.Net Owner/Operator    http://www.Excell.Net/
> 928 Owners Club President    http://www.928OC.org/
> 928Racing.net Team Member http://www.928Racing.net/
> 
> "Liberty once lost is lost forever." - John Adams
> 
> 
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
It's just complaining that a variable hasn't been initialised before you use
it. Just switch error_reporting in your php.ini file to be

error_reporting = E_ALL & ~E_NOTICE

which means 'Show all errors, except for notices'

-----Original Message-----
From: Gerardo Rojas [mailto:[EMAIL PROTECTED]
Sent: 13 April 2004 4:50
To: Nunners; Stan Shaw; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP Site unix to Windows Migration errors


Looks like the PATH is not correct.

Notice: Undefined variable: pg in
D:\Data\208.16.217.131\abbottball\index.php on line 5

Make sure you have the right pathing for the new system.  The above line
does not look correct to me?


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]


-----Original Message-----
From: Nunners [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 10:49 AM
To: 'Stan Shaw'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP Site unix to Windows Migration errors


At a guess, the old site is written in a version of php which had
register_globals turned on....

Try looking in your php.ini file for the register_globals and turn it on....

Nunners

> -----Original Message-----
> From: Stan Shaw [mailto:[EMAIL PROTECTED]
> Sent: 13 April 2004 16:32
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP Site unix to Windows Migration errors
> 
> We have a new customer with a site coded in php.  After setting up the
> webserver on the same server that has a current version of php on it, we
> get
> many errors:
> Notice: Undefined variable:
> Notice: Undefined constant:
> 
> The functioning old site can be viewed at: http://216.92.95.8/
> The dysfunctional new site can be viewed at:
> http://www.abbottball.com/index.php
> 
> Any thoughts would be appreciated!
> 
> --
> Regards,
> Stan Shaw                              [EMAIL PROTECTED]
> Phone: (413) 599-0399          Fax:   (413) 599-0421
> Excell.Net Owner/Operator    http://www.Excell.Net/
> 928 Owners Club President    http://www.928OC.org/
> 928Racing.net Team Member http://www.928Racing.net/
> 
> "Liberty once lost is lost forever." - John Adams
> 
> 
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************

--- End Message ---
--- Begin Message ---
Thank you, that eliminated the error message.  Now to figure out why the
pages aren't working.....

Not to be overly critical, but isn't using variables or constants that
haven't been initialized a poor coding practice?

-- 
Regards,
Stan Shaw                              [EMAIL PROTECTED]
Phone: (413) 599-0399          Fax:   (413) 599-0421
Excell.Net Owner/Operator    http://www.Excell.Net/
928 Owners Club President    http://www.928OC.org/
928Racing.net Team Member http://www.928Racing.net/

"Liberty once lost is lost forever." - John Adams

--- End Message ---
--- Begin Message ---
On Tuesday 13 April 2004 20:29, Stan Shaw wrote:
> Thank you, that eliminated the error message.  Now to figure out why the
> pages aren't working.....
>
> Not to be overly critical, but isn't using variables or constants that
> haven't been initialized a poor coding practice?
Yes! For debugging purposes, error reporting should be set to E_ALL. Once you 
have found and fixed all the actual problems, on a production machine you 
should edit your php.ini so you dont display errors, and instead send them to 
a log file.

Cheers
-- 
Phil Driscoll

--- End Message ---
--- Begin Message ---
Hi,

Is your problem solved?


"Thierry B." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> did someone succeeded to run fastcgi for IIS from Shane Caraveo (
> isapi_fcgi.dll ) with PHP5. I get the message "Server Error, unable to
> connect to fastcgi server."
>
>
> Thierry B.
> -- 
> Click below to answer / cliquez ci dessous pour me repondre
> http://cerbermail.com/?MQkxTL4vUP

--- End Message ---

Reply via email to