Hello,
Could you help me to sort out one of the problem, is when I try to use "imagecaptcha" by PHP 5 it does not show any captcha images, only working if I'm using PHP4.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | shot00349.jpg | 37.08 KB | PaV@drupal.ru |
Hello,
Could you help me to sort out one of the problem, is when I try to use "imagecaptcha" by PHP 5 it does not show any captcha images, only working if I'm using PHP4.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | shot00349.jpg | 37.08 KB | PaV@drupal.ru |
Comments
Comment #1
soxofaan commentedwhat happens if you request the image URL directly (right click on the alt text and choose something like "open image" or "view image", depending on your browser)?
Are there any related messages at Administer > Reports > Recent log entries ?
Comment #2
PaV@drupal.ru commentedView image -> blank page
Recent log don't have related entries
Comment #3
soxofaan commentedCan you try with different browsers?
And if you are familiar with the "wget" tool (Linux, OS X): what's its feedback when requesting an image?
Comment #4
PaV@drupal.ru commentedff3 - alt text (blank page)
ie6 - image with red cross
all this unworked if in my hosting's control panel selected method "php assigned by PHP 5"
else "php assigned by PHP 4" all works!
Comment #5
soxofaan commentedis that on a live site? can you provide the URL?
(if you don't want to post the link in the open, send it through my contact page at http://drupal.org/user/41478/contact)
Comment #6
PaV@drupal.ru commentedjes
http://www.ural-sib.org/
pull "refresh page" until apperas Image captcha on login form
Comment #7
soxofaan commentedthere is something wrong with the URL of the CAPTCHA images on your site
on your site, the URLs are like
image_captcha/%252F1237759178while with CAPTCHA 6.x-2.x, the URLs should be like
image_captcha/23432/1237759178.This is the code that generates the image URL (image_captcha.module line 156):
Any idea why this does not work on your PHP5 setup?
it works fine on my PHP 5.2.5 setup.
Comment #8
PaV@drupal.ru commentedhmm....
ff3
Comment #9
soxofaan commentedthat's weird I get the following kind of stuff
< img src="/eo/image_captcha/%252F1237803895" alt="Image CAPTCHA" title="Image CAPTCHA" / >(firefox 3, both on linux and mac)
Comment #10
pavlowsk commentedHi, soxofaan!
I'm admin of the server where is locating http://www.ural-sib.org/.
My customer have a great problem with the captcha, the captcha doesnt show any information then we are using php 5.x.x., but it's working fine with php 4, I'm no idea whats going on, and also did check configuration of php 5, everything is fine, but captcha still doesnt work :(
May be you've got any ideat to sort it out, please?
THA
Sergey
Comment #11
soxofaan commentedwhat's the precise version of PHP?
Can you try if CAPTCHA 6.x-1.0-rc2 works? (you'll have to uninstall CAPTCHA 6.x-2.0-beta2 first)
Comment #12
PaV@drupal.ru commentedsoxofaan, both version (6.x-1.0-rc2,6.x-2.0-beta2) worked if selected built-in font :(
Comment #13
soxofaan commentedSo the problem lies in the TTF support of your PHP setup.
can you check if your version of PHP5 supports TTF (a phpinfo page should contain some references to "ttf")
Comment #14
PaV@drupal.ru commentedsoxofaan, it's work, thanks
You can adding check (ttf-works) in the module on the future?
Comment #15
pavlowsk commentedsoxofaan,
Hi,
Everything is working now, thanks for sort it out. I even did't know that php5 does't support ttf by default.
Cheers mate!!!!
THA
With my best regards, Sergey
Comment #16
soxofaan commentedThere is such functionality in the module already:
If there is no TTF support, you can't select the image CAPTCHA challenge from the UI.
But as far as I understand: you first configured the CAPTCHA settings under PHP with TTF support and then switched to PHP without TTF support. This is of course a bit of an exotic use case.
Comment #17
soxofaan commentedhttp://drupal.org/cvs?commit=196938