Previous Thread
Next Thread
Print Thread
Hop To
Page 1 of 2 1 2
#174863 01/21/2007 4:14 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Needing some help,
ive not long had my server so i'm a complete novice
at installing things, as ive never had to do it before.
Its just a case of showing me how smile
But as its a learning curve, i'm hoping someone
can guide me in the right direction please.

Image Magic Home Page

My Spec
Apache 1.3.37 Running
DirectAdmin 1.28.1 Running
MySQL 4.1.11
CentOS 4.3

I have root access.

So from ImageMagic Home page which way should i go,
what do i do.

Install from Source?
Binary Release?
And then what?

Thanks for any advice smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Mark, if you don't know how to compile from source, just use the binary release; simply upload the files to a directory on your server and link to the paths in the control panel.


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
This one ? (i'm unsure, sys spec 1st post)

ImageMagick-6.3.2-0.i386.rpm - Fedora Core 6 i386 RPM

Binary Page Click Me

Where should i create the directory?
Path? (example, your leading the blind).

Thanks in advance wink

I will catch up in the morning, sorry soo tired...
(Not a good time to read instructions).


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, assuming you can use the rpm command, yes those ones.

And in what directory? doens't matter to me, how bout a plugins directory under your forum lol.

Last edited by Gizmo; 01/21/2007 9:05 PM.

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
I think your right about the *.rmp

Looks like it should be this version would you agree?

ImageMagick-i386-unknown-freebsd6.1.tar.gz
As im not sure at all.

Directory?
I was under the asumption that it was to hide
in the vars/etc/what ever ??

I would like this available to all domains / accounts
on my server, so does that mean the binary option??

Sorry there seems to be more questions than progress.

I'm familar with DOS its just the server enviorment
that un nerves me as i'm not used to it at all.
And the new command lines. ( I dont want to break it).

Thanks in advance Mark.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
wherever you put the files are where they'd be, wiht a precompiled binary you can put them anywhere; /usr/bin mainly would make them availabel to everyone on the machine.


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
Okay i now have ImageMagick 6 installed and its still
a white screen with the test commands.

Version: ImageMagick 6.0.7 08/28/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC

The forums recognise that its installed,
as the paths have been entred correctly.

How did i install it?
From Root access only

yum install ImageMagick



BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
if you use yum to install imagemagick, you have to restart apache:
service httpd restart

should do it.


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
Done them mate,
I'm just looking up the test you can do from root,
that image logo thing, i read it somewhere.

Glad i'm moving forward anyway smile

"/usr/local/bin/convert logo: logo.gif"

Last edited by Mark S; 01/22/2007 7:39 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I'm not sure what verson of IM is installed through the YumRepo of your os; you may want to validate its version.


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
Do you have safe mode turned on Mark, with any open_basedir restrictions? If PHP is locked down with some safe mode restrictions then that could be why it's resulting in a white screen. I'll need to add more debugging to the output, but it could be that you don't have access to the "exec" command as well.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
yeh i've been on several machines that don't allow exec :/


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
Php isnt in safe mode,
open base DIR is ON

i can turnn it off smile


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
Originally Posted by Mark S
Version: ImageMagick 6.0.7 08/28/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC


Is that whay yu mean gizmo ?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I should put a check in to make sure that the exec function is accessible as well. What you can do is make a quick and dirty php file, and then bring it up in your browser.

PHP Code


<?php

if (function_exists('exec')) {
  echo "Yes, exec() is availalbe.";
} else {
  echo "No, exec() is not available.";
} // end if

?>


Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Yeh, that version of ImageMagick should work fine for what you're doing here.

Are convert and morgify in your /usr/bin properly?

If there is some sort of security issue blocking access to them you could try copying them to the web-root of each site wanting to use them and re-link to them in the control panel, just as a test to see if that is the case...


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
Checking the above posts,
Status Making a Dirty php file lol.

Are convert and morgify in your /usr/bin properly?

Paths entred in ImageMagick Settings cp
/usr/bin/convert
/usr/bin/mogrify


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I'm not asking if those paths are entered, i'm asking if those files ACTUALLY EXIST in that directory...


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
Hmm, Mark. In a previous post, you had this:

"/usr/local/bin/convert logo: logo.gif"

You'll want to double check where convert and mogrify are installed just to check if it's /usr/bin or /usr/local/bin you should be using.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Dirty PHP result = Yes, exec() is availalbe.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Rick
Hmm, Mark. In a previous post, you had this:

"/usr/local/bin/convert logo: logo.gif"

You'll want to double check where convert and mogrify are installed just to check if it's /usr/bin or /usr/local/bin you should be using.
lol thats what i noticed, and am trying to get him to check 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!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
what's the comand for ouputing the path of convet
and mogrify.

I think its just a typo on my part,
but i havnt got that to work the image thing

"/usr/local/bin/convert logo: logo.gif"

As i'm sure the path is diffrent,
that text was a copy and paste from the web site
under, Unix Binary Release

I was getting desprate,

commands to out put the path?
i'm checking....


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
mark try this (linux commands, execute them as root).
updatedb (updates your slocate database)
locate convert (locates the command "convert")


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
Or instead of "locate convert" try "which convert". Locate might return a big long list of stuff you aren't looking for wink

If you can't get either of those to work, try these 2 commands:

ls /usr/bin/convert

ls /usr/local/bin/convert

One of those should return a "No such file or directory", and one should return the actual file.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Sorry its going on and on,
but i did have a command i used and it out put the
path to convert and mogrify,

locate convert = a long list of paths

looks like "usr/bin/convert"



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
Not done yours yet rick doing it now


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
yeh it'll scroll quite a ways at times, based on how many scripts have the word "convert" in them.


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
/usr/bin/convert
Returns the comands for the file.

which convert = /usr/bin/convert

but i cant get that logo thing to work,
is there spaces ? space = *

"/usr/bin/convert*logo:*logo.gif"

I get no such file or directory,
but that's on the binary page that line,
which could be leading us astry ?
As i used the Yum ?


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, so we know it's /usr/bin/convert. So, just do this to make sure it's executable and functioning properly:

/usr/bin/convert -version

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Version: ImageMagick 6.0.7 08/28/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC


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
Rick there could be problems with my forum update,
and a file could be corrupt,
just letting you know incase you have over looked that posibility.



BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
But wouldn't a SSH running of the program at the command line determine if it works or not? Or is this still relying on PHP and a Web page ?

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
ntdoc Where in the Root wink ssh

Loving the support and feed back,
i'm feeling special and stupid both at the same time smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, so as long as you have /usr/bin in the path to convert and mogrify then you should be good. What is your open_basedir restriction set to? It very well could be that's what restricting it, as that will not allow PHP to access any files outside of that directory.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Is set to open = ON
In Direct Admin control panel.

Its open, no restrictions.
I know this as i have Rss Feeds and if i turn it off
meaning Disable then the Rss Feeds fail.

Parsers they are.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Mark S
i'm feeling special and stupid both at the same time smile
thats how we roll wink..



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
Ok, it's almost to the point that we may need a support ticket. One last thing to check, just to make sure you're calling your test mode correctly. Make sure you're logged in as an admin and bring this up in your browser, on your domain of course:

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

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
I got an image back saying

"Rick is king of them all"

Kidding

i got Ubb TReads in images smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, then it's working as intended. Now, make sure that registration is set to use ImageMagick. There is a bit of a problem in b4 where the image might first come up as a red x, like it's not found, but it should change to the actual CAPTCHA image after a second.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Ok

just reading the above that's the only thing
i havnt added to all of this??

Adjusting any registration settings,
i'm saying that because i havent set any registration
options to CAPTCHA

i wasnt seeing any for a post,
but the option was there to enter the letters,
but couldnt see them,

okay i will update the registrations settings now.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
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
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
3 members (Nightcrawler, Ruben, 1 invisible), 501 guests, and 194 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 20240430)