New install Captcha does not work

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
webdev
Posts: 3
Joined: Sun Oct 15, 2006 6:19 pm

New install Captcha does not work

Post by webdev »

Hello,
I am testing version 1.6.5 on a local test server running PHP5 Apache 2 + etc..
all seems to work fine
But as an user if I try to post the captcha does not show any image and related text only the image's "not found red cross" and the alt text about "follow the white rabbit"
Anything I can do?
Thanks
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have the GD extension enabled? Do you get an error then you're displaying only the broken image?

Regards
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
check the PHP GD support: currently this is the well-knwon reason for the captcha images missing. E.g. if you're running PMF on a Linux RPM based distro please check if the php-gd package is installed whilst if you're OS is Windows check in php.ini for the line extension=php_gd2.dll.

Regards,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
webdev
Posts: 3
Joined: Sun Oct 15, 2006 6:19 pm

Captcha problem

Post by webdev »

Hi all,
Thanks
I develop in PHP MySQL using that setup since quite some times and have GD on

Further no I do not have any error
if I do an image property
it leads to the index I followed it found the template, captcha and all the rest so it is not an install or missing file
strange :?:

here are the img properties
http://localhost/faqs2/index.php?action=ask&gen=img
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you get an error message if you're turning on all errors and debugging in inc/init.php?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
webdev
Posts: 3
Joined: Sun Oct 15, 2006 6:19 pm

Captcha problem

Post by webdev »

Hi
thanks for your support
Out of curiosity I restarted Apache and then it worked!
DOn't what happened, some glitch, anyway it works fine

I have another question :
Is there a way to set it up so only registered users may post
but let the whole application visible by all users?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Captcha problem

Post by Thorsten »

Hi,
webdev wrote:Is there a way to set it up so only registered users may post but let the whole application visible by all users?
just remove the link in the templates and let registered users with record write permissions in the backend.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply