Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Ruben), 47 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/24/10
Posts: 8
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 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
#228007 - 07/30/09 07:57 PM Another CAPTCHA thread...
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Long story short:

We wanted to start using CAPTCHA. So, I went to turn it on in the CP. No ImageMagick available. No big deal. That's done and the binaries are now listed in the gallery settings. IM is now available. (Version: ImageMagick 6.2.8 04/17/08) It's weird that GD2 isn't available as an option for CAPTCHA as we've been using that for our gallery settings for a while and it's been working fine, but that's another issue (I think...)

So, I turn on CAPTCHA. I get a bad image (image not available, not pr0n. smile ) that comes up on the new user reg page.

So, I dig around ubbcentral and find this thread which describes my problem. When I run the basic CAPTCHA test (ubbthreads.php?ubb=captcha&type=im&test=1) I get "exec() is not available." So, I look at the php.ini file (the one listed in "admin/phpinfo.php.")

open_basedir= is commented out and safe_mode = Off.

/usr/bin/convert and /usr/bin/mogrify are each set to 755. (And I'm using the full binary path in the CP - as opposed to just the directory.)

images/captcha/* is set to at least read everything. cache/ is set to 777.

I tried restarting Apache/httpd as well.

What else is needed to run external scripts, or what am I missing?

(extra info: php 5.2.8. UBB 7.4.1. httpd 2.2.11)

edit: OK, I guess it's not weird that GD isn't available as an option. Freetype wasn't compiled in to GD according to php.info.
_________________________
bmwsporttouring.com
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."
#228014 - 07/31/09 06:19 AM Re: Another CAPTCHA thread... [Re: bakerzdosen]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Sheesh... OK, I wish I had an answer, but this has gotta be something outside of ubb on the OS (CentOS). I just did a complete refresh of my test system (running Solaris w/ IM 6.3.4) and the test system's captcha worked fine. I'm assuming the differences in version of ImageMagick have nothing to do with it... right?

I did notice that I have a LOT more .ini files being scanned by php. My production box does not have any additional directories to be scanned.

Are the .ini files the place to start looking?
_________________________
bmwsporttouring.com
Top
#228018 - 07/31/09 11:13 AM Re: Another CAPTCHA thread... [Re: bakerzdosen]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Definitely doesn't seem to be an imagemagick issue. Normally exec() would be disabled if you're running in safe mode, which it looks like you aren't. I'd check the "Disabled Functions" section of your phpinfo page and see if there is anything listed there.

I'll see if I can dig up any more suggestions.
Top



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

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
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
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

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