I installed ldap-7.x-2.x-dev on March 7, 2014 and tried to update (probably from beta8). When I called update.php, it failed with an out-of-memory error on line 290:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: https://example.com/drupal7/update.php?op=selection&token=C5MgjfwTnf_dmU... StatusText: OK ResponseText: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65488 bytes) in /usr/local/apache2/drupal7/sites/all/modules/ldap/ldap_servers/ldap_servers.install on line 290
The problem is that the function ldap_servers_db_field_exists is calling itself internally, rather than db_field_exists. I'm trying to make a patch.
Comment | File | Size | Author |
---|---|---|---|
#6 | ldap-7.x-2.x-fix-for-7108-7206-fail.patch | 1.97 KB | nicorac |
#1 | ldap-7.x-2.x-2216413-fix-for-7205-fail.patch | 595 bytes | limako |
Comments
Comment #1
limako CreditAttribution: limako commentedI've attached a patch that fixes the problem -- my first one!
Comment #2
limako CreditAttribution: limako commentedComment #3
nbooks CreditAttribution: nbooks commentedThis patch worked for me, thank you very much!
Comment #4
szume CreditAttribution: szume commentedIt worked for me too, thank you!
Comment #5
greg.harvey+1
Seems to work for enough people to warrant a R&TBC?
Comment #6
nicorac CreditAttribution: nicorac commented+1 for me too.
Since this error raises on AJAX calls within update.php, it took a lot of time to me to find the culprit (ldap_server module). Hope an update will be released soon...
There's another issue into update #7108:
should read
And another into #7206:
should read
Comment #7
johnbarclay CreditAttribution: johnbarclay commentedThanks. I committed these 2 patches.