[phpldapadmin] [ phpldapadmin-Bugs-2777037 ] PHP 5.3 deprecated functions

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2777037, was opened at 2009-04-21 06:23
Message generated for change (Tracker Item Submitted) made by trashy_jo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2777037&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johan Cwiklinski (trashy_jo)
Assigned to: Nobody/Anonymous (nobody)
Summary: PHP 5.3 deprecated functions

Initial Comment:
Hello,

Some functions used in the code has been deprecated in php 5.3 (mostly ereg functions : http://wiki.php.net/doc/scratchpad/upgrade/53#deprecated).

I'm using php-5.3 RC1, and phpldapadmin 1.1.0.7 crashes with the following stacktrace :
Unrecognized error number: 8192: Function eregi() is deprecated
PHP Debug Backtrace
File	/usr/share/phpldapadmin/lib/functions.php (161)
 	Function	error (a:5:{i:0;s:63:"Unrecognized error number: 8192: Fu...<TRUNCATED>)
File	/usr/share/phpldapadmin/lib/functions.php ()
 	Function	pla_error_handler (a:5:{i:0;i:8192;i:1;s:30:"Function eregi() is depr...<TRUNCATED>)
File	/usr/share/phpldapadmin/lib/hooks.php (171)
 	Function	eregi
File	/usr/share/phpldapadmin/lib/common.php (138)
 	Function	require_once (a:1:{i:0;s:37:"/usr/share/phpldapadmin/lib/hooks.p...<TRUNCATED>)
File	/usr/share/phpldapadmin/htdocs/common.php (11)
 	Function	require_once (a:1:{i:0;s:38:"/usr/share/phpldapadmin/lib/common....<TRUNCATED>)
File	/usr/share/phpldapadmin/htdocs/cmd.php (8)
 	Function	require_once (a:1:{i:0;s:41:"/usr/share/phpldapadmin/htdocs/comm...<TRUNCATED>)

Hope that'll be helpfull :-)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2777037&group_id=61828

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.