CGI Error on Windows Machine when logging into CP
Posted: 22 May 2008 03:34 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Hey Guys,

I have tried everything I know to get this working but still no luck….

I have moved a site to Windows IIS hosting running PHP 4 as CGI (I think).

The front end is working fine after I forced query strings and a couple of other tricks but I cannot log into the admin. The login page shows fine… but after my password has been accepted I receive following message:

CGI Error

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

Now in my config I have:

$conf['send_headers'] = "n";
$conf['gzip_output'] = "n";
$conf['force_query_string'] = "y";

which all seem to be working.

Any other ideas?

For the record:

PHP Version 4.4.2
Microsoft-IIS/6.0

Hmm…. might be having an issue with the redirect…. looking into it now

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 22 May 2008 03:43 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Ok I just added:

$conf['user_session_type'] = "s";
$conf['admin_session_type'] = "s";
$conf['redirect_method'] = "refresh";

No lunk :(

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 22 May 2008 07:12 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

I’d never seen this one before, but it has turned up a few times in the forums. 
http://expressionengine.com/forums/viewthread/57649/
http://expressionengine.com/forums/viewthread/11578/

Those are the most relevant ones.  What’s the url you get w/the message on it- disguising the system folder, of course.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 22 May 2008 04:11 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

The url is stock standard…. http://218.185.20.40/$sitepreview/dev.paralympiceducation.org.au/** admin ** /index.php but only after I log in…. I’m 99% sure it has to do with the login and then redirect but I’m not sure how to fix it…

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 22 May 2008 05:47 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

Leevi, the $sitepreview isn’t stock standard. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 22 May 2008 06:23 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006
Sue Crocker - 22 May 2008 05:47 PM

Leevi, the $sitepreview isn’t stock standard. smile

Yeah its bloody smartyhost.com.au!

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 22 May 2008 06:27 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

Hmmm… can you fake it with changing your hosts file? Swapping out the IP address for a domain name.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 22 May 2008 06:35 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

After hearing back from you, I’m closing the thread.

The solution was to change to Linux hosting.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64983 Total Logged-in Users: 36
Total Topics: 82024 Total Anonymous Users: 16
Total Replies: 440860 Total Guests: 216
Total Posts: 522884    
Members ( View Memberlist )
Newest Members:  hotglassladyariepChris Bandytony leodennisbaldwinhazlett_davidkpspokeli9htcluizmbent