Previous Thread
Next Thread
Print Thread
Hop To
Page 1 of 2 1 2
#189987 07/04/2007 7:38 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I just installed version 7. I have php4 installed and I have selected gd2 in the UBB control panel.
My problem is when you register, the image sometimes has 6,4 or no Characters displayed. The empty box with the red x.
here is the url to the registration page HERE
My host informed me that gd2 is in fact installed with FreeType support but I have no clue how to test it. I do have the ability to change to PHP5 versus PHP 4 in the server control panel.

Last edited by Ruben Rocha; 07/04/2007 7:40 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You should ask your webhost if ImageMagick6 is installed; it's a far superior graphics library that can be used for the captcha


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
"PHP5 versus PHP 4" I wouldn't do that just yet wink

Strange that one,

i'm seeing "Capture Image" As a line of text.
Blanks
but never 6 Letters / Numbers ??

I haven't seen that problem before so i cant help really.

Corrupt files ?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
I think you have changed a setting,
i'm now seeing all the images now smile

All 6


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
i was wondering that.

Try deleting them from the server and uploading them again wink

Make sure you keep the same case with the file names and extensions wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
mark s, why not php5 ?

just wondering. i haven't run across any php5'isms on the boards at all..

nor for that matter, mysql5..

<-- inquiring mind

SD #190008 07/04/2007 10:18 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I've been using PHP5/MySQL5 with UBB.T7 since initial beta without any problems; on two seperate servers...

I have run into some problems with poorly coded scripts, but it was easy enough to fix their issues myself


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yah, but those poorly coded scripts aren't in ubbthreads.. right?

i have yet to find a reason NOT to go with v5 on both for ubbt, was my assertion.

SD #190010 07/04/2007 11:02 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Lol no, those are not involved with threads at all, they're other third party webscripts.

Most of the "compatability" problems between PHP4 and PHP5 are security related anyway, doesn't take long at all to patch things to work in php5


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
WS_FTP can easily be mis-configured and not upload file types correctly at times.

Maybe try another FTP program. There are a lot of them.

FileZilla is one you could try that's free.

http://filezilla.sourceforge.net/


Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Originally Posted by Sirdude
mark s, why not php5 ?

just wondering. i haven't run across any php5'isms on the boards at all..

nor for that matter, mysql5..

<-- inquiring mind
Just keeping the problem simple.
As in upgrading php may not be the option just yet.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
okie then, i get your drift. ie: don't go to php5 in THIS instance just yet, until the real problem is resolved.

10-4 dano wink

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
And i'm old enough to remember Hawaii Five 0 the first time around lol
Got him steve lol

[Linked Image from mjq.net]

Jesus -->> Clicky


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
lol mark, impressive laugh

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
make me feel like a little kid... :x


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You could try checking permissions on the images/captcha/backgrounds folder. Make sure the folder itself is readable and also the images within. It doesn't have to be writeable, just needs to have read permissions.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Sorry Been away but I still have issues with this.
I will try to answer some of the replys in some type of order

1. WSFTP- Yes I am aware of issues with the settings.
In this instance I uploaded in manual mode not auto mode. Image folder and sub folders in Binary all other folders and files in ascii. After further investigation I think the real issue with this program is it created a ".log" file on all transfers. After several attempts at turning the log feature off I found that I did not go back and double check the existing folders already uploaded. After I deleted them the image has been working fine just the background image is missing.
2. Is ImageMagick6 installed- No but my host provider is willing to install it if I provide the license and software. Don't know where to point him to?
3.checking permissions- I am on a windows 2003 box all I can say is that my control panel shows all files with the correct permissions. In fact the ubb control panel shows them all correct even though it does not check the captcha folder.

Bottom line is the captcha function appears to be working and stable now.
Should I have a concern that the two background images provided in the install do not appear?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
my recommendation would be to see if you can view the images at all in your web browser, if they load fine in the browser it'd likely be a graphics processing issue.

