Patrick Schoenfeld

MT5: Editor is broken

Vote 0 Votes

Hi,

I'm just getting started with MT5, to which I try to migrate from a blogspot blog. So far I've imported the blogspot posts, which went fine. I'm trying to setup two blogs, where one is going to be served from the main domain and the second from a sub-domain.

Structure is like:
/mt -> htttp://mt. (configured as CGI-Path and AdminCGI path)
/blog1 -> http://
/blog2 -> http://blog2.

Except a minor problem with the static dir (it does not seem to work, to load CSS files from an URL instead of a relative path) this seems to work fine.

However, I have a major problem, because I'm unable to edit entries. When I edit an entry the editors text field is simply empty. If I save it, the post will be empty, too.
The same holds true for new entries: Creating and saving creates empty entries.

What could be the problem causing this?

Thanks and best Regards,
Patrick

Reported on Movable Type 5

7 Replies

| Add a Reply
  • Argh. Sorry. Using HTML tags to add placeholders is not a good idea.

    Structure is:
    /mt -> http://mt.domain
    /blog1 -> http://domain
    /blog2 -> http://blog2.doma8in

  • Oh. I meant:

    Structure is like

    /mt -> http://mt.domain
    /blog1 -> http://domain
    /blog2 -> http://blog2.domain

  • Hi Patrick,

    Paste here the CGIPath and StaticWebPath directives from inside your movable type installation mt-config.cgi file.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • Hi,

    actually I found the solution to the problem tonight and it was related to my static directory on another subdomain.

    My basic idea was:
    * http://mt.domain.tld for the movable type administration interface. physically located in /mt
    * http://static.domain.tld for the mt-static directory. physically located in /mt-static
    * http://domain.tld for blog1, physically located in /blog1
    * http://tech.domain.tld for blog2, physically located in /tech

    The advantage of that would have been that I could have both blogs on different domains, but still sharing a common MT installation, just by pointing the subdomains at the proper directories.

    For this I configured
    CGIPath -< http://mt.domain.tld
    StaticWebPath -< http://static.domain.tld

    AFAICT MT would have been okay with this, but browsers not. I figured that the editor in MT is javasript-powered, whereas the javascript lay in the static directory. If they are loaded from a subdomain which is different from the domain, where MT is running, the browser will not allow them to access the document.
    I read something about setting document.domain via javascript before the javascripts take action, but that would require changing movable type and I wouldn't know how to do that.

    So in the end I switched to a setup where all domains point at the directory root and pages are dispatched via RewriteRules, so that apache internally rewrites request to tech.domain.tld to /tech/. That was quiet tedious, but works now.

    Thanks anyway.
    Best Regards

  • Hi Patrick,

    You could still have multiple domains use a single movable type installation by setting up symlinks for the /cgi-bin/mt/ and the /mt-static/ folders.

    Then inside the mt-config.cgi file you would provide the CGIPath and StaticWebPath using relative URLs.

    i.e.

    /cgi-bin/mt/
    /mt-static/

    If you don't know what a symlink is and how to set it up, and if after searching on the web about this you still don't understand the concent, then ask your hosting support to do it for you.

    Tell them where the actual 2 folders are (under which domain) and then tell them which other domains you would like to be symlinks of that one.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

    • Hi,

      yeah, I thought about the symlink solution as well, but as far as I understood it, my provider does not allow symlinks (at least not in the package I have). Now I have some hints, indicating that this information I got is wrong but for now my setup is running and so I don't plan to change it, at least not for now.

      Thanks for your help anyway.
      Regards,
      Patrick

  • Hi,

    yeah, I thought about the symlink solution as well, but as far as I understood it, my provider does not allow symlinks (at least not in the package I have). Now I have some hints, indicating that this information I got is wrong but for now my setup is running and so I don't plan to change it, at least not for now.

    Thanks for your help anyway.
    Regards,
    Patrick

  • You're welcome Patrick!

    If you plan to consider a better hosting provider, let me know and I would be happy to get you on board.

    http://www.pro-it-service.com/en/movabletype_hosting.html

Add a Reply

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

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

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

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

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

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

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