Sorry - please I am posting this here in case you have any answers, since you started with D6 to D7 code.
Please see https://www.drupal.org/node/2491227

I have an issue with an old D6 ldap_integration where I have many group mappings on a ldapserver - 718 entries are currently in the "Mapping of LDAP groups to Drupal roles:" and has been working fine for years.

Once we add about 48 more entries, it saves without any errors, but when re-edited the field is blank! Also get the error:

warning: Invalid argument supplied for foreach() in ....\sites\all\modules\ldap_integration\ldapgroups.admin.inc on line 177.

I have looked at code but there is no obvious limit on number of lines for the textarea. Please has anyone got any ideas? Is this also in D7 too? Thanks

Comments

zeezhao’s picture

I did a "wc --bytes" on raw file and data from database field. It looks like it has hit the MySql limit for text, which is 65535 bytes So will have to rethink solution or try "mediumtext" for the column.

grahl’s picture

Status: Active » Closed (outdated)

This is not applicable to the current code base, closing.