default userpic

Problems after MT 3.2 to 4.261 upgarde

Vote 0 Votes

I have two problems.

1) Reported by upgrade process:

Movable Type was unable to locate your 'mt-static' directory. Please configure the 'StaticFilePath' configuration setting in your mt-config.cgi file, and create a writable 'support' directory underneath your 'mt-static' directory.

But I can see 2 mt-static directories. One is in /public_html and the other is in /public_html/mt. Both have a July 5 2009 date. Which to use? Both existed before the upgrade as well.

I look in mt-config.cgi and do not see StaticFilePath but I do see StaticWebPath commented out.

Also, how can I know that permissions are set properly?

2) Comments do not work.
I had previously been using mt-altcomments.cgi in order to reduce the load on my server from spammers. If I do:
http://www.futurepundit.com/mt/mt-comments.cgi?entry_id=6341
or I move mt-comments.cgi to mt-altcomments.cgi and do:
http://www.futurepundit.com/mt/mt-comments.cgi?entry_id=6341
either way I get
An error occurred.
Invalid request.

Reported on Movable Type 4.2

4 Replies

| Add a Reply
  • I tried setting
    StaticFilePath /home/myaccounthere/public_html/mt-static

    and did a refresh on this page:
    http://www.futurepundit.com/mt/mt.cgi

    and I still see the error at the bottom of no mt-static directory.

    What is mt-static for anyway?

  • Another clue on mt-static: When I go to edit an entry on one of my blogs I see this use of mt-static in the HTML that MT generates:

    So it thinks that the mt-static that matters is below the mt directory. Yet I set the path to:
    StaticFilePath /home/myaccounthere/public_html/mt-static

    So is it ignoring StaticFilePath? Or do I have to set StaticWebPath too?

    Mind you, I do not mind if I have to use:
    /home/myaccounthere/public_html/mt/mt-static
    instead of:
    /home/myaccounthere/public_html/mt-static

    I just want something that works. Is there some reason to prefer one of those locations over the other?

    I also still have my problem with comments not working. I would appreciate even guesses as to what to do about it.

  • I have another clue on the failure to show comments. When I go to edit the Comment Preview Template I get this:

    One or more errors were found in this template.

    * at line 47 is unrecognized.
    * at line 48 is unrecognized.
    * at line 48 is unrecognized.

    I think these are for the SCode plugin that is still installed. How do I migrate to the MT way to show CAPTCHA?

  • Answer:

    http://www.movabletype.org/documentation/designer/mt4s-comment-templates-for-use.html

    This is what you use to replace the SCode MTSecurityCode and MTSecurityImage:

    <MTIfNonEmpty tag="MTCaptchaFields">
    
    

    <MTIfCommentsAccepted>
    <MTIfRegistrationAllowed>
    <MTElse><$MTCaptchaFields$>
    </MTIfRegistrationAllowed>
    </MTIfCommentsAccepted>

    <div id="comments-open-captcha">
    </div>

    </MTIfNonEmpty>

Add a Reply

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

Forum Groups

64 196

Last Topic: movable type 5 custom fields by kljx on Mar 17, 2010

1004 3223

Last Topic: Create Offline Backup by Jackie on Mar 17, 2010

482 1976

Last Topic: ¿Any command line tool to rebuild MT? by Nicolás on Mar 16, 2010

102 360

Last Topic: Saving an entry...what is happening by jdbeast00 on Mar 12, 2010

57 127

Last Topic: Anyone using Disqus with MT5? by Jim S. on Mar 17, 2010

19 69

Last Topic: Custom main index page by Richard on Feb 7, 2010

43 172

Last Topic: by MG on Feb 20, 2010

11 22

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

55 205

Last Topic: URL Problems by NoSnaiL on Mar 17, 2010

code.sixapart.com

129 448

Last Topic: Action Stream for Google Buzz by jack lail on Feb 16, 2010

160 498

Last Topic: Installed custom Asset markup by spierce on Mar 15, 2010