coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Gryphon771 on August 06, 2010, 09:00:07 PM

Title: Captcha image not appearing in CPG1.5.6
Post by: Gryphon771 on August 06, 2010, 09:00:07 PM
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
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: jolic on August 09, 2010, 12:13:11 PM
Hi Kelly,

I guess the captcha is not working.

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

No captcha can be seen.

73 de Jo

Title: Re: Captcha image not appearing in CPG1.5.6
Post by: phill104 on August 09, 2010, 08:31:05 PM
What method are you using to resize your images? Captchas will only work if GD2 is available on your server with FreeType support enabled.
Title: Re: Captcha image not appearing in CPG1.5.8
Post by: Gryphon771 on August 11, 2010, 11:21:23 PM
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. 
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: Gryphon771 on August 11, 2010, 11:26:09 PM
Oh yeah, I noticed that nothing is displayed on the captcha.php page.

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

Any insight/advise?
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: phill104 on August 12, 2010, 12:01:10 AM
Is freetype support enabled in php?
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: Joe Carver on August 12, 2010, 12:04:01 AM
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.
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: Gryphon771 on August 12, 2010, 03:49:13 PM
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. 

Title: Re: Captcha image not appearing in CPG1.5.6
Post by: Gryphon771 on August 12, 2010, 03:56:11 PM
Here is a copy of the phpinfo. php file and settings:

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

Freetype is enabled with GD2
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: 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.
Title: Re: Captcha image not appearing in CPG1.5.6
Post by: ΑndrĂ© on September 03, 2010, 10:46:49 AM
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.