coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: flashgordon on March 21, 2005, 04:56:50 AM

Title: Upgrade to 2003 breaks file upload
Post by: flashgordon on March 21, 2005, 04:56:50 AM
Can someone tell me what is going on here?  We upgraded from Server 2000 to Server 2003 and now the upload file function errors out part way through.

We can actually upload the file, but when we click continue, we get an error.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Thanks!!!!

Here is my debug:

USER:
------------------
Array
(
    [ID] => 345dc81fcf14849b9759600629cab383
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Can't Upload Files
Post by: Joachim Müller on March 21, 2005, 07:02:33 AM
post a link and non-admin test user account with upload privileges (with debug_mode enabled for everyone and notcies_display disabled in coppermine's config, and "upload method" set to "Single file uploads only" in coppermine's "groups" panel for all relevant groups.

Joachim
Title: Re: Can't Upload Files
Post by: flashgordon on March 22, 2005, 06:39:22 AM
Ok, here you go:

http://cramers.cdw3.com
Username: test
Password: test

Have at her.
Title: Upgrade to 2003 breaks file upload
Post by: flashgordon on March 23, 2005, 05:20:47 PM
We upgraded our server from 2000 to 2003 and the upload file function stopped working.  Could this be some problem with the code and an upgrade migration of operating systems?

Can you take a look:

http://cramers.cdw3.com
Username: test
Password: test
Title: Re: Upgrade to 2003 breaks file upload
Post by: kegobeer on March 24, 2005, 01:12:25 AM
No problems with the code.  I ran 1.3.2 and 1.4+ and other PHP apps on Server 2003 without incident.  Definitely a server configuration issue.

Here are some links I found that deal specifically with your CGI error message.  Hopefully one of them will point you in the right direction.

http://www.ubbcentral.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=7;t=001719;p=0
http://support.olnevhost.net/docs/php/faq.installation.html#faq.installation.cgierror
http://us3.php.net/manual/en/install.windows.php

The second link will probably give you the most information, and the third deals with installing PHP on Windows.
Title: Re: Upgrade to 2003 breaks file upload
Post by: donnoman on March 24, 2005, 05:09:23 AM
default install of IIS on Windows 2003 server has some goofy rights you have to clean up first.

In 2003 there is a DENY right thats set for the IIS user, you have to remove that from the directories where you need the IIS user to write.

DENY trumps all, even if you have specifically granted the IIS user write access, you have to go into the advanced tab, stop inheritance, edit the "special" rights, and remove the DENY.