[phpldapadmin] [ phpldapadmin-Bugs-2805507 ] Wrong memory limit checking

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2805507, was opened at 2009-06-13 01:13
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2805507&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: 1.1.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: a b (manbash)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong memory limit checking

Initial Comment:
1. phpLDAPadmin: 1.1.0.5
2. Your LDAP server
3. Your web server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.3.0RC2 configured
4. PHP: 5.3.0RC2
5. Your operating system: Debian 5.0.1

If memory_limit directive setting is -1 you cannot use phpldapadmin. Always get the error "Memory Limit low. Your php memory limit is low - currently -1.

This line (336)  in lib/funtions.php:

if (ini_get('memory_limit') < $config->GetValue('session','memorylimit'))

should be:

if (ini_get('memory_limit') > -1 && ini_get('memory_limit') < $config->GetValue('session','memorylimit'))


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

>Comment By: Deon George (wurley)
Date: 2009-06-13 01:44

Message:
Thanks for the update. I've applied this to CVS, and it will be available
in the 1.2 release.

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

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
______________________________________
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.