 |
 |
 |
 |
Registered: 06/12/06
Posts: 515
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#205912 - 02/03/08 12:28 PM
Re: captcha image problems
[Re: Gizmo]
|
stranger
|
Registered: 12/28/03
Posts: 15
Loc: Bakersfield, Ca
|
|
Looks like I'm in a similar boat here. Running Apache2, Php5. I have both GD2 and imagemagick installed. though with the captcha option under registration settings the system will only allow the imagemagic. it does not give the gd2 option as the gallery settings do. Gallery graphics are working fine, but captcha at registration is showing a red x graphic. I can load the graphics manually ie http://www blah blah/images/captcha blah just fine. I'm thinking it's in php? I tried installing webalizer and at the very end it pop'd up with an error "Recompile GD with USE="png" So anyone got any ideas what I may need to do here? How would I recompile php ??
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#206159 - 02/08/08 02:03 AM
Re: captcha image problems
[Re: Gizmo]
|
stranger
|
Registered: 12/28/03
Posts: 15
Loc: Bakersfield, Ca
|
|
Ok, welp. Just so it's here for anyone else that has this problem. So Far this is where I'm at. Hopefully with a little help someone will spot the last little probelm and point the way to the magic light. Problem: Jpeg support not compiled into ImageMagic Gentoo System, Installed ImageMagic via the portage tree with default settings. Solution (partial) so far Download libjpeg-6b from http://www.imagemagick.org/download/delegates/./configure make make install Unmerge via portage ImageMagick. Copy ImageMagick (latest editon) from the portage/bin directory to a temp directory, bunzip it, untar it. ./configure -with-jpg -with whatever else you want in there, (Read the install-unix-txt file in the Image Magic directory you just untar'd) make make install http://www. Your website/forums/ ubbthreads.php?ubb=captcha&t=im&test=1 to test and I get an even larger error msg than when I started. All of it saying basically it doesn't know how to deal with .ttf files. PHP error: convert: FreeType library is not available Downloaded and installed the freetype-2.3.5 delegate tried the whole thing again... Still no freetype. Any Ideas???
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#206198 - 02/08/08 11:55 PM
Re: captcha image problems
[Re: Rick]
|
stranger
|
Registered: 12/28/03
Posts: 15
Loc: Bakersfield, Ca
|
|
Solved: Ok, Just so it's down somewhere for others that find themselves with this problem Heres, what I ended up doing to solve the problem. Problem, Jpg not supported by default install of imagemagick via gentoos' portage system. Tryed, unmerging imagemagick and manually installing, with mixed results, see above. Solution. /etc/make.conf add jpeg to the use flags emerge imagemagick with the new added use flag of jpeg and the default installation works like a champ. Its' always something simple that eludes us. Gentoo linux uses what they call a portage tree, like rpm's and such. Pretty clean system, emerge package and it installs the program with little fuss. adds whatever it needs to make things work the way they should. Well For the most part anyway  In this case I added jpeg to the global USE flag list so that jpeg support would get compiled in with the program when I emerged it into the system. Problem solved. Thanks for the help guys.... Just as an aside, whatever happened to the UNIX, MYSQL and PHP forums we used to have on the old w3t board? they really helped people like me that can get in and work on things, but just don't have the 20+ years working with unix like we do with dos and windows.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#227348 - 06/24/09 02:48 PM
Re: captcha image problems
[Re: Ruben]
|
addict
|
Registered: 06/05/06
Posts: 467
Loc: Canada
|
|
This is also working OK. As a quick test you have two background images for captcha. background1.jpg background2.jpg One is I will call a smooth background and the other rough. Whatever your path is to the two files you should be able to view them with your browser. That will at least tell you the files are there and okay. So it would be like http://www.yoursite/forums/images/captcha/backgrounds/background1.jpgThis will at least test the image files. The letters images on the background are another thing.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|