PDA

View Full Version : captchza.php doesnt work


Anonymous
06-13-2005, 09:33 AM
Hello

on my installation doesnt work captcha.php . this is the link to the site

http://links.redoptics.com/submit.php

can anyone help me ?

thank

markus

dcb
06-13-2005, 06:10 PM
Probably you don't have PHP GD extension installed. Take a look on the first page of the installer because it checks for GD.
If you do have GD installed please let me know so I can investigate this further.

buyforless
06-13-2005, 10:03 PM
Having similar problems getting new link submit code posted to prevent spamming to show at {url no longer in service}

Not sure why.???

Here is what the install first page said for me:

Requirements
PHP Version >= 4.1 ok (4.3.9)
Server API CGI mode is likely to have problems.
GD Support (for visual confirmations) ok (2.0.28)
Session Save Path writable? ok (/tmp)
MSSQL Server Support Not available.
MySQL Support ok
PostgreSQL Support Not available.
./include/config.php writable? ok
./temp writable? ok
./temp/templates writable? ok

Anonymous
06-20-2005, 10:46 AM
I have the same problem as buyforless, using 2.0 RC3.

And it show the same parameters as his, Gd support (same version), etc.

{url no longer in service}

How did you fix your site, markus?

my email is vogueboy at gmail.com

I couldn't register at this forum, confirmation mail never comes.

Thanks!

Anonymous
06-20-2005, 03:52 PM
GD is installed for me too. Probably a coding glitch somewhere for a specific version.

David
06-20-2005, 03:54 PM
Have you seen this?
{url no longer in service}

Anonymous
06-21-2005, 08:23 AM
Content visible to registered users only.

David this post says:

'This does NOT solve the issues with the visual confirmation image not showing at all.'

Still doesn't show my image, but now instead of showing nothing when I try to acess my site {url no longer in service} it says 'No Truetypefont available for the CaptchaClass'

Still not working ;(

Anonymous
06-21-2005, 01:39 PM
I run a different version of captcha on several other sites.
Checking GD Library is installed is not always reliable, you may have to check the server settings yourself.

in order for it to work it needs some additional PHP Configure Commands
something like
--with-gd --enable-gd-native-ttf --with-png --with-zlib-dir=/usr/local/lib/zlib-1.2.1 --with-ttf --with-jpeg-dir=/usr/local/lib/jpeg-6b/ --with-freetype-dir=/usr/local/lib/freetype-2.1.9/ --with-xpm-dir=/usr/X11R6/

Also found that without the GD library set to “FreeType Linkage with freetype“ we got blank images. eg {url no longer in service}

I managed to get a few hosts to recompile within a day or two, still waiting for some months later.

Anonymous
06-21-2005, 03:09 PM
I'm not having much luch getting this to work either. The odd thing is, I saw it working when I first installer. The only thing I can think of that I might have changed to "break" it was to move the scripts to the root directory.

Anonymous
06-21-2005, 06:48 PM
Paul, where do you type those commands in? I'd like to get this working soon.

Anonymous
06-22-2005, 02:35 AM
The server admin will need to make any changes.

First you need to check if this is a likely cause of the problem.
Create a php file called phpinfo.php with the following code Content visible to registered users only. and upload that to your server.

Then go to the {url no longer in service} and check if you are missing any of the complier options i posted above. (the bits with all -----) Errors saying missing function can be a sign some of these compiler options are missing. Blank images are a sign the “FreeType Linkage with freetype“ may be set to somthing else.

Compare your php config to a known working php config here {url no longer in service} If you spot you are missing the options i posted above then there is a chance, but not certain, this is the cause of the problem(presuming you’ve tried all the other things recommended previously) You then need to contact your host and ask them to fix the problem.

vogue
06-22-2005, 10:30 AM
Still no luck :cry:

David
06-22-2005, 03:44 PM
So did you compare your phpinfo to the one posted for seo-help above?
It sounds like an issue with gd.

Also, if you can make a small donation, I can get a programmer to take a look, and most likely fix it for you.