PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 1st, 2004, 09:31 AM   #1 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Installing PhotoPost on IIS6 with ImageMagick

Hi There. I'm installing PhotoPost on behalf of a client who has purchased it recently. I am trying to install PhotoPost on IIS6 machine (2003 server). Using ImageMagick and PHP4.3+. When uploading files, this is the error message I'm getting:

Error creating thumbnail! Error code: -1

Command:

"c:/progra~1/ImageMagick-6.0.2-Q8/mogrify.exe" -size 100x75 -quality 70 -geometry 100x75 C:/www/galleries.photographers.co.uk/wwwroot/data/2/11-thumb.jpg


I have ensured that IUSER has full permissions on the folder and running out of solutions. Any ideas would be appreciated.
AdderSolution is offline   Reply With Quote
Old July 1st, 2004, 09:33 AM   #2 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Ah. Forgot to add. I have also run mogrify through command prompt and it all works fine. E.g, managed to create a thumbnail etc.

I am also running ISAPI version of PHP after someone suggested that the CGI version is not very good at forking.
AdderSolution is offline   Reply With Quote
Old July 1st, 2004, 09:36 AM   #3 (permalink)
donb
Guest
 
Posts: n/a
Quote:
Make sure you have set permissions on cmd.exe and make sure the IWAM and IUSER accounts have access to your web install. ImageMagick can be tough on IIS I have spent a few days on some getting it to work. I have never had one yet I could not install but it is a pain to say the least.
So sayeth Chuck
  Reply With Quote
Old July 1st, 2004, 09:40 AM   #4 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Cheers for the quick reply donb..

I have given IUSER and IWAM full control over the root of the website.

Not clear about your reference to cmd.exe .. You mean to give IWAM execute permissions over IWAM?
AdderSolution is offline   Reply With Quote
Old July 1st, 2004, 09:56 AM   #5 (permalink)
donb
Guest
 
Posts: n/a
IWAM/IUSR needs to be able to run cmd.exe
  Reply With Quote
Old July 1st, 2004, 10:14 AM   #6 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
By that I assume give IWAM and IUSER full permissions on c:\windows\system32\cmd.exe file?

If so, I have done it but still getting the same error message.
AdderSolution is offline   Reply With Quote
Old July 1st, 2004, 10:19 AM   #7 (permalink)
donb
Guest
 
Posts: n/a
And they have permission to execute mogrify.exe as well?
  Reply With Quote
Old July 1st, 2004, 10:19 AM   #8 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Ah.. Will just try now
AdderSolution is offline   Reply With Quote
Old July 1st, 2004, 10:22 AM   #9 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Hmm.. Just tried it but the error code has switched from -1 to 1:

Error creating thumbnail! Error code: 1

Command:

"c:/progra~1/ImageMagick-6.0.2-Q8/mogrify.exe" -size 100x75 -quality 70 -geometry 100x75 C:/www/galleries.photographers.co.uk/wwwroot/data/2/11-thumb.jpg
AdderSolution is offline   Reply With Quote
Old July 1st, 2004, 10:35 AM   #10 (permalink)
donb
Guest
 
Posts: n/a
Another thing which might help, move your IM to c:\im instead of c:\program files\blah blah...

The ~ thing will often kill it.
  Reply With Quote
Old July 2nd, 2004, 03:36 AM   #11 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Still no joy chaps..


Error creating thumbnail! Error code: 1

Command:

"c:/im/mogrify.exe" -size 100x75 -quality 70 -geometry 100x75 C:/www/galleries.photographers.co.uk/wwwroot/data/2/11-thumb.jpg


Can anyone from PhotoPost enlighten us as to what Error Code 1 is all about please?
AdderSolution is offline   Reply With Quote
Old July 2nd, 2004, 09:12 AM   #12 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 12
Finally!

Reading through the forums, I found this little gem:

