Bug 662363 - Undefined variable: result (E_NOTICE)
Summary: Undefined variable: result (E_NOTICE)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: phpldapadmin
Version: 14
Hardware: Unspecified
OS: Unspecified
low
urgent
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-12 02:44 UTC by Michael
Modified: 2010-12-13 14:51 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-13 14:51:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael 2010-12-12 02:44:23 UTC
I get this message on an attempt to login:

You found a non-fatal phpLDAPadmin bug!
Error:	Undefined variable: result (E_NOTICE)
File:	ds_ldap.php line 488, caller cmd.php
Versions:	PLA: 1.2.0.5, PHP: 5.3.3, SAPI: apache2handler
Web server:	Apache/2.2.17 (Fedora)

Comment 1 Michael 2010-12-12 12:55:59 UTC
in addition:

You found a non-fatal phpLDAPadmin bug!
Error:	Undefined variable: request (E_NOTICE)
File:	rdelete.php line 66, caller cmd.php
Versions:	PLA: 1.2.0.5, PHP: 5.3.3, SAPI: apache2handler
Web server:	Apache/2.2.17 (Fedora)

Comment 2 Dmitry Butskoy 2010-12-13 14:51:46 UTC
It is something related to the coding style.

The default php config uses "error_reporting = E_ALL & ~E_NOTICE", whereas the production distributions (as well as Fedora) use "E_ALL & ~E_DEPRECATED" instead.

It seems you should add the "& ~E_NOTICE" to your /etc/php.ini to avoid such messages.


Reported upstream:
https://sourceforge.net/tracker/?func=detail&aid=3136564&group_id=61828&atid=498546


Note You need to log in before you can comment on or make changes to this bug.