Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2012, 05:48 AM
SyrLinus SyrLinus is offline
 
Join Date: Apr 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Bang head and repeat: Imageinfo Failed:

I'm really stuck and could use some suggestions. So we had a weird gallery failure. We recovered it, kinda and are trying to get ImageMagick working again. Before anyone makes suggestions here's what we've done (and this is vB 3.6.8 P3):

1. We've verified that ImageMagick is installed correctly by
  1. typing "whereis convert" at the command line (shows up as /usr/bin/convert and /usr/local/bin/convert)
  2. typing "convert file.gif file.jpg"
Those worked fine.

2. Re-installed ImageMagick using Yum. Verified all dependencies were in place.

3. Put path from above into CPanel -->vBulletin Options --> Images and select ImageMagick. When trying to upload an image/avatar we get just "Imageinfo Failed:" Nothing else.

4. When I check the error logs for the server, however, I see "sh: /convert: file not found" which has me confused.

5. Open_basedir seems to show the correct locations:

open_basedir
local values: /var/www/vhosts/domain/httpdocs:/tmp
global values: /nfs:/tmp:/usr/local:/usr/bin/local:/etc/httpd:/usr/bin/convert

6. GD works fine but we'd rather use IM since we get more flexibility and allows for resizing of images and such.

What path do I need to fix to ensure that it sees it? my head is starting to hurt.
Attached Images
File Type: jpg example.jpg (50.4 KB, 0 views)
Reply With Quote
  #2  
Old 08-11-2012, 02:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you have entered into AdminCP > Settings > Options > image settings > ImageMagick Binary Path ?

(I don't even have a test version of 3.6, but I assume that is there.)
Reply With Quote
  #3  
Old 08-11-2012, 03:03 PM
SyrLinus SyrLinus is offline
 
Join Date: Apr 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
what do you have entered into AdminCP > Settings > Options > image settings > ImageMagick Binary Path ?

(I don't even have a test version of 3.6, but I assume that is there.)
/usr/local/bin

I've also tried..

/usr/bin

and ...

/ (I moved convert to / just on whim to try)

--------------- Added [DATE]1344704173[/DATE] at [TIME]1344704173[/TIME] ---------------

We figured it out. We're in a plesk based system and had to dig out where the safe_mode was set since I had turned it off in the php.ini.

For reference for those who also use plesk type systems (dedicated Parallels virtual servers) try to find the following path:

/var/www/vhosts/<domain>/conf

And look for httpd.include file. Edit that file with vi or a similar edit and set the safe_mode from on to off. (there are two locations for it in the file)

My headache can finally go away.
Reply With Quote
  #4  
Old 08-11-2012, 05:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you got it figured out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04006 seconds
  • Memory Usage 2,211KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete