Captcha image not appearing in CPG1.5.6 Captcha image not appearing in CPG1.5.6
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Captcha image not appearing in CPG1.5.6

Started by Gryphon771, August 06, 2010, 09:00:07 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Gryphon771

My apologies if this has already been addressed, but I'm brain-fried trying to figure this out.  I upgraded to CPG 1.5.6 and everything installed just fine, but I'm not getting the Captcha image to show up in any browser (Firefox, Chrome, IE, etc.) on my registration page (http://jonerikhexum.net/register.php).

And, yes, Captcha is turned on in the Configuration page.

I've tried replacing line 83 in the codebase.php file as suggested in another forum post, but that didn't workeither.  Then I tried uninstalling the plugin and then reinstalling it, but still nada.

Any insights, recommendations, and/or fixes? 

Kelly

jolic

Hi Kelly,

I guess the captcha is not working.

Test: http://jonerikhexum.net/captcha.php

No captcha can be seen.

73 de Jo


phill104

What method are you using to resize your images? Captchas will only work if GD2 is available on your server with FreeType support enabled.
It is a mistake to think you can solve any major problems just with potatoes.

Gryphon771

Yes, I'm running GD2 to do my images.  Everything else is working just fine with the install, except for the Captcha picture not showing. 

Gryphon771

Oh yeah, I noticed that nothing is displayed on the captcha.php page.

http://www.jonerikhexum.net/captcha.php

Any insight/advise?

phill104

It is a mistake to think you can solve any major problems just with potatoes.

Joe Carver

Quote from: Gryphon771 on August 11, 2010, 11:26:09 PM
Oh yeah, I noticed that nothing is displayed on the captcha.php page.
Actually that link returns a php error....
QuoteCannot instantiate non-existent class: phpcaptcha in /home/dubos4/public_html/jonerikhexum/captcha.php on line 27

Which seems to indicate that you could be missing files in the /include/ directory.

You should upgrade to  cpg 1.5.8 and make certain to use a good FTP app that uploads/replaces all of the required files.

Gryphon771

I am running CPG 1.5.8.  Still nothing showing up on captcha.php and I checked the include folder and everything looks okay there. 


Gryphon771

Here is a copy of the phpinfo. php file and settings:

http://www.jonerikhexum.net/jeh_phpinfo.php

Freetype is enabled with GD2

Gryphon771

Oh yeah!  I fixed it.  I didn't have the 2 fonts installed on my computer.

ΑndrĂ©

Quote from: Gryphon771 on August 12, 2010, 07:02:59 PM
Oh yeah!  I fixed it.  I didn't have the 2 fonts installed on my computer.
That wasn't the real cause. Coppermine just uses the fonts to create a picture. Coppermine doesn't know nor need fonts installed fonts on the client machine.