Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Dj Aero, capnbob, Morgan, id242), 46 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/12/04
Posts: 154
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#181293 - 03/22/07 08:23 AM Captcha with GD2
Sagar Offline
journeyman
Registered: 10/09/06
Posts: 73
I see GD2 as enabled in my phpinfo, but when I go to Registration Settings for enabling Captcha Settings, it says

"It appears you do not have access to GD2 or Imagemagick."

and there is no option to "Enable" Captcha?

help please \:\)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#181298 - 03/22/07 11:07 AM Re: Captcha with GD2 [Re: Sagar]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
In order to use GD2, PHP will also need to support freetype, as these two work together. If you're on a hosted server you can see if your host can enable this. The other option is to use ImageMagick. If you have ssh access to the server, you can install this yourself, even if you don't have root access.
Top
#181299 - 03/22/07 11:26 AM Re: Captcha with GD2 [Re: Rick]
Sagar Offline
journeyman
Registered: 10/09/06
Posts: 73
Rick, Free Type is already enabled. I am already using GD w/o issues for Gallery and VBulletin.

Here are the GD info:

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Top
#181302 - 03/22/07 11:57 AM Re: Captcha with GD2 [Re: Sagar]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
You actually need GD2 and FreeType,
they normally come bundled as one, you can also see that
information via your php.info ;\)

Hope that helps.

I didn't have FreeType and went the imagemagick v6 Route.
I think it was version 6.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#181329 - 03/22/07 03:06 PM Re: Captcha with GD2 [Re: Mark S]
Sagar Offline
journeyman
Registered: 10/09/06
Posts: 73
Thanks Mark,

But As I mentioned in the thread above, I already have GD2+FreeType but still Captcha is not enabled.

One the same account, I am using VB + Captcha w/o any issues
Top
#181330 - 03/22/07 03:12 PM Re: Captcha with GD2 [Re: Sagar]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
I don't know if this is connected but what about Convert and Mogrify?

CP / DB, Paths & URLs / Paths & URLs / ImageMagick Settings

Path to Convert: /usr/bin/convert
Path to Mogrify: /usr/bin/mogrify
Top
#181331 - 03/22/07 03:14 PM Re: Captcha with GD2 [Re: Sagar]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Sorry missed that,

Its over my head, sorry i cant help any more.

What you may consider is a Support Ticket
as it doesn't sound like its the norm what's happening.

Mark
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#181335 - 03/22/07 04:36 PM Re: Captcha with GD2 [Re: Mark S]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Basically it looks for the imagefttext() function before it gives the option to use GD2 for CAPTCHA. Is PHP compiled with freetype support? You can see some notes on the function at the link I gave.

It could be this portion: FreeType Linkage with TTF library as that appears to be using the Truetype font library and not the freetype library. I'm not sure if that makes the function unavailable to php or not.

To verify if the function exists, you can make a quick php script:

 PHP:

<?php

if (function_exists(imagefttext)) {
   echo "Found imagefttext()";
} else {
   echo "Could not find imagefttext()";
} // end if

?>

Top
#182019 - 04/04/07 09:35 AM Re: Captcha with GD2 [Re: Rick]
Sagar Offline
journeyman
Registered: 10/09/06
Posts: 73
thank you all. I resolved this by using ImageMagik instead of GD...such a simple solution ;\) thanks to those who suggested this solution \:\)
Top
#182031 - 04/04/07 05:21 PM Re: Captcha with GD2 [Re: Sagar]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Glad to hear you got it up and running. There is a large benefit to using ImageMagick, it has a larger color depth, so users who have trouble seeing the images will be able to see them easier.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image