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.
Warning: Call-time pass-by-reference has been deprecated in /home/cyberfan/htdocs/sites/all/modules/captcha/captcha.install on line 306
on update... any ideas?
Comments
Comment #1
AntiNSA CreditAttribution: AntiNSA commentedalso get this when trying to update
warning: Cannot modify header information - headers already sent by (output started at /home/cyberfan/htdocs/sites/all/modules/captcha/captcha.install:306) in /home/cyberfan/htdocs/includes/common.inc on line 148.
Comment #2
soxofaan CreditAttribution: soxofaan commentedThis one should fix this: http://drupal.org/cvs?commit=387570
Did the update succeed apart from the error message?
to be ported to Drupal 7 version
Comment #3
travisnapoleansmith CreditAttribution: travisnapoleansmith commentedThis should be fixed and released as a RTM immediately. I updated the software because of a security issue and it has caused my site to not work. ALL MODULES should be testing in both PHP 4 and 5. This release should not have been released because it totally does not work on any system using PHP 5. When someone downloads this module for any Drupal site using PHP 5 it will not work because of this. With this message a user cannot uninstall it and is not good development practice.
Please make sure to test in both PHP 4 and 5 before an RTM. This should not have been in the RTM of this module!
Comment #4
travisnapoleansmith CreditAttribution: travisnapoleansmith commentedIt was in the captcha.install file and was on line 306. Removed the reference symbol on the function call db_add_column.
Comment #5
travisnapoleansmith CreditAttribution: travisnapoleansmith commentedJust updated version to 6.x-2.3-rc1
Comment #6
soxofaan CreditAttribution: soxofaan commentedPlease don't over-exaggerate: the bug is only in the upgrade path to CAPTCHA 6.x-2.3-RC1, so a non-upgrade install does not suffer from it. The release description of 6.x-2.3-RC1 also clearly states that and why it lacked broad testing, and that it should not be used blindly on production sites.
Anyway, the fix is now included in the freshly released CAPTCHA 6.x-2.3-rc2.
Still to be ported to D7, when #810534: Fix CAPTCHA session reuse is ported.
Comment #7
soxofaan CreditAttribution: soxofaan commentedFixed for D7 too:
http://drupal.org/cvs?commit=470426