Topic: Help! Captcha image not showing

I have had reported from someone who was trying to resgister that they could not see the captcha. I tried myself and they are correct.

I am not sure when this problem started but it seems very strange as I have previously had people register.

Where the captcha usually is it states

"captcha image. turn pictures on to see it"

What does this mean?

I checked the forum and I found one person had it where the permission was set wrong - this is not the case on my forum.

If anyone can help that would be really great!

Thanks

Olly

PS - this is the official Pun_antispam extension

Thanks

Re: Help! Captcha image not showing

Maybe is incorrect-tuned broser - like disabled images?
Or something like adblock that deleted ads-images.

Re: Help! Captcha image not showing

Hi

Thanks for the reply.

Can you see the image ok then?

Thanks

Re: Help! Captcha image not showing

Also I have tried in multiple browsers and it seems the same

Re: Help! Captcha image not showing

ollyno1uk wrote:

Also I have tried in multiple browsers and it seems the same

Send me a link to forum where i can see a problem.

Re: Help! Captcha image not showing

Thanks again

http://forums.ollysguitar.com/register/

I have temporarily turned ON the captcha but I will be looking at turning it off again until I find a resolution as no new members can sign up!

Re: Help! Captcha image not showing

ollyno1uk, check webserver error logs. Problem on server-side, seems to be in PHP.

Re: Help! Captcha image not showing

I'm looking in my error log and even after refreshing the page there are no errors that I can see.


How are you telling that it is a possible php error?

Thanks a lot for helping

Re: Help! Captcha image not showing

Yes, its probably 99% php error.

10

Re: Help! Captcha image not showing

Try to reinstall the captcha extension (and check whether it's the newest version).

Eraversum - scifi browser-based online webgame

Re: Help! Captcha image not showing

I have contacted my host as I have not changed anything php and I see someone did sign up on the 22nd January so it must have worked then!

I reinstalled the latest version but no luck.

I am stuck for where to look from here, or how to diagnose further

Re: Help! Captcha image not showing

Show me a error log from webserver.

Re: Help! Captcha image not showing

Ok, here are some recent lines from it - of course I loaded up the register page before I did it - and the errors that are here are some that I know of - not relevant to this issue

[Thu Mar 10 16:44:02 2011] [error] [client 68.68.64.119] Directory index forbidden by Options directive: /var/www/vhosts/ollysguitar.com/httpdocs/images/, referer: http://www.ollysguitar.com/instruments-accessories-guitars-c-43_118.html
[Thu Mar 10 16:44:02 2011] [error] [client 68.68.64.119] Directory index forbidden by Options directive: /var/www/vhosts/ollysguitar.com/httpdocs/images/
[Thu Mar 10 16:46:41 2011] [error] [client 68.68.64.119] Directory index forbidden by Options directive: /var/www/vhosts/ollysguitar.com/httpdocs/images/, referer: http://www.ollysguitar.com/instruments-accessories-guitars-c-43_118.html
[Thu Mar 10 16:46:41 2011] [error] [client 68.68.64.119] Directory index forbidden by Options directive: /var/www/vhosts/ollysguitar.com/httpdocs/images/
[Thu Mar 10 17:03:03 2011] [error] [client 124.115.6.20] File does not exist: /var/www/vhosts/ollysguitar.com/httpdocs/GeneralObject]&loc=[object location]&context=[object GeneralObject]&mmm_fo=1, referer: http://www.ollysguitar.com/GeneralObject]&loc=%5Bobject%20location%5D&context=%5Bobject%20GeneralObject%5D&mmm_fo=1
[Thu Mar 10 17:03:04 2011] [error] [client 124.115.6.20] File does not exist: /var/www/vhosts/ollysguitar.com/httpdocs/GeneralObject]&loc=[object location]&context=[object GeneralObject]&mmm_fo=1, referer: http://www.ollysguitar.com/GeneralObject]&loc=%5Bobject%20location%5D&context=%5Bobject%20GeneralObject%5D&mmm_fo=1
[Thu Mar 10 17:06:18 2011] [error] [client 78.160.92.178] Directory index forbidden by Options directive: /var/www/vhosts/ollysguitar.com/httpdocs/images/, referer: http://www.ollysguitar.com/music-tuition-books-c-39.html
[Thu Mar 10 17:09:09 2011] [error] [client 86.155.234.109] Directory index forbidden by Options directive: /var/www/vhosts/ollysguitar.com/httpdocs/images/, referer: http://www.ollysguitar.com/instruments-accessories-guitars-c-43_118.html
[Thu Mar 10 17:11:21 2011] [error] [client 86.155.234.109] File does not exist: /var/www/vhosts/ollysguitar.com/httpdocs/images/button_watch_video.png, referer: http://www.ollysguitar.com/ibanez-js100-satriani-signature-electric-guitar-black-p-516924.html
[Thu Mar 10 17:11:37 2011] [error] [client 82.51.191.156] File does not exist: /var/www/vhosts/ollysguitar.com/httpdocs/cse, referer: http://www.ollysguitar.com/raimundo-classical-guitar-p-291048.html 

