php have notice after I installed and using xampp

Problems with the Windows version of XAMPP, questions, comments, and anything related.

php have notice after I installed and using xampp

Postby steven_elvisda » 04. March 2011 19:47

Dear All,

I would like to ask you that after I installed xampp(1.7.4) in my windows 7 and running my old code I found that I got Note: as below that I never saw it before:
Notice: Undefined variable: error_email in D:\xampp\htdocs\template\pro_order.php on line 74 please see my picture error below:

Image
steven_elvisda
 
Posts: 2
Joined: 04. March 2011 15:26

Re: php have notice after I installed and using xampp

Postby WilliL » 04. March 2011 20:00

is changeable in php.ini, search for error_reporting
I suggest you, only to use defined variables or check them (isset())

Code: Select all
php.ini XAMPP 1.7.4
line 516: error_reporting = E_ALL | E_STRICT

php.ini XAMPP 1.7.3
line 514: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
// ~ means NOT
Willi
WilliL
 
Posts: 661
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1


Return to XAMPP for Windows

Who is online

Users browsing this forum: dogmatic and 37 guests