|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
When I turn CAPCHA on I get the red x for a missing image. Is CAPCHA working?
Thanks
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
what path did you set for the convert and mogrify? Are you pointing it to the bianary
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
I get the red x for a few seconds then the characters appears. Where to you set this "convert and mogrify" path thingy?
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
control panel--> paths and urls. should be set to /usr/bin/mogrify and /usr/bin/convert
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
There are a couple of ways to test if it's working as well, if you're logged in as an admin.
If you're using ImageMagick, then you'd use
ubbthreads.php?ubb=captcha&test=1&type=im
If you're using GD2, then you'd use
ubbthreads.php?ubb=captcha&test=1&type=gd
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
I think when 7.1 is finalized we really need to let people know to set their paths for ImageMagick lol... Perhaps have the steps in the upgrade.php file?
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
is "convert and mogrify" the actual name or are people just mis typing the name?
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
cool names arent they 
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
There are a couple of ways to test if it's working as well, if you're logged in as an admin.
If you're using ImageMagick, then you'd use
ubbthreads.php?ubb=captcha&test=1&type=im
If you're using GD2, then you'd use
ubbthreads.php?ubb=captcha&test=1&type=gd OK, Mogrify? Ok, so I'm old  That is a new word. I saw the GD2 in the drop down. That was the only choice beside disable so I clicked that. Where do I put this? ubbthreads.php?ubb=captcha&test=1&type=gd Wow do I feel old and helpless 
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
Morgify and convert are named by the creators of ImageMagick; before them they weren't tools.
As for where you put it, load up your forum, replace ubbthreads.php and everything after it (in your address bar) with that provided above.
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
Morgify and convert are named by the creators of ImageMagick; before them they weren't tools.
As for where you put it, load up your forum, replace ubbthreads.php and everything after it (in your address bar) with that provided above. Yes, I did that and a blank page each time. I do not think I have ImageMagick but I see CAPTCHA in my images directory. What do I do now?
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
When I put Where do I put this? ubbthreads.php?ubb=captcha&test=1&type=gd in the address bar I get the following error
<br /> <b>Fatal error</b>: Call to undefined function: imagegif() in <b>/home/virtual/site3/fst/var/www/html/libs/captcha.inc.php</b> on line <b>263</b><br />
I see a captcha folder in my images directory. What am I missing (again)?
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
ImageMagick does not come *standard* on servers; if you're in a shared hosting environment, make sure the path to mortify and convert are set properly (in your paths section of your control panel). If it isn't installed, your webhost will need to install it for you. GD itself has to be compiled into PHP; again, if your webhost does not have this you'll have to have them install it for you. You can see if it is installed by creating a phpinfo page: phpinfo.php: Look for a heading of "GD" and post the result; if you don't see one, then it isn't installed.
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
The reason I get the red X before the image loads is that the source code reads "/images/blank.gif" and there isn't a blank.gif in that directory. When I put one in there it solves it.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Will get that fixed for the next beta ScriptKeeper.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Between ImageMagick and GD2, is there a preferred tool?
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
ImageMagick seems to have the most flexibility and available options. For example, the slight blurring that's done to the images takes quite a bit of work in GD2, while in ImageMagick it's very simple.
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
ImageMagick does not come *standard* on servers; if you're in a shared hosting environment, make sure the path to mortify and convert are set properly (in your paths section of your control panel). If it isn't installed, your webhost will need to install it for you. GD itself has to be compiled into PHP; again, if your webhost does not have this you'll have to have them install it for you. You can see if it is installed by creating a phpinfo page: phpinfo.php: Look for a heading of "GD" and post the result; if you don't see one, then it isn't installed. I maintain 2 dedicated servers. I understand that ImageMagick is on the server. Thanks for all your help and suggestions. Another challenge 
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
The reason I get the red X before the image loads is that the source code reads "/images/blank.gif" and there isn't a blank.gif in that directory. When I put one in there it solves it. Thanks..I will try that
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
BTW, between ImageMagick and GD, I totally prefer and recommend ImageMagick (in fact, ImageMagick was my request when i finally got Rick to say he'd integrate a CAPTCHA)
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
The reason I get the red X before the image loads is that the source code reads "/images/blank.gif" and there isn't a blank.gif in that directory. When I put one in there it solves it. Thanks..I will try that That didn't work. same problem
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
Well, afaik, if you enter the test urls in and they come up blank, it means that the server you're attempting either isn't installed or it isn't working right.
Which would mean that either the path to your imagemagick binaries isn't properly set, that it isn't installled, or something is broken. For GD it means that PHP wasn't compiled with GD Support (if it was installed via yum then you may need to download the appropriate module).
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
Well, afaik, if you enter the test urls in and they come up blank, it means that the server you're attempting either isn't installed or it isn't working right.
Which would mean that either the path to your imagemagick binaries isn't properly set, that it isn't installled, or something is broken. For GD it means that PHP wasn't compiled with GD Support (if it was installed via yum then you may need to download the appropriate module). I am told the imagemagik is installed, that the paths that were suggested above are correct. I am very confused
|
|
|
|
Joined: Oct 2006
Posts: 128
member
|
member
Joined: Oct 2006
Posts: 128 |
Godaddy asks me if its Image Magick version 5 or 6...does it matter?
Last edited by tonto69; 01/20/2007 10:24 AM.
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
Larry what Paths to IM do you have set?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
If your on a linux box, normally the paths to convert and mogrify will either be /usr/bin or /usr/local/bin
If you have ssh/telnet access to the server you can find out the path by typing 'which convert'
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
There are a couple of ways to test if it's working as well, if you're logged in as an admin.
If you're using ImageMagick, then you'd use
ubbthreads.php?ubb=captcha&test=1&type=im
If you're using GD2, then you'd use
ubbthreads.php?ubb=captcha&test=1&type=gd I'm having a nightmare day / night now.... Ive ran both the commands above and all i get is blank white screen for either. In the control pannel / forums settings / Forum Permissions "It doesn't appear you have GD2 or Imagemagick available. " I have GD2 when i phpinfo() GD Support enabled GD Version bundled (2.0.28 compatible) GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Paths only listed the image shack stuff, i'm mentioning that as its been a pain this upgrade. Topic click Me
Last edited by Mark S; 01/20/2007 1:28 PM.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
Larry what Paths to IM do you have set? The default ones and they are correct. I have a linux box I have image magick 5.56 and GD2 2.015 neither works. I get a blank white screen when checking the url's you give to test
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
Question...safe mode and globals ... should they be turned on or off?
|
|
|
|
Joined: Jun 2006
Posts: 1,344
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
I think you need imagemagick 6 for this.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Larry, In order to use ImageMagick you'll need to have ImageMagick 6 installed. Imagemagick 5 does not support enough of the needed functions.
Looking back at the error you posted earlier:
Call to undefined function: imagegif()
It doesn't look like your PHP is compiled with the gif options. The easiest would probably be to upgrade your imagemagick to version 6.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Mark. You'll need to check and see if you have truetype support compiled into PHP as well. Basically, for GD2 you need: GD2, truetype support and the gif extensions. Or you can install ImageMagick6.
|
|
|
|
Joined: Jun 2006
Posts: 16,378 Likes: 129
|
Joined: Jun 2006
Posts: 16,378 Likes: 129 |
I much prefer IM, everything looks a lot better. Also, someone sad that you could get precompiled binaries for it (as to instlal it as a user vs root on the machine) but I don't know that forcertain (as I compile my own utilities).
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Yes, you don't actually need root privileges on the server in order to install it, just shell level access.
|
|
|
|
Joined: Sep 2006
Posts: 171 Likes: 1
Member
|
Member
Joined: Sep 2006
Posts: 171 Likes: 1 |
Larry, In order to use ImageMagick you'll need to have ImageMagick 6 installed. Imagemagick 5 does not support enough of the needed functions.
Looking back at the error you posted earlier:
Call to undefined function: imagegif()
It doesn't look like your PHP is compiled with the gif options. The easiest would probably be to upgrade your imagemagick to version 6. Thanks Rick We are doingthat. Question, did we miss this in the install instructions?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
All of this wasn't in the original 7.0 version so when you installed, there would have been no mention of it. Will probably need to do some type of brief doc for those upgrading to this version and want to take advantage of the captcha feature.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I have convert in /usr/bin
-rwxr-xr-x 1 root root 13492 Aug 24 08:25 convert
How do I know if I have ImageMagick or GD2 installed ?
I don't see any executable like that in my bin folder
.
Last edited by ntdoc; 01/20/2007 7:51 PM.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
If you have convert then you can find out which version of convert you have just by running 'convert -version'. That will tell you the version you have.
As for if you have GD2 installed, and truetype, gif, etc. Those you'd need to look at your phpinfo() and you'll get the details in there. GD2 will have it's own section, tyuetype should be in with the compile options I believe.
|
|
|
1 members (Gizmo),
103
guests, and
103
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|