Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 29. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Zoznam chýb  »  Chyba #25

Rozšírené detaily chyby [ Preskočiť na poznámky k chybám ] [ História chýb ] [ Vytlačiť ]
ID Kategória Dôležitosť Reprodukovateľnosť Dátum vloženia Posledná zmena
0000025 core / general veľká vždy 2003-02-12 23:36 2006-01-23 01:46
 
Autor anonymous Zobraziť status verejný  
Priradené nepto
Priorita normálna Riešenie vyriešený Platforma IIS
Stav uzavretý Duplicitné ID OS windows 2000 server
Projection žiadny Verzia php4.
ETA žiadny Verzia produktu 0.6.1
  Build produktu all
  Hlasy 1
 
Zhrnutie tons of errors when display_errors set to ON
Popis Everytime I turn on display_errors in php this script spits out hundreds of errors of the type:

Notice: Undefined index: filters in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 2869

Notice: Undefined index: triggers in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 2870

Notice: Undefined index: logtable in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 2871

Notice: Undefined index: page_name in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 2873

Notice: Undefined index: cgi in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 2911

Notice: Undefined index: cgi in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 2912

Notice: Undefined index: sfn in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 1259

Notice: Undefined index: operation in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 1259

Notice: Undefined index: operation in c:\inetpub\wwwroot\testing\phpMyEdit-5.2\phpMyEdit.class.php on line 1263
Kroky k vyvolaniu edit the php.ini to set display_errors = On and then the errors display on any table page produced by the phpmyeditsetup
Dalšie informácie
Pripojené súbory notices.diff (10,064 bytes) 2004-04-17 12:21
error_report.diff (714 bytes) 2004-04-17 12:21

Poznámky k chybe
nepto
2003-02-16 02:13

Well, this is confirmed. These are notices. If we wanted to have them all fixed, code will be probably huge, what may result into more longer parsing time. However, I will see if it is possible to eliminate such notices, or it is very difficult goal.
 
nepto
2003-04-08 19:51

Some error_reporting() calls were added into phpMyEdit for preventing before notices reporting. Can you confirm, that these warnings do not occur anymore?
 
anonymous
2003-07-13 18:01

Same problem here!!
 
nepto
2003-07-14 01:34

Yeah, this note really helps me! :-/

Could you at least tell me what version you are using? Did error_reporting() call in core class solve this problem?
 
hbernard
2004-04-17 12:22

(I went on this when looking on #227)

this bug can be closed in two ways

1. Have a real deactivation of E_NOTICE

current PME tried to deactivate E_NOTICE, but wasn't successful.

Surprisingly, when prefixed by @, function error_reporting doesn't seem to do anything but retrieving current level.

Uploaded error_report.diff patch fixes this.

2. Fix all occurences of E_NOTICE
As you said in a note above, this is lot of work.

However, I made a ten minutes patch which is a start of such clean up. It fixes immediate notices when using basic options.
(uploaded notices.diff)
I don't think this will make PME much slower.

So, nepto, which way do you prefer ?

1. => apply patch error_report.diff, resolve this bug. PME won't care anymore about E_NOTICE
2. => apply patch notices.diff, tell PME to output E_NOTICES, keep this bug open some time to see what was missed in this patch.

because #227 is about E_Warning, it has to be handled specifically.

I got no opinions on this. Both solutions are OK for me. I'm only sure we can fix it quickly, depending on the way you want.
 
nepto
2004-04-17 13:20

I think we can simply go with [1].

It is really strange, that @ before error_reporting() makes this function do nothing...
 
nepto
2004-04-17 13:35

Simplier version commited into CVS.

Please reopen this bug-report when needed.
 

História chýb
Dátum poslednej úpravy Používateľské meno Pole Zmeniť
2003-02-12 23:36 anonymous Nová chyba
2003-02-15 20:48 anonymous Chyba monitorovaná: anonymous
2003-02-16 02:13 nepto Poznámka k chybe pridaná: 0000038
2003-02-16 02:13 nepto status nový => schválený
2003-04-08 19:51 nepto status schválený => reakcia
2003-04-08 19:51 nepto Poznámka k chybe pridaná: 0000155
2003-07-13 18:01 anonymous Poznámka k chybe pridaná: 0000317
2003-07-14 01:34 nepto Poznámka k chybe pridaná: 0000318
2004-04-16 15:09 hbernard Chyba monitorovaná: hbernard
2004-04-17 12:20 hbernard Pridaný súbor: : phpMyEdit.class.notices.php
2004-04-17 12:20 hbernard Zmazaný súbor: : phpMyEdit.class.notices.php
2004-04-17 12:21 hbernard Pridaný súbor: : notices.diff
2004-04-17 12:21 hbernard Pridaný súbor: : error_report.diff
2004-04-17 12:22 hbernard Poznámka k chybe pridaná: 0000953
2004-04-17 13:20 nepto Poznámka k chybe pridaná: 0000956
2004-04-17 13:35 nepto Poznámka k chybe pridaná: 0000958
2004-04-17 13:35 nepto handler_id => nepto
2004-04-17 13:35 nepto resolution otvorený => vyriešený
2004-04-17 13:35 nepto status reakcia => vyriešený
2006-01-23 01:46 nepto status vyriešený => uzavretý

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov