Hello,
I am a newbie, I get my brother to do any of the complicated stuff in gallery for me. He has much more computer knowledge. I have two websites with gallery installed. My brother got Imagemagick working no problem on my first site. The second site has become very troublesome though. The gallery is www.parnellpainting.com/paintingpics if that is of any help. The only difference between the two galleries is the one that has imagemagick working is one version older.
We have been told by the host server that the binary location is /usr/local/bin/convert/ chmod 755 is what the permission is set to. I don't know where to go from here, can anyone tell what is wrong from looking at the test errors below?
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.5 apache2handler
Webserver = Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5
Database = mysqli 5.0.45-community, lock.system=flock
Toolkits = Exif, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux server.bf-chemosh.com 2.6.23.15-80.fc7 #1 SMP Sun Feb 10 17:29:10 EST 2008 i686
Default theme = carbon
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Rows in GalleryAccessMap table = 11
Rows in GalleryAccessSubscriberMap table = 3
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0
The errors that show for the test for Imagemagick
realpath(/usr/local/bin/convert/)
realpath(/home/parnell)
realpath(/usr/lib/php)
realpath(/usr/local/lib/php)
realpath(/tmp)
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/parnell/g2data/tmp/)
file_exists(/usr/local/bin/convert/gm)
realpath(/usr/local/bin/convert/identify)
realpath(/home/parnell)
realpath(/usr/lib/php)
realpath(/usr/local/lib/php)
realpath(/tmp)
getParameter exec.beNice for core plugin
Executing: ( "/usr/local/bin/convert/identify"
"/home/parnell/public_html/paintingpics/modules/imagemagick/data/test.gif"
) 2>"/home/parnell/g2data/tmp/g2dbg0ByNvQ"
getParameter exec.expectedStatus for core plugin
file_exists(/home/parnell/g2data/tmp/g2dbg0ByNvQ)
filesize(/home/parnell/g2data/tmp/g2dbg0ByNvQ)
unlink(/home/parnell/g2data/tmp/g2dbg0ByNvQ)
Regular Output:
Error Output:
Status: (expected 0)
realpath(/home/parnell/public_html/paintingpics/modules/core/classes/../../..)
Binding text domain: modules_imagemagick ->
/home/parnell/public_html/paintingpics/modules/imagemagick/locale
file_exists(/usr/local/bin/convert/gm)
tempnam(/home/parnell/g2data/tmp/, imgk_)
realpath(/usr/local/bin/convert/convert)
realpath(/home/parnell)
realpath(/usr/lib/php)
realpath(/usr/local/lib/php)
realpath(/tmp)
Executing: ( "/usr/local/bin/convert/convert" "-size" "200x200"
"-geometry" "200x200"
"/home/parnell/public_html/paintingpics/modules/imagemagick/data/test.gif"
"/home/parnell/g2data/tmp/imgk_HnNHmn" )
2>"/home/parnell/g2data/tmp/g2dbgm1IEdU"
file_exists(/home/parnell/g2data/tmp/g2dbgm1IEdU)
filesize(/home/parnell/g2data/tmp/g2dbgm1IEdU)
unlink(/home/parnell/g2data/tmp/g2dbgm1IEdU)
Regular Output:
Error Output:
Status: (expected 0)
unlink(/home/parnell/g2data/tmp/imgk_HnNHmn)
file_exists(/usr/local/bin/convert/gm)
file_exists(/usr/local/bin/convert/combine)
file_exists(/usr/local/bin/convert/composite)
file_exists(/usr/local/bin/convert/gm)
tempnam(/home/parnell/g2data/tmp/, imgk_)
Executing: ( "/usr/local/bin/convert/composite" "-geometry" "+0+0"
"/home/parnell/public_html/paintingpics/modules/imagemagick/data/test.jpg"
"/home/parnell/public_html/paintingpics/modules/imagemagick/data/test.gif"
"/home/parnell/g2data/tmp/imgk_rxvJ4q" )
2>"/home/parnell/g2data/tmp/g2dbgmzKOVX"
file_exists(/home/parnell/g2data/tmp/g2dbgmzKOVX)
filesize(/home/parnell/g2data/tmp/g2dbgmzKOVX)
unlink(/home/parnell/g2data/tmp/g2dbgmzKOVX)
Regular Output:
Error Output:
Status: (expected 0)
unlink(/home/parnell/g2data/tmp/imgk_rxvJ4q)
chdir(/home/parnell/public_html/paintingpics)
This page is valid XHTML 1.0 Powered by Gallery v2.2.4 G2.2: Double Double
Posts: 11242
I don't see any error there. Try to install netPbm. The dowload page has precompiled binaries and the codex has directions for installing toolkits.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 25
I am attempting to install NetPbm. When I look through the FTP at the files. I see in public-html, gallery, modules, in the modules folder, there is a folder called NetPbm, does that mean it is already there. Or do I still need to go through the download process, extract the files, and upload them, etc? If so, I am not sure of where to put the folder where the instructions say, a subdirectory of the base gallery directory, can you explain more specifically where that is. Is it the same gallery folder I am looking at in public-html?
Thank you
Posts: 25
I got my brother to come to the rescue again and help me with this, but we are stumped once more. He tried to install NetPbm and got the following error message. It seems we can not get any other graphic toolkits installed on this gallery except the pre-installed GD that it set up with. Just to test things out, he went to my other gallery, the original one I talk about in the top(original) post up above. NetPbm installed with no problems. We can't figure out why we are having problems with the www.parnellpainting.com/paintingpics gallery I guess at this point we really need to narrow down whether it is a gallery problem or a problem with my server. I have been sending many service tickets to them about the issue as well, but I am not getting anywhere. Any thoughts on this issue would be appreciated.
Thank you
realpath(/home/parnell/www/netpbm/)
realpath(/home/parnell)
is_dir(/home/parnell/www/netpbm/)
file_exists(/home/parnell/www/netpbm/pnmscale)
getParameter exec.beNice for core plugin
Executing: ( "/home/parnell/www/netpbm/pnmscale" "--version" )
2>"/home/parnell/g2data/tmp/g2dbgmgxm2m"
getParameter exec.expectedStatus for core plugin
file_exists(/home/parnell/g2data/tmp/g2dbgmgxm2m)
filesize(/home/parnell/g2data/tmp/g2dbgmgxm2m)
unlink(/home/parnell/g2data/tmp/g2dbgmgxm2m)
Regular Output:
Error Output:
Status: (expected 0)
file_exists(/home/parnell/www/netpbm/pnmcut)
Executing: ( "/home/parnell/www/netpbm/pnmcut" "--version" )
2>"/home/parnell/g2data/tmp/g2dbgjUPapk"
file_exists(/home/parnell/g2data/tmp/g2dbgjUPapk)
filesize(/home/parnell/g2data/tmp/g2dbgjUPapk)
unlink(/home/parnell/g2data/tmp/g2dbgjUPapk)
Regular Output:
Error Output:
Status: (expected 0)
file_exists(/home/parnell/www/netpbm/pamcut)
file_exists(/home/parnell/www/netpbm/pnmfile)
Executing: ( "/home/parnell/www/netpbm/pnmfile" "--version" )
2>"/home/parnell/g2data/tmp/g2dbg0Um2Lh"
file_exists(/home/parnell/g2data/tmp/g2dbg0Um2Lh)
filesize(/home/parnell/g2data/tmp/g2dbg0Um2Lh)
unlink(/home/parnell/g2data/tmp/g2dbg0Um2Lh)
Regular Output:
Error Output:
Status: (expected 0)
file_exists(/home/parnell/www/netpbm/pamfile)
Executing: ( "/home/parnell/www/netpbm/pamfile" "--version" )
2>"/home/parnell/g2data/tmp/g2dbgftxW8e"
file_exists(/home/parnell/g2data/tmp/g2dbgftxW8e)
filesize(/home/parnell/g2data/tmp/g2dbgftxW8e)
unlink(/home/parnell/g2data/tmp/g2dbgftxW8e)
Regular Output:
Error Output:
Status: (expected 0)
file_exists(/home/parnell/www/netpbm/pnmcomp)
Executing: ( "/home/parnell/www/netpbm/pnmcomp" "--version" )
2>"/home/parnell/g2data/tmp/g2dbgMFpTvc"
file_exists(/home/parnell/g2data/tmp/g2dbgMFpTvc)
filesize(/home/parnell/g2data/tmp/g2dbgMFpTvc)
unlink(/home/parnell/g2data/tmp/g2dbgMFpTvc)
Regular Output:
Error Output:
Status: (expected 0)
file_exists(/home/parnell/www/netpbm/pamcomp)
file_exists(/home/parnell/www/netpbm/pnmflip)
realpath(/home/parnell/www/netpbm/)
realpath(/home/parnell)
is_dir(/home/parnell/www/netpbm/)
realpath(/home/parnell/www/netpbm/jhead)
realpath(/home/parnell)
file_exists(/home/parnell/www/netpbm/jhead)
Executing: ( "/home/parnell/www/netpbm/jhead" "-V" )
2>"/home/parnell/g2data/tmp/g2dbgjRQVS9"
file_exists(/home/parnell/g2data/tmp/g2dbgjRQVS9)
filesize(/home/parnell/g2data/tmp/g2dbgjRQVS9)
unlink(/home/parnell/g2data/tmp/g2dbgjRQVS9)
Regular Output:
Error Output:
Status: (expected 0)
Posts: 11242
PM me admin login info and path where you put netPBM.
It works on thousands of installs so I bet it is not a Gallery issue but a server issue.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 25
Hi Dave,
I have PM'd you with the info as well.
Thanks so much for trying to solve this problem. It is my brother who is doing the install for me. We just sent off another email to the server. I will paste the email and the response to you, maybe it will help in trying to identify what is going on. I can't get any other info from him until later tonight, he lives in Hong Kong, so I am always dealing with the time difference.
I looked in that field and it is blank, so he must have removed the last one he tried. I do see that he has attempted to try the folder in several different locations, such as in the public_html and in the root folder. When I look at the travelfootprints gallery that is working I see he used /home/travel07/netpbm/ so he would have attempted a similar path for the non-working one, I assume /home/parnell/netpbm/ respectively. The folder is still in place there, I can see it when I look through my FTP, as well the folder is still in place in the other areas. I have confidence that he knows the right path to put each time he tries a folder in a different place.
Please let me know if there is any other info I can provide you with that will help. Thank you
Here is the email to my server:
As you know, I have been having problems running the imagemagick binaries on
parnellpainting.com. I have spent the last week attempting to work with
bluefur's support team in getting this to work. They have given me the
correct location, but it was not running for me. The binaries run fine on my
other account.
As an alternative, I have uploaded some other binaries to my site - netPBM.
These are pre-compiled binaries that should run. However, on
parnellpainting.com - these binaries do not run at all.
To troubleshoot, I installed the exact same netpbm binaries to my travelfootprints.ca
account, to find out that, like ImageMagick - THEY WORK JUST FINE.
So there appears to be an issue with my parnellpainting.com server that is NOT occurring
with travelfootprints.ca
Can you please look into what is preventing my account from running these
binaries? If they work with travelfootprints.ca, they should work with parnellpainting.com
This was the servers response:
These binaries are running without issue:
root@server [/home/parnell/public_html/netpbm]# ./giftopnm --help
giftopnm: Use 'man giftopnm' for help.
Please elaborate on how you are trying to run them and what errors you encounter when doing so.
Posts: 25
Just wondering if it would make any difference to re=install gallery at this point, or is that not going to help anything? I am not getting anywhere with my host server. They provide little help and just keep saying the binaries are working.
Thanks
Posts: 25
Hello,
Just wanted to make a final post for this issue in case it can help someone else out. It seems we have been able to come to a resolution. I do not really understand any of this stuff, it is all over my head. My brother does the install of any of this kind of stuff for me. To the best of my understanding it was a problem with my server. My brother set the PHP to use PHP4 instead of PHP5 and then he was able to successfully install both Imagemagick and NetPbm for me.
Hurray!!!
Posts: 11242
Glad you got it sorted
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team