default userpic

Template, Editor And Categories Problems With 4.2 Upgrage

Vote 0 Votes

Hi

I've got a web designer to upgrade my MT blog from 3.x to 4.25 and it has taken him four days so far. He's about to give up working on the upgrade because of various problems that keep breaking after he's fixed them and I need some help.

Problem with template: whenever I edit title or discription of the blog from inside admin area then click on save, the saved template changes my specific designed template (with header.ssi and footer.ssi pages) to the MT default template. The default template can be seen here:

http://www.2-small-business.com/blog/index.shtml

Why is this happening and how can this be fixed?

Problem with Write Entry function: I cannot write or paste text in the body area because the cursor does not enable (flash) to allow text to be pasted or written in the body area. I can enter text in the Title, Tags, Excerpt and keywords fields but not in the body area below the editor.

Categories: no list of categories appear in the "Create Entrty" page. The heading "Categories" appear with edit link to the right but clicking on edit link does nothing. The categories can be seen when I click on "Manage" then categories.

If you can help me fix these three issues I would be very grateful.

Thanks for you time.

Regards
P

Reported on Movable Type 4.2

14 Replies

| Add a Reply
  • I just went through this upgrade (four days is a lot for the record, only took me the better part of one day), and had some issues too, but not these ones exactly.

    One thing I can suggest is that a fresh install gave me much fewer problems than trying to install over the old MT. I.e. I moved the old MT directory and uploaded a fresh one and started the upgrade from there. Assuming he backed up your database, this shouldnt be so hard to try, and its worth a shot imho.

  • It sounds like there are a couple of issues.

    In general sounds like issues with the mt-static directory, has it been uploaded completely, is in in the location that MT thinks it is in.

    The write entry problems sound like you are accessing the site on a different address than is specified in the mt-config.cgi under CGIPath.

    Also you are currently running Perl 5.6.1, while it run on that version only Perl version 5.8.1 or above are officially supported by Six Apart.

  • Thanks for your kind suggestions but after doing a fresh install the same problems with the editor (body area still doesn't allow posting) and categories (cannot see categories and cannot add new categories) persists.

    My Designer is completely lost as to what to do next. He asks whether the problem could be due to the version of perl (5.6.1) running on my server whereas MT blog 4.25 runs on Perl version 5.8.1 or above.

    I would appreciate suggestions to try next. Failing this, I'll have to revert back to my old 3.x version.

    Thanks
    P

  • To add to my earlier post, my designer said I should include the following:

    CGIPath: http://www.2-small-business.com/blog/
    StaticWebPath: http://www.2-small-business.com/blog/mt-static

    Note: I have no idea what above paths are suppose to prove. Perhaps he's making the point that the CGIPath is correct and that he doesn't know what to try next.

    I hope this additional information is useful.

    Ponsi

  • Hello

    In the absense of a solution I've decided to go back to my 3.x MT blog. Very disappointing. If I decide to upgrade blog in future, I'll install Wordpress instead.

    Pons

  • When you connect to edit posts do you connect via

    http://2-small-business.com/blog/mt.cgi
    or
    http://www.2-small-business.com/blog/mt.cgi

    I don't know if you are in the middle of swapping back at the moment, but the static web path posted does not exist / not accessible, which would explain the problems.

    An old perl version would not cause the issue with the editor as it is rendered via JavaScript.

  • Rob

    I sent my designer to this forum post. Here's what he said:

    "I checked with the latest comment, but that doesn't change anything since the path is correct. The path exists and is accesible. He gets that error because there is no index.html in the mt-static directory. That's the way the server is configured. That leaves only the perl version."

    Does this make any sense?

    Please let me have your frrd back.

    Thanks
    Ponds

    • With regard to:

      Problem with Write Entry function: I cannot write or paste text in the body area because the cursor does not enable (flash) to allow text to be pasted or written in the body area. I can enter text in the Title, Tags, Excerpt and keywords fields but not in the body area below the editor.

      Try doing that in Firefox and open the Error Console (under the Tools menu). Scroll down to the bottom. If you see JavaScript errors there, especially cryptic ones that vaguely mention security violations, it's because you're accessing your site from the wrong URL. What Rob posted above is the most likely reason for this behavior.

      That behavior isn't Movable Type's fault, it's a modern browser security mechanism. Domains with www. before them are not the same as those without them. www.domain.com is, in fact, a sub domain of domain.com. If the browser treated the two as being logically equivalent, that would make it far easier for a hacker to put a cross-site scripting attack on your site without you knowing about it. All they'd have to do is hack your host's network, add some subdomain, throw a script on there, and get that script to load on your main domain and website, and all of your users would be screwed. Modern browsers fight that by treating all variations of a domain as different, so things like cookies from one domain are inaccessible to scripts running on a subdomain.

    • If your designer wants to email me to discuss, my email is in the notification to you get with the comments.

  • Thanks Rob, Mike and Mooner.
    My Designer tried all your suggestions but they didn't work.

    I've reverted back to MT 3.3

    Thanks and regards
    Pons

    • It could actually be the Perl version. Read this. If you are trying to install 4.25 on a server with only 5.6.1 it could very well be a version issue, as SixApart is pretty explicit that you need at least 5.8.1 to be running under a configuration that they support.

  • If I remember correctly, I had something like this. The problem in my case was that the scropt was reading mt-static files from a wrong version of MT.

  • I have faced this problem on upgrades (currently using 4.25 with comm & pro packs) and I believe I have uncovered several problems and any one or all of them can lock you out of editing entries, templates etc. Try the following:

    1. Try clicking "save" and see if the editor comes back to Normal (this fixes the problem - do not know why?)

    2. Make sure that the ownership of the $MT_HOME/cgi-bin/mt directory and the $MT_STATIC_ROOT/mt-static are owned by apache (or whatever user your server runs as)[do chown -R ...]

    3. Make sure that the cgi-bin/mt and mt-static directories have write and execute bits set (SA or somebody should write a script that sets the permissions just right) in the meantime I use chmod -R ug+rwx XXX/cgi-bin/mt YYY/mt-static

    4. The admin user has all the priviliges

    5. The user has the right priviliges to edit

    6. MT DB is set up so that the DB user (one listed in mt-config.cgi - DBUser) has all the priviliges on the MT DB

    7. There are several other things that I do not recall

  • Dear Pondsi,

    Is your problem solved?

    Kind Regards,
    Mihai Bocsaru

Add a Reply

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

Forum Groups

1195 3842

Last Topic: Comment form customization by anisa on Feb 8, 2010

60 184

Last Topic: Dynamic Publishing - Blank Screen by Sivaram M on Dec 15, 2009

955 2987

Last Topic: MT5 - Cookie Problems by Dave Cross on Feb 9, 2010

68 213

Last Topic: How to add Custom Fields by gregoryttp on Feb 5, 2010

19 67

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

42 169

Last Topic: I want to write my own wordpress plugin by Xarzu on Jan 31, 2010

11 21

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

52 178

Last Topic: Assets - No options by Chelle on Feb 5, 2010

code.sixapart.com

128 444

Last Topic: ActionStream with Movable Type 5.01 by Parneix on Jan 24, 2010

154 468

Last Topic: URGENT! Help needed w/ Virus by PhilContrino on Feb 1, 2010