Bug #2298
closedWarden 2.2 plní logy "Use of uninitialized value" a "is deprecated at" (při startu apache i při dotazech)
0%
Description
Příklad:
Empty compile time value given to use lib at /opt/warden-server-2.2/lib/Warden.pm line 25 defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 224. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 327. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 420. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 463. (Maybe you should just omit the defined()?)
Use of uninitialized value $priority in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225. Use of uninitialized value $timeout in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225. Use of uninitialized value $target_port in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.
Je možné, že i dalšími.
Updated by Tomáš Plesník almost 10 years ago
- Status changed from New to In Progress
Updated by Tomáš Plesník almost 10 years ago
- Status changed from In Progress to Resolved
Pavel Kácha wrote:
Příklad:
Empty compile time value given to use lib at /opt/warden-server-2.2/lib/Warden.pm line 25
Opraveno, revize 1d465184. Zpusobeno tim, ze Perlovy interpreter provadi prikaz use
pri kompilaci, kdy promenna $lib
jeste nebyla deklarovana.
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 224. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 327. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 420. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 463. (Maybe you should just omit the defined()?)
Opraveno, revize 9469e9d3. V nove verzi Perlu se naplneni hashe a pole nekontroluje pomoci (defined %hash)
, ale pomoci normalniho testu (%hash)
.
Use of uninitialized value $priority in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225. Use of uninitialized value $timeout in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225. Use of uninitialized value $target_port in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.
Opraveno, revize a525e51d. Pokud klient nechce do Wardenu odesilat nektere polozky udalosti, tak je nastavi na undef
, jelikoz jsme ale do warden-server-2.2 pridali logovani kazde prichozi udalosti, tak nam to zpusobilo problem v tisku techto neinicializovanych promennych.
Je možné, že i dalšími.
/var/log/apache2/error.log
je jiz druhy den prazdny, takze zadne dalsi hlasky jsem uz neidentifikoval.
Dekuji za nahlaseni techto "snad uz poslednich" nesvaru.
Updated by Tomáš Plesník almost 10 years ago
- Status changed from Resolved to Closed