14 (edited by dimkalinux 2011-03-10 17:44)

Re: Help! Captcha image not showing

1) Check that all dirs in extension directory (extensions/pun_antispam) have valid rights.
2) Check that your PHP have GD support - go to forum admin panel and click PHP - show info.

http://pic.lg.ua/x/3/25bdbb/md_0599d40d.png

Re: Help! Captcha image not showing

All directories  have 755 and files 644

I have the GD the same as you however I don't appear to the have the bottom box

Re: Help! Captcha image not showing

If you have SSH access to hosting try run image.php from console - php ./image.php in ext dir.

Re: Help! Captcha image not showing

I do have access to ssh (using putty) but I am not sure what "in ext dir" means?

Thanks so much for continuing to help

18

Re: Help! Captcha image not showing

It means in extension directory ./extensions/punbb_antispam/  wink

Eraversum - scifi browser-based online webgame

Re: Help! Captcha image not showing

Of course - I feel a it silly now!

Here I get some error

[root@server2 ~]# php /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/image.php
PHP Warning:  Failed to load GD Font file gdfonts/caveman.gdf  in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 599

Warning: Failed to load GD Font file gdfonts/caveman.gdf  in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 599
PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 722

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 722
PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 723

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 723
PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 724

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 724
PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 725

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 725
PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 726

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 726
PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 731

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php:599) in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/securimage.php on line 731
ÿØÿàJFIFÿþ;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90
ÿÛC
ÿÛC
ÿ-¹"ÿÄ

ÿĵ}!1AQa"q2#B±ÁRÑð$3br
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz

¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ

ÿĵw!1AQaq"B¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz

¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚâãäåæçèéêòóôõö÷øùúÿÚ
?ýS¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(¢(ÿÙ[root@server2 ~]PuTTYTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY

20 (edited by dimkalinux 2011-03-10 18:56)

Re: Help! Captcha image not showing

Ok.

Run this command from ext dir. First go to ext dir.

cd /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/extensions/pun_antispam/
php ./image.php

21 (edited by dimkalinux 2011-03-10 19:02)

Re: Help! Captcha image not showing

Ok i found error.

In some of your php-scripts (not captcha), maybe ext maybe u modify lang-files - it produce 1 empty line - and its broke captcha image.

http://pic.lg.ua/x/2/858c59/md_04f65321.png

Re: Help! Captcha image not showing

Thanks for the help. I have found the issue albeit a little worrying.

I checked through files to see if any had been modified and I found .htaccess in the extension directory had been on 24th January

Somehow it had this in it

php_value auto_prepend_file /tmp/25454b22bf39c75795851f39d5e347c4

No idea what this is but it is not good how someone could have done it!