 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
October 21st, 2007, 02:17 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 67
| funny stuff with imagemagic
Well, I didnt remember my imagemagic path was so I went into my vb admincp to find out.
Vbulletin Options > Image Settings > ImageMagick Binary Path This one works on vBulletin so I add this at the end of the config-inc.php file Quote: |
$mogrify_command = "/usr/bin/";
| but I still get the 126 error code when trying to upload a picture Quote:
Error creating thumbnail! Error code: 126
Command:
"/usr/bin/" +profile "*" -size 100x53 -quality 70 -geometry 100x53 -unsharp 10 '/xxxx/xxxx/xxxx/xxxx/showcase/data/500/thumbs/goldhunt.jpg'
|
Can anyone give me a hint ? |
| |
October 21st, 2007, 06:13 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
You must enter the filename in our config as well say like this
/usr/bin/mogrify
|
| |
October 24th, 2007, 04:35 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
So is the following corret and the only thing need to be change in the config-inc.php file to get ImageMagick to work?
// Path to MOGRIFY executable
// There should be no spaces in the directory names, use short names if necessary.
// Examples:
// $mogrify_command = "c:\progra~1\imagemagick\mogrify.exe";
// $mogrify_command = "c:\ImageMagick\mogrify.exe";
$mogrify_command = "/usr/local/bin/mogrify";
|
| |
October 24th, 2007, 04:36 AM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
I end up with this error.
Error creating thumbnail! Error code: 1
Command:
"/usr/local/bin/mogrify" +profile "*" -size 160x120 -quality 80 -geometry 160x120 -unsharp 10 '/home/xx/xxxxxxx/forums/html/photopost/data/500/thumbs/afking.jpg'
|
| |
October 24th, 2007, 08:20 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
well two things can be wrong there.
1. Your permissions are not 777 on your thumbs directory under 500. Your data folder must be 777 at every level.
2. Your imagemagick install installed there is not installed with proper permissions for you to access it. Have you tried having your host install with root access how we say to install it?
|
| |
October 24th, 2007, 04:20 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
I check all the directories, they are set to 777. I type the command mogrify from my home directory and the photopost directory just to be sure and it executes just fine.
I get the following error when trying to upload new images.
Error creating thumbnail! Error code: 1
Command:
"/usr/local/bin/mogrify" +profile "*" -size 160x121 -quality 80 -geometry 160x121 -unsharp 10 '/home/xx/xxxxxx/forums/html/photopost/data/500/thumbs/afk.jpg'
|
| |
October 24th, 2007, 04:34 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
Interesting try editing your image-inc.php file and remove this Code: Content visible to verified customers only.
|
| |
October 24th, 2007, 07:07 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
Well, I removed that line and it uploaded the new image just fine. It seems to work well. The watermark was overlayed the comments where intact.
Any idea what would ahve caused this to happen?
|
| |
October 24th, 2007, 07:21 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
your using an older imagemagick which does not work with profile statement.
|
| |
October 25th, 2007, 04:02 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
When I do convert -version I get this.
Version: ImageMagick 6.2.9 01/02/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
I thought that was pretty new. Isn't 6.3 current the newest build?
|
| |
October 25th, 2007, 04:09 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
Just and FYI in the support area it talks about how to install ImageMagick without ROOT access and refers to ImageMagick 5.8.2 with a link. Someone may want to update that link.
Thanks for the help, Chuck!
|
| |
October 26th, 2007, 03:46 AM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007
Posts: 18
|
On the following page, which is from the how to install without root access, offers the 5.3.8.2.tar.gz.
I guess I didn't even really read the page you link to because I didn't have root. http://www.photopost.com/magicknoroot-php.html |
| |
October 26th, 2007, 09:19 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,664
|
ah okay without root not with root |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:47 PM. | |