vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can't Get ImageMagick to work. (https://vborg.vbsupport.ru/showthread.php?t=194163)

BigJohnny 10-21-2008 10:38 AM

Can't Get ImageMagick to work.
 
My host has image magick installed, and Ive entered the path as many different ways as I can, but it just won't seem to work on my board.

Am I doing something wrong or missing something? I've had it working before on a different host, just doesn't seem to want to work with my current host.

Dismounted 10-21-2008 11:06 AM

There is only one path to ImageMagick...What has your host said the path is?

BigJohnny 10-21-2008 11:14 AM

/usr/local/bin/convert/

I have tried also
/usr/local/bin/
/usr/bin/

and still the image magick picture doesn't show up.... I'm not sure why?!

Dismounted 10-22-2008 06:37 AM

If you host says it is /usr/local/bin/convert/ and it does not work - you will need to consult them. We cannot really help you with a server-specific path.

BigJohnny 10-22-2008 10:49 AM

I am in contact with them, I was asking here because I was wondering if anyone else had the same problem before, or maybe I did something wrong or missed something.

I don't want to use GD, but its starting to look like i might have to.

jfk1 10-22-2008 12:16 PM

u might ask, have they got ALL the modules installed.... in other words, does their install support all graphic formats..... jpg, png, gif etc...
i had a nightmare installing ImageMagick on the server, (linux), even with a lot of help and support from the ImageMagick crew... got there in the end.....
i haven't got a clue how to actually use ImageMagick, i installed for a pal, however it is interesting that u need specify a path... with the correct install, i believe u need only call the module, something like "use Image::Magick" (dont quote me on this, it was for perl scripts, not PHP)

BigJohnny 10-23-2008 01:10 AM

well vbulletin only has one input box for a path.

So if the convert binaries are located in /usr/bin/convert/ wouldn't the identify binaries be in /usr/bin/identify/, which would mean the path to use in vbulletin would be /usr/bin/ ...

correct? .... maybe?

Videx 10-23-2008 02:44 AM

I couldn't get mine to work at first either. But after opening a ticket, eventually my host got it working. I forget the exact reason they gave me.

RedWingFan 10-23-2008 03:26 AM

Quote:

Originally Posted by BigJohnny (Post 1649627)
/usr/local/bin/convert/

I have tried also
/usr/local/bin/
/usr/bin/

and still the image magick picture doesn't show up.... I'm not sure why?!

Quote:

Originally Posted by Dismounted (Post 1650236)
If you host says it is /usr/local/bin/convert/ and it does not work - you will need to consult them. We cannot really help you with a server-specific path.

If you type "which convert" at a shell prompt, it should return the complete path to the convert utility. On my dedicated server, it comes out as:

/usr/local/bin/convert

...which means in vB, I enter "/usr/local/bin/" (with the trailing slash) to point to the directory in which convert and identify reside. Works fine on our server.

You do NOT want to use a backslash after ......./convert, since you'll have vB looking for a directory named "convert". You have to think of convert as being the filename of the "program" you are running, whereas everything preceding it (in my case, the /usr/local/bin/) being the directory hierarchy in which it is found.

BigJohnny 10-23-2008 11:03 AM

This is the email I got from my host most recently.... it still doesnt work though.

I dont have access to a shell prompt on my host :(

Quote:

Howdy,

The convert binary is located at the following path:

[root@cp ~]# which convert
/usr/bin/convert
[root@cp ~]#

If you have any questions concerning this, please let me know!



All times are GMT. The time now is 10:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01164 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete