Closed (fixed)
Project:
CAPTCHA
Version:
5.x-3.0-rc2
Component:
Image Captcha (image_captcha)
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Aug 2007 at 13:22 UTC
Updated:
12 Sep 2007 at 19:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
soxofaan commentedAnd you don't even get an error message saying something about installing a TTF font or missing image library?
Can you also check the watchdog log at admin/logs/watchdog and see of there are captcha related errors?
Could you generate images with 3.0-rc1?
thanks for testing and reporting
Comment #2
SaxxIng commented<>
No... any message regards fonts or libraries!
<>
Nothing about captcha related errors
<>
Yes, 3.0-rc1 works perfectly for me (also image_captcha).
Glad to be helpeful,
Saxx
Comment #3
soxofaan commentedWhat do you mean with a blank page?
can you check the error log of your webserver/php engine?
how "clean" is your drupal install (how many non-core modules do you have enabled, do you hack modules yourself, ....)?
Comment #4
SaxxIng commentedI mean that everything is white
I'm not sure... I'm in a shared hosted on a CentOS linux machine... where should I find this informations?
Well... I've a lot of modules, but non hacked myself. The only one "strange" is localizer 1.9 (that needs a patch to some core modules). The strange thing is that 3.0-rc1 works perfectly with all this modules (localizer included). Moreover, text_captcha (in 3.0-rc2) works perfectly.
Tell me if you need some more informations or some kind of test!
Saxx
Comment #5
soxofaan commentedThat probably means the webserver/php engine is not happy with some code. An error log of the server would be handy. With some hosting solutions you have an option to disable/enable (php) error reporting. Mostly error reporting is disabled for security reasons however. Or sometimes you can download the error log through some web interface of your hosting account.
in the meantime you could try to disable modules and see if image captcha gets its settings page back.
Comment #6
SaxxIng commentedI have enabled apache/php display_error and I find this message attempting to get admin/user/captcha/image_captcha page:
Fatal error: Call to undefined function: array_combine() in /var/***/sites/all/modules/captcha/image_captcha/image_captcha.module on line 109
Is this helpful?
Saxx
P.S. I have php 4.3.9 installed on my host
Comment #7
soxofaan commentedThis is very helpful indeed. (error messages rule)
Apparently array_combine() is a PHP 5 only function. Good to know (because I use it a lot in CAPTCHA Pack).
A quick fix for you is to put this somewhere in image_captcha.module:
I'll take a look to fix it in a cleaner way.
Comment #8
soxofaan commentedpatch for avoiding array_combine() in image_captcha
Comment #9
SaxxIng commentedThanks a lot soxofaan!
Your patch (and also your workaround) works perfectly! Now captcha_5.x-30.-rc2 works perfectly and is quite a perfect module!
Great work guys,
Saxx
Comment #10
robloachExcellent.
Comment #11
(not verified) commented