Re: Captcha using TTF & GD
Quote:
Originally Posted by
a_berezin
And what you see in html source code? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code:
<html><body><img alt="The image “http://www.domain.com/shop/captcha_img.php” cannot be displayed, because it contains errors." src="http://www.domain.com/shop/captcha_img.php"></body></html>
Re: Captcha using TTF & GD
Sorry, Woody. I can't help you.
Re: Captcha using TTF & GD (on PHP5)
Anyone else have this mod working on PHP 5.x?
Anyone else having troubles running this mod on PHP 5.x?
Woody
Re: Captcha using TTF & GD
Quote:
Originally Posted by
Alik
installed the mod, however there is no image showing
there is a "re-draw" button but no image:down:
i think i found where the problem is:
SEO Urls are cusing the file to be renamed:
captcha_img.php.html?zenid=1e4a50...
it's adding the extra .html after the file ext. i'll try to find a way to remove it :lol:
Re: Captcha using TTF & GD
Quote:
Originally Posted by
Woodymon
From the look of your source it appears you may have removed a chunk out of the \\includes\templates\YOUR_TEMPLATE\templates\tpl_contact_us_default.php that comes with the mod. Try reuploading that file.
Thanks, Woody. I looked and looked and looked, and I couldn't figure it out. So I just put the whole CAPTCHA thing in <fieldset>, and it was happy.
Re: Captcha using TTF & GD (on PHP5)
Woody!
I add some debug settings to captcha_debug.php. Downlod and run it.
It's last chance.
Re: Captcha using TTF & GD (on PHP5)
Quote:
Originally Posted by
a_berezin
Woody!
I add some debug settings to captcha_debug.php. Downlod and run it.
It's last chance.
Andrew,
Thanks! Debug output displayed in browser! Will PM you output.
Woody
Re: Captcha using TTF & GD
Andrew-
Sent you a PM containing the new debug output and a few notes.
And after sending the PM I removed Session Watcher v.1.01 mod. But captcha image still does not display.
If you find anything peculiar in the captcha debug report please let me know.
Thanks again for your assist in solving this puzzle.
Woody
Re: Captcha using TTF & GD
Woody!
I see your debug output. It's fine! :thumbsup: All works normal, image generated.
Re: Captcha using TTF & GD
Quote:
Originally Posted by
a_berezin
Woody!
I see your debug output. It's fine! :thumbsup: All works normal, image generated.
The generated image does not display. That is the crux issue. Sorry if I haven't been very clear on that.
Possibly something in the header of the image or the image encoding, or issue with the method the server is delivering script output the client? Maybe http header issue?
Host just sent me a few notes on differences in the debug script output when run on the host with PHP4 vs PHP5. Not sure if the points are relevant or not. But I will gather those details and post shortly.
Woody