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 October 7th, 2005, 04:00 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 6
Exclamation New Install - CGI Error

Yes I searched through the forum, unfortuantely none of the proposed resolutions worked.


Setup:

Windows 2003
IIS 6.0
PHP Version 4.3.6
ImageMagick Version 6.2.5
vBulletin Version 3.0.7


Everything was configured and working properly except for the upload...

I kept getting a fork error with imagemagick.... did some searching, found it was a permission issue with cmd.exe, added read & execute permission for IUSR an IWAM

Try the upload again, and now I get the CGI Error.



Things I've done to find the issue:

- Checked to make sure PHP is running as .exe, it is
- Checked time out settings in php.ini set at 600 seconds
- Checked max file upload size in php.ini set at 20mb
- Rebooted the server



Can someone try and point me in the right direction.


Thanks in advance
Cobra_jack is offline   Reply With Quote
Old October 7th, 2005, 05:42 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
This is totally a permissions issue on the windows box. Double check IWAM AND IUSER HAVE TOTAL RIGHTS OVER CMD.EXE AND DATA AND UPLOADS DIRECTORIES

Most people end up dumping the idea of using imagemagick and edit there php.ini and to make sure there extention directory is set up uncomment the line to the gd2 dll and rebooted server and use 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 October 7th, 2005, 06:59 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 6
Quote:
Originally Posted by omegatron
This is totally a permissions issue on the windows box. Double check IWAM AND IUSER HAVE TOTAL RIGHTS OVER CMD.EXE AND DATA AND UPLOADS DIRECTORIES

Most people end up dumping the idea of using imagemagick and edit there php.ini and to make sure there extention directory is set up uncomment the line to the gd2 dll and rebooted server and use gd2

IWAM AND IUSER have FULL CONTROL Permision set on cmd.exe, the photopost directory and child nodes, and the imagemagick directory and child nodes.

When I did not have proper permissions I would get the following error:
Warning: exec(): Unable to fork [cmd.exe /c "C:/Program Files/ImageMagick/mogrify.exe" +profile "*" -size 100x75 -quality 70 -geometry 100x75 -unsharp 10


Am I missing something?

I have nothing against using GD2, but I was unable to find one that works with a Windows box.

http://www.boutell.com/gd/ states Windows DLL .zip (NOT CURRENTLY FOR PHP)
Cobra_jack is offline   Reply With Quote
Old October 7th, 2005, 07:32 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
the gd2 dll that comes with your php works fine with windows. He is referring to the one specifically downloaded on his site

The ones that come with the php you download from php.net is fine

Looks like you have everything set right but alas with permissions issues most people use GD2 cause on some php setups it gets quite quirky and the cgi error indicates a php issue but without some sort of server error i can not suggest a resolution.
__________________
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 October 11th, 2005, 02:17 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 6
Quote:
Originally Posted by omegatron
the gd2 dll that comes with your php works fine with windows. He is referring to the one specifically downloaded on his site

The ones that come with the php you download from php.net is fine

Looks like you have everything set right but alas with permissions issues most people use GD2 cause on some php setups it gets quite quirky and the cgi error indicates a php issue but without some sort of server error i can not suggest a resolution.


I guess I miss spoke in my first post... after looking at other viable options in getting this to work.. I've found that php was running as cgi...

I tried in vain upgrading to PHP 5.05 and running it in ISAPI mode... But After reading through dozens of how to's , I couldn't get it run properly, so I reverted back to PHP 4.40 as cgi.

I also enabled the GD2 extension in PHP.ini and it loads fine.

I made the following changes to my config-inc.php file:
$mogrify_command = "";
$usegd = 2


I still get the following error:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

I've spent more than 6 hours troubleshooting this, and I am at my wit's end


Please help
Cobra_jack is offline   Reply With Quote
Old October 11th, 2005, 03:17 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
$usegd=2 is not set in a config file anymore unless you have an old version

what version of our software do you have?

Did you go into the global options and set GD2 as the image processor?

url to install?
__________________
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 October 11th, 2005, 04:50 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 6
Quote:
Originally Posted by omegatron
$usegd=2 is not set in a config file anymore unless you have an old version

what version of our software do you have?

Did you go into the global options and set GD2 as the image processor?

url to install?

Your instructions at http://www.photopost.com/installphp.html state to set $usegd=2


I have version 5.2


Wooohoooo!


After you told me that $usegd=2 is not used in the config, I went into the DB table Settings, and found title "Imaging Integration (IM or GD)" and set setting = 2


and now it Works!!!
Cobra_jack is offline   Reply With Quote
Old January 3rd, 2006, 09:23 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 37
Do we use the $usegd = 1 command any more? and shouldn't be $usegd = "1";
LLIFE is offline   Reply With Quote
Old January 3rd, 2006, 09:37 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
$usegd is not set in any file nor is it set as you suggest. It is stored in the database and you can sign into admin and set it in global options which processor you are using.
__________________
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 May 24th, 2006, 01:48 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 16
edit............

Last edited by priapis; May 24th, 2006 at 01:51 PM. Reason: made a thread
priapis 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
install error? creekdawg Photopost Pro Installation & Upgrades 2 June 14th, 2005 03:13 PM
CGI Errors since upgrading to 5.1 when uploading MattUK Photopost Pro Installation & Upgrades 46 June 10th, 2005 12:23 PM
Error during install paratek Classifieds Installation & Upgrades 0 February 25th, 2005 10:07 AM
The specified CGI application misbehaved by not returning a complete set of HTTP head twynturboz Photopost Pro Installation & Upgrades 1 February 24th, 2005 08:26 AM


All times are GMT -5. The time now is 09:59 AM.

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