|
Joined: Oct 2006
Posts: 66
journeyman
|
journeyman
Joined: Oct 2006
Posts: 66 |
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
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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.
|
|
|
|
Joined: Oct 2006
Posts: 66
journeyman
|
journeyman
Joined: Oct 2006
Posts: 66 |
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
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
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.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Oct 2006
Posts: 66
journeyman
|
journeyman
Joined: Oct 2006
Posts: 66 |
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
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
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
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
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
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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
if (function_exists(imagefttext)) {
echo "Found imagefttext()";
} else {
echo "Could not find imagefttext()";
} ?>
|
|
|
|
Joined: Oct 2006
Posts: 66
journeyman
|
journeyman
Joined: Oct 2006
Posts: 66 |
thank you all. I resolved this by using ImageMagik instead of GD...such a simple solution thanks to those who suggested this solution
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
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.
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
0 members (),
802
guests, and
186
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|