Quote:
Originally Posted by Tpol
I have a friend of mine that using Win2K and the pathīs has spaces and no problem.
If anyone is having problems with Imagemagick that got error when creating thumbnails the solution is very simple:

In image.inc.php look for fs_exec command.

REplace ALL fs_exec commands to SHELL_EXEC, EXCEPT the FIRST command !!!!

That is all and very simple. I think itīs because the Old versions of PHP.

But works fine in all versions !!!

have fun !!!

Tpol

Someone please put this somewhere more obvious to find, E.G., The Incredibly Sparse Instructions!!!!!!
AdderSolution is offline   Reply With Quote
Old July 2nd, 2004, 12:56 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Error Code 1 is usually no permission to run
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 20th, 2006, 02:38 PM   #14 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I've re-installed the operating system on my webserver along with PHP, mySQL and ImageMagick. I could not get PhotoPost to work - I tried everything! Eventually I came across this post and implemented this:

In image.inc.php look for fs_exec command - replace ALL fs_exec commands to SHELL_EXEC, EXCEPT the FIRST command

and now PhotoPost works but all the thumbnails aren't really thumbnails - they're the same size as the photos I've uploaded. My 'Thumbnail image max width and height in pixels' is set to 100 - what do I need to do to correct this?

Last edited by criscokid; March 20th, 2006 at 02:42 PM.
criscokid is offline   Reply With Quote
Old May 24th, 2006, 02:20 PM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 7
I'm having the exact same problem criscokid is.

Here's what I've done so far...

Verify permissions for IUSER and IWAM for data, uploads directories, cmd.exe, and mogrify.exe

Remove +profile \"*\" twice and set the OS to NT in image-inc.php.

Verified the path to mogrify.exe

Does anyone else have any ideas about how to solve this issue?

Thanks in advance!

Last edited by Matt Gordon; May 24th, 2006 at 03:36 PM.
Matt Gordon is offline   Reply With Quote
Old May 24th, 2006, 04:24 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Your data and uploads directories have those how about everyone and guest are they set to READ WRITE AND EXECUTE. Sometimes getting mogrify to work on windows is not possible and users alot of times just give up and go to GD2
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 1st, 2006, 03:44 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 7
I'm still having the problem of the script not creating thumbnails.
I need to work with GIF's, so GD2 isn't an option.

I have the thumbnail image size set to either 100 or 150 (I've tried both).

It does create a thumbs folder in the data directory and places an image...

for example, /data/520/thumbs/picture.jpg

...but it's not thumbnail-sized.

Interestingly, when I click on the link under the picture to tag it as the index thumb, it does create the thumb and puts it on the index page. But on the member gallery pages and category gallery pages, all pictures are full-size.

So it *can* create the thumb, but the app just isn't doing it on its own when it's supposed to.
Matt Gordon is offline   Reply With Quote
Old June 1st, 2006, 03:55 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 7
Talking

SOLVED!

Thank You DonB for this advice...


Quote:
Originally Posted by donb
Another thing which might help, move your IM to c:\im instead of c:\program files\blah blah...

The ~ thing will often kill it.

I didn't have the ~ thing, but moving the .exe into it's own directory exactly as DonB advised did the trick!

Thanks again!
Matt Gordon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Imagemagick<-->Photopost compatibility Firefox Photopost Pro Installation & Upgrades 2 May 28th, 2005 08:03 AM
Installing PhotoPost 4.8.5 and vBulletin 3.0.3 Megamack Photopost Pro Installation & Upgrades 1 December 23rd, 2004 09:03 AM
a problem installing photopost.......please help Cro2 Photopost Pro Installation & Upgrades 1 September 29th, 2004 05:17 AM
Installing Photopost to a different domain than listed on License... clockwood8494 Photopost Pro Installation & Upgrades 1 August 14th, 2004 01:14 PM
Error in step 3 when installing photopost classifieds lygren Classifieds Installation & Upgrades 1 July 27th, 2004 10:35 PM


All times are GMT -5. The time now is 12:07 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0