Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A vital module for me, so thanks very much. However, when I attempt to activate CAPTCHA in a Drupal 6.2 install I get the following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 216000 bytes) in /home/swocorg/public_html/seattle2011_test/includes/database.mysql-common.inc on line 41
line 41 is as follows:
$query = preg_replace_callback(DB_QUERY_REGEXP, '_db_query_callback', $query);
If I up php.ini memory from 32 to 128 I still get this error.
If I ignore it then cron crashes with this error:
Fatal error: Cannot redeclare n() (previously declared in /home/swocorg/public_html/seattle2011_test/includes/common.inc(1537) : eval()'d code:6) in /home/swocorg/public_html/seattle2011_test/includes/common.inc(1537) : eval()'d code on line 16
So completely unusable for me, though I never had any issues with this awesome module in Drupal 5. Your help would be greatly appreciated.
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commentedFrom the error messages you cited it is doubtable that the CAPTCHA module is the real reason of your problem, as there is no link to CAPTCHA module code.
If you get a "allowed memory size ... exhausted" error, you typically have more modules enabled than your Drupal/PHP setup can support. Please disable first some other modules and then try to install the CAPTCHA module again to see if the CAPTCHA module is really the culprit.
Comment #2
grantkrugerThere are only a few modules added so this did not occur to me, but you are correct. This is not a captcha issue at all. I knew sticking to Drupal 5 was the best idea. This is an inexplicable error that may be related to one of the beta modules. Sorry to trouble you.
Comment #3
naveenvalecha