vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Bang head and repeat: Imageinfo Failed: (https://vborg.vbsupport.ru/showthread.php?t=286525)

SyrLinus 08-11-2012 05:48 AM

Bang head and repeat: Imageinfo Failed:
 
1 Attachment(s)
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.

Lynne 08-11-2012 02:50 PM

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.)

SyrLinus 08-11-2012 03:03 PM

Quote:

Originally Posted by Lynne (Post 2356221)
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. :)

Lynne 08-11-2012 05:55 PM

Glad you got it figured out. :)


All times are GMT. The time now is 04:45 PM.

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.01009 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete