default userpic

Another 502 error, during blog entry post

Vote 0 Votes

I had everything working fine for a couple of days, then all the sudden now I can't post entries on my blog. I log in with my username, click on "Write Entry" to create a post.

I type it up and click "Save," then I get the error.
____________________________________________________________________
502 - Web server received an invalid response while acting as a gateway or proxy server.

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
___________________________________________________________________

If I click "Manage > Entries" the title is saved, but the HTML file is never created, nor is the data in the Subject or Body saved...

So confused... can anyone offer help. I thought I"ve checked permissions everywhere I can think of.???

Damon

Reported on Movable Type 4.2

8 Replies

| Add a Reply
  • What server are you hosting this on? Is it running IIS7?

  • Yes, I have my own server... Win 2008 Server Ent. w/ IIS7

  • I've checked the folder where the blog is saved...

    IUSR has "write" permissions to the entire folder.

    Also, for what its worth...

    Check Config:
    http://www.abruzere.com/mt/mt-check.cgi

    Blog site
    http://www.abruzere.com/abruzereblog/

    Damon

  • 2008 / IIS7 seems to have a few teething troubles with CGI.

    Although this relates to PHP does this help at all
    http://techsupportoncall.blogspot.com/2008/08/horde-error-502-web-server-received.html

  • Rob, thanks for the link. So far, I still can't figure it out, so I tried to create a completely new install on a completely new URL, folder structure, database schema, etc...

    Go figure, everything (so far) is working perfectly. I'm completely paraphrasing here, but:

    - Downloaded Fresh MT-4.25-en files
    - Created new site folder C:\inetpub\blogsite\
    - Copied MT files in to .\mt directory
    - (IIS 7) Created new Site (blog.domain.com)
    - (IIS 7) In "Handler Mappings," Created .pl & .cgi Script Maps to perl.exe "%s" %s (Make sure to add exception for ISAPI)
    - (IIS 7) Create virtual directory for /mt folder (Point /mt to physical folder location (/mt maps to C:\inetpub\blogsite\mt\)
    - (IIS 7) Add permissions for IUSR account with proper permissions (PERMIT: read & execute, List folder content, read, write)
    - (MYSQL) In "Catalog," create new Database Schemata (movabletype)
    - (MYSQL) In "User Administration," give mt_user privileges to the "movabletype" Database Schemata (SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, ALTER, CREATE_TMP_TABLE)
    - (IE7) Navigate to url - "http://blog.domain.com/mt/"
    - (MT) Go through MT wizard
    - (MT) Site was created

    Now, hopefully it will continue to work. I'm now curious about some of the plugin installations I did previously because that's the only thing I remember that was different?

    Thanks again Rob,
    Damon

  • I am 99% certain it is a Windows 2008 / IIS7 issue rather than an MT issue.

  • No doubt in my mind! :) Thanks again for the help. If you can think of what permissions that may have been altered, please do let me know!

  • Well... it happened again. Everything seemed to be working fine all day, then it just started giving me the 502 error again?

    I hadn't logged in to my webserver all day. They only thing I had done was create my main website with 2 blogs on it.

    Now if I try to access the login page mt.cgi, or any other page, I get 502 error...

    I had gone to Facebook to integrate my "Blog This" application to my new blog; which didn't work by the way...

    So, I went back to my Dashboard and refreshed the screen to the 502 error! WTF? I seriously haven't changed anything... no permissions, no files... the only thing I've done is change setting from within the Dashboard and published updated blog entries and files.

    ugh...

    Rob, any advice on where I can look for that IIS issue you may have heard about?

    Thanks,
    Damon

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012