RE: PHP Site unix to Windows Migration errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:grojas@xxxxxxxxxxxxxxxx]
Sent: 13 April 2004 4:50
To: Nunners; Stan Shaw; php-windows@xxxxxxxxxxxxx
Subject: RE:  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: grojas@xxxxxxxxxxxxxxxx


-----Original Message-----
From: Nunners [mailto:webmaster@xxxxxxxxxxxxxxxxx]
Sent: Tuesday, April 13, 2004 10:49 AM
To: 'Stan Shaw'; php-windows@xxxxxxxxxxxxx
Subject: RE:  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:Stan.Shaw@xxxxxxxxxx]
> Sent: 13 April 2004 16:32
> To: php-windows@xxxxxxxxxxxxx
> Subject:  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                              Stan.Shaw@xxxxxxxxxx
> 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.
**********************************************************************

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux