Page 1 of 3
Catpcha not working on my FAQ page
Posted: Fri May 25, 2007 3:05 pm
by yogesh77
Catpcha not working on my FAQ page when i select "Ask question"
gd with jpeg, png, freetype support are enabled in php.
Please help
Posted: Fri May 25, 2007 3:11 pm
by Thorsten
Hi,
do you get any error messages?
bye
Thorsten
Posted: Fri May 25, 2007 3:26 pm
by yogesh77
No error messages.
A text message "Follow the white rabbit." and a box.
Posted: Fri May 25, 2007 4:49 pm
by yogesh77
PHP Version 4.4.2
Configure Command - './configure' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd' '--with-zlib-dir=/usr/local' '--with-png-dir=/usr/local/phplib' '--with-jpeg-dir=/usr/local/phplib' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/phplib' '--enable-cli'
gd installation is default bundled with php source.
Posted: Fri May 25, 2007 5:22 pm
by Thorsten
Hi,
can I access your FAQ?
bye
Thorsten
Posted: Sat May 26, 2007 1:41 pm
by yogesh77
http://askvideo.com/faq/index.php?sid=2 ... action=ask
I also test this on my local testing server, same error is there too.
Posted: Sat May 26, 2007 1:47 pm
by Thorsten
Hi,
can you please enable the DEBUG mode and access the image directly here
http://askvideo.com/faq/index.php?action=ask&gen=img
bye
Thorsten
Posted: Sat May 26, 2007 1:54 pm
by yogesh77
how to enable debug mode?

Posted: Sat May 26, 2007 1:55 pm
by Thorsten
Hi,
open in a editor inc/init.php and set the DEBUG mode to true.
bye
Thorsten
Posted: Sat May 26, 2007 2:03 pm
by yogesh77
thanks for the help so far.
I enabled debug mode

Posted: Sat May 26, 2007 2:08 pm
by Thorsten
Hi,
can you please add this line
after the DEBUG mode because I still get no errors.
bye
Thorsten
Posted: Sat May 26, 2007 2:08 pm
by yogesh77
Posted: Sat May 26, 2007 2:11 pm
by yogesh77
Yes,
line ini_set('display_errors', 1); added after debug mode line.
Now it looks like
define('DEBUG', true);
ini_set('display_errors', 1);
if (DEBUG) {
error_reporting(E_ALL);
if (defined('E_STRICT')) {
error_reporting(E_ALL & ~E_STRICT);
}
}
Posted: Sat May 26, 2007 2:14 pm
by Thorsten
Hi,
strange... do you have access to the servers error_log? Which PHP version do you use?
bye
Thorsten
Posted: Sat May 26, 2007 2:24 pm
by yogesh77