they should be:
http://www.yoursite.com/forum/images/captcha/backgrounds/background1.jpg
http://www.yoursite.com/forum/images/captcha/backgrounds/background1.jpg

ImageMagick6 isn't license wear, it's opensource. They can install it from their webpage (here).

and yes, you should be concerned that the background images aren't loading; likely it's due to a limitation in GD, or at least on your system; hence my recommendation of IM.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, if the images load, then they where uploaded properly (as if they wheren't uploaded properly you'd have some nice red X's); so ImageMagick would be a good try to see if it's just GD not playing nice.

As for flavors, I don't do windows hosting, so i haven't the faintest; if it was Linux I'd send you at CentOS5 lol.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
SD #205812 02/01/2008 11:41 AM
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
After reading this and doing what it says, my images are now always showing six letters/numbers.

Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
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 ??


Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
You need to be using ImageMagick 6 the IM5 version will not work.

Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
I have imagemagic 6.3.5.10 installed.

Seems image magic is not working properly. Photos uploaded to a gallery are turning up X'd

something must be just a tad bit off. GD2 will post graphics fine. But I'm concerned about gd2 as I said an attempted install of webalizer returned an error that gd2 needed to be recompiled with use=png.

Makes me kind of wonder.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
What is the path you've entered for ImageMagick? I've noted some not actually including "mogrify" and "convert" in the path (as in they just enter /usr/bin vs /usr/bin/convert and /usr/bin/mogrify; paths will likely vary)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Also double check the permissions for the folder and files


Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
/usr/bin/convert and /usr/bin/mogrify are set. That was one I did catch.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
What you can do is go to the following url for your forum while logged in as an admin. If there is an error occuring, sometimes we're able to catch it and output it:

ubbthreads.php?ubb=captcha&t=im&test=1

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Rick, I'd like to sugguest that the url you provided be included in the admin cp next to the paths, as a "test path" link?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
Originally Posted by Gizmo
Rick, I'd like to sugguest that the url you provided be included in the admin cp next to the paths, as a "test path" link?

I'll second that... where ever that area is, Nice shot... This is the error I got..

PHP error: convert: no decode delegate for this image format `/home/website/public_html/forum/images/captcha/backgrounds/background2.jpg'. convert: missing an image filename `GIF:/home/website/public_html/forum/cache/a8631c366912dff3d159b39e565c4b0a.gif'.

Obvoiously a PHP issue. dang'd if I know what though....

Hey does global variables need to be turned on for Threads these days?

Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
Bump.....

Anyone up for some hand holding...???


Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Your ImageMagick install was not compiled with JPEG support on your serer; it's a server issue that you should have your server tech look at.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
Ok, I got a hold of the libjpeg delegate for imagemagick, and installed that. Still no go.


Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Not sure what to tell you; the error says that is the problem (that jpeg support isn't compiled into IM)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
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???



Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
After installing freetype, what's the error you are getting now?

Joined: Dec 2003
Posts: 15
S
stranger
stranger
S Offline
Joined: Dec 2003
Posts: 15
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 laugh

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.


Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I don't know when or why it happened, but I am only getting a red X where the image should be.

When I did the test (ubbthreads.php?ubb=captcha&t=im&test=1) suggested by Rick, I received the following error message:

PHP error: sh: /home/maritim5/www/forums/images/captcha/backgrounds/background1.jpg: cannot execute binary file

I am still using the 7.4 final version.

Any thoughts on what is happening on my end?

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Are you using GD2 or imagemagick.
Possibly the host upgraded and moved imagemagick to a different path.
Try GD2 and see if it works again.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It looks like maybe your path to convert isn't set, or was blanked out. In the control panel under Db, Paths & Urls -> Paths & Urls you'll see where it wants the path to convert, which should be something like:

/usr/local/bin/convert

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I am using GD2 only, therefore, does the following still apply?

/usr/local/bin/convert

I don't think it still applies, as I think the above is for IM and not GD2

Page 1 of 2 1 2

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)