kentb
Založený: 23.08.2004
Príspevky: 2
Zaslal: 2004-08-23 19:41
Návrat hore
Odpovedať s citátom
|
Hello,
I'm seeing a large number of "Notice: Undefined index: input in..." messages going against a small table using phpMyEdit 5.4. PHP is running under IIS on a Windows Server 2003 box going against MySQL 4.0.1 on a RH Linux box.
I did see some references to adding the line:
| Kód: |
| error_reporting(E_ALL & ~E_NOTICE); |
but that seems to already be in the included phpMyEdit.class.php file.
Any idea what might be causing all the Notice messages?
Thanks,
Kent B.
|
kentb
Založený: 23.08.2004
Príspevky: 2
Zaslal: 2004-08-23 19:54
Návrat hore
Odpovedať s citátom
|
Turns out the problem was that PHP on Windows has a PHP.ini file that has Error_Reporting set to E_ALL. This file could be changed or the problem can be solved by putting something like:
| Kód: |
| error_reporting(E_ERROR | E_WARNING | E_PARSE); |
in the file that's generating the notices.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|