Tried everything still thumbnails broken

webdesignerkanpur

Joined: 2009-11-13
Posts: 4
Posted: Fri, 2009-11-13 08:55

I have installed Gallery on my website just a couple of days back.
the path is http://www.pawantekchandani.info/gallery/main.php

Path for phpinfo.php is http://www.pawantekchandani.info/gallery/phpinfo.php

My hostserver is saying that we have ImageMagick Installed on our servers and if I doubt then he is suggesting me to install Coppermine to test whether to test ImageMagick installed or not. He is sure that ImageMagick is installed

After Full installation from the fantastico, I started using it. All went fine except the broken thumbnails.
I tried uninstalling and re-installing of the gallery into a different location.
I tried to get GD, NetPBM, ImageMagick work. But none of these worked. When I click on test settings. It fails for ImageMagick and NetPBM. But it says pass for GD.
I contacted my Server Host for ImageMagick, he says ImageMagick is already installed on our server. Then I asked for the location he gave me the location as */usr/bin/*

But Still in ImageMagick Section it gives the error of "The path you entered is not a valid directory or is not accessible."

Tried changing the priority in Toolkit priority. That did not work.
Tried Uninstalling and then reinstalling all the three, GD, NetPBM, ImageMagick.

That also did not work.
This is my testing of Gallery so I am giving my admin login details,
ID:
Passwrod:

Kindly see where am I going wrong.
And tell me the exact reason so that I can using this brilliant utility on all of my 20 websites.
****************************************************************************
System Information
Last Run Details:

Gallery URL = http://www.pawantekchandani.info/gallery/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.10 apache2handler
Webserver = Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.10
Database = mysqlt 5.0.81-community, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, ImageMagick, jpegtran, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux linux4.indiato.net 2.6.9-023stab046.2-enterprise #1 SMP Mon Dec 10 15:22:33 MSK 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0
Rows in GalleryAccessMap table = 31
Rows in GalleryAccessSubscriberMap table = 4
Rows in GalleryUser table = 2
Rows in GalleryItem table = 3
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0
*****************************************************

www.solushunz.in

 
webdesignerkanpur

Joined: 2009-11-13
Posts: 4
Posted: Mon, 2009-11-16 13:16

Can someone please bother to read this and try to give me solution for this problem.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-16 17:29
Quote:
My hostserver is saying that we have ImageMagick Installed on our servers and if I doubt then he is suggesting me to install Coppermine to test whether to test ImageMagick installed or not. He is sure that ImageMagick is installed

Where is ImageMagick installed on your servers? Gallery obeys the open_basedir restrictions and if that path isn't listed there then Gallery cannot execute it.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-16 17:34

o.k. Took a closer look at your gallery (and your post) and I see that your host says the path to IM is /usr/bin. That path needs to be listed in your open_basedir restriction or you can't execute anything under there.

When you try to test the settings for IM, you get this message:

Quote:
The path you entered is not a valid directory or is not accessible.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
webdesignerkanpur

Joined: 2009-11-13
Posts: 4
Posted: Thu, 2009-11-19 13:46

After reading your reply I requested my host to read this thread which he did honestly.
Now he has disabled the open_basedir restriction for my domain.

Now when test settings for IM. I doesnt give me the old error anymore of the path is invalid.

****************************************************************
Now it gives me new error:

ImageMagick binary test results
Binary Name Pass/Fail
identify
Failed
Error messages:
Problem executing binary:
File does not exist
identify
Failed
Error messages:
Problem executing binary:
File does not exist
convert
Failed
Error messages:
Problem executing binary:
File does not exist
composite
Failed
Error messages:
Problem executing binary:
Debug output (4 failed tests) -
We gathered this debug output while testing your ImageMagick binaries. If you read through this carefully you may discover the reason why your ImageMagick binaries failed the tests.

is_dir(/usr/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/home/pawan/public_html/gallery/g2data/tmp/)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/identify)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
tempnam(/home/pawan/public_html/gallery/g2data/tmp/, imgk_)
file_exists(/usr/bin/convert)
unlink(/home/pawan/public_html/gallery/g2data/tmp/imgk_Q24onY)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
file_exists(/usr/bin/combine)
file_exists(/usr/bin/composite)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
tempnam(/home/pawan/public_html/gallery/g2data/tmp/, imgk_)
getParameter exec.beNice for core plugin
Executing: ( "/usr/bin/composite" "-geometry" "+0+0"
"/home/pawan/public_html/gallery/modules/imagemagick/data/test.jpg"
"/home/pawan/public_html/gallery/modules/imagemagick/data/test.gif"
"gif:/home/pawan/public_html/gallery/g2data/tmp/imgk_KOg6pJ" )
2>"/home/pawan/public_html/gallery/g2data/tmp/g2dbgE6pPsu"
getParameter exec.expectedStatus for core plugin
file_exists(/home/pawan/public_html/gallery/g2data/tmp/g2dbgE6pPsu)
filesize(/home/pawan/public_html/gallery/g2data/tmp/g2dbgE6pPsu)
fopen(/home/pawan/public_html/gallery/g2data/tmp/g2dbgE6pPsu, r, 0)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fclose(Resource id #124)
unlink(/home/pawan/public_html/gallery/g2data/tmp/g2dbgE6pPsu)
Regular Output:
Error Output:
sh: /usr/bin/composite: No such file or directory
Status: 127 (expected 0)
unlink(/home/pawan/public_html/gallery/g2data/tmp/imgk_KOg6pJ)
chdir(/home/pawan/public_html/gallery)
****************************************************************

Domain : http://pawantekchandani.info/gallery/main.php
Admin : pawan
password: hariom

Please PLEASE help me on this

Web Designer Kanpur

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-19 14:44

ImageMagick either isn't installed or they haven't changed the permissions on the binaries to 755. There's nothing much more we can do. Do you have SSH access?

If so, you can type whereis convert and you can also type ls -al /usr/bin/convert. The first command will tell you where the convert binary is installed on the system, the 2nd command will tell you what the permissions are, if it's installed at /usr/bin/
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
webdesignerkanpur

Joined: 2009-11-13
Posts: 4
Posted: Sun, 2009-11-22 11:57

"ImageMagick either isn't installed or they haven't changed the permissions on the binaries to 755. "

Well this statement is really hard to believe because on testing testing for IM it gives
file_exists(/usr/bin/gm)
file_exists(/usr/bin/combine)
file_exists(/usr/bin/composite)
is_dir(/usr/bin/)
file_exists(/usr/bin/gm)
These statements clearly mean that the location is existing.

" Do you have SSH access?"
NO i do not have the SSH access

There's nothing much more we can do.
If u cant do anything more then kindly suggest me any other Image Gallery Software.

By the way I test Zenphoto and it is working beautiful.
But still i wanted you to try to help me to use Gallery. Rest your choice.

Thanks
web designer kanpur

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-11-22 16:27

I only know Gallery. I suggest finding a quality host :)

Those are functions, this is what you want to look at:

Quote:
ImageMagick binary test results
Binary Name Pass/Fail
identify
Failed
Error messages:
Problem executing binary:
File does not exist
identify
Failed
Error messages:
Problem executing binary:
File does not exist
convert
Failed
Failed
Error messages:
Problem executing binary:
File does not exist
composite
Failed
Error messages:
Problem executing binary:

And this:

Quote:
sh: /usr/bin/composite: No such file or directory

Those are quite clearly showing that the binaries installed with ImageMagick are either not there or their permissions are set such that the web server cannot execute or see them.

Ask your host if ImageMagick is on the server and where it's at. Oh, I see, you've done that. Have them test it to make sure it's working. You don't have any open_basedir restrictions set, so that's not it.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-11-22 18:13

If you have trouble getting IM to work, we offer netPBM toolkit ( in the dowload section ) that will work for most hosts, even poor ones.
FAQ: I am having trouble configuring a graphics toolkit (ImageMagick, NetPBM or ffmpeg). Help?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team