|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[ phpldapadmin-Bugs-2048637 ] Array to string conversion (E_NOTICE)Bugs item #2048637, was opened at 2008-08-12 22:28
Message generated for change (Comment added) made by hastms You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2048637&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: Deleted Resolution: None Priority: 5 Private: No Submitted By: Artem Serebriyskiy (v-for-vandal) Assigned to: Nobody/Anonymous (nobody) Summary: Array to string conversion (E_NOTICE) Initial Comment: Mistake appear just after clicking on link that add new attribute in entry with structure objectClass:inetOrgPerson objectClass:top it throw to the page with three almost the same errors: add_attr_form.php line 27, caller cmd.php but with different lines - 27,28,31 versions are openLDAP 2.4.10 /*this is from error log*/ Versions: PLA: 1.1.0.5, PHP: 5.2.6-2, SAPI: apache2handler Web server: Apache/2.2.8 (Debian) PHP/5.2.6-2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 More exactly, OS=Debian\testing ---------------------------------------------------------------------- Comment By: HaST (hastms) Date: 2008-10-10 07:29 Message: Today I had the same error, but I discovered something. This error occurs when in php.ini the register_globals is "On". If I change it for "Off" there is no error with phpLdapAdmin. In my case I've an old app that needs the RG to be "On" :( ---------------------------------------------------------------------- Comment By: Damiano Venturin (dventurin) Date: 2008-09-02 10:05 Message: Logged In: YES user_id=1770032 Originator: NO quick and dirty fix to solve this bug: just comment these lines from /etc/apache2/conf.d/phpldapadmin/ <IfModule mod_mime.c> <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals On php_value include_path . </IfModule> <IfModule !mod_php5.c> <IfModule mod_actions.c> <IfModule mod_cgi.c> AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php5 </IfModule> <IfModule mod_cgid.c> AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php5 </IfModule> </IfModule> </IfModule> </IfModule> then restart apache Probably it's only one or two lines causing the problem, but it needs more investigation my 2 cents Damiano Venturin ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2048637&group_id=61828 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ______________________________________ phpLDAPadmin development mailing list. To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel http://phpldapadmin.sourceforge.net/ |
| Free Forum Powered by Nabble | Forum Help |