default userpic

Stylcatcher Not Working

Vote 0 Votes

I notice the Stylecatcher is not working since upgrading to 4.2 from 4.1. Even in a completely fresh blog (not a fresh installation, just a newly created blog on the same installation), nothing happens. When I select a style, nothing appears in the Current Style block and nothing gets applied.

Since it happens even in a new blog, what system-wide things can I look for that might be stopping the stylecatcher from working? Any ideas?

Reported on Movable Type 4.2

21 Replies

| Add a Reply
  • I wasn't able to reproduce this, can you reply with step-by-step guide to reproducing the issues?

  • When you upgraded, did you start with a clean 4.2 mt-static directory or did you copy things from the 4.1 mt-static directory to the 4.2 mt-static directory?

  • At first I started with a clean mt-static directory, but as per my reply here http://forums.movabletype.org/2008/08/known-mt-421-upgrade-issues.html#comment-6725 I re-uploaded my "userpics,assets-c, uploads and themes directories." You think something might be wrong with the themes directory?

    • The themes directory will change things, but shouldn't cause StyleCatcher to break.

      What template set are you using? When you edit your the index template for your stylesheet does it have the Template Type "Stylesheet (styles)"

      (Please use the reply links on comments to ensure that the person you're replying to gets your "reply")

      • "The themes directory will change things, but shouldn't cause StyleCatcher to break."

        It's a Classic Blog.

        "What template set are you using? When you edit your the index template for your stylesheet does it have the Template Type "Stylesheet (styles)""

        Yes, it does, and doesn't change from:

        @import url(themes-base/blog.css);
        @import url(themes/minimalist-red/screen.css);

  • (Note: There is a publishing error on this page... the above duplicated comments are not duplicated in the database... we're looking into this publishing issue. I've been unable to reproduce this issue on local test installs of MTCS Forums)

  • I have a very similar problem; I had a clean MT 4.2 installation and the builtin StyleCatcher was sort of working; when I upgraded to StyleCatcher 2.2 it does not work and has the same symptoms that Solomon is reporting.

  • Sorry...just coming back to this...

    I have installed SC 2.2...republished the blog (the newly created one)...and it seems to work (though interestingly the "current style" box is still blank). I dunno, but it works. I thank you for the help. (I may return!)

  • For those here willing to play with the Perl code, I sent Mark Paschal a bug fix suggestion that looks like this:

    if ($base_css_url) {

    my $uri = $app->static_path . $base_css_url;

    #URI->new_abs($base_css_url, $app->static_path);

    $base_css = '@import url(' . $uri . ');'

    if $uri;

    }

    That's in the file CMS.pm in the stylecatcher plugin lib directory. Edit at your own risk, but it solved my problem. What I found was that the Perl URI package was silently dying somehow. Damnedest thing.

    • I'm sure I did it wrong, but it messed me up more. Now I've fixed it and...styles aren't changing again. Gah. :)

    • OK...partially working. I see if I select a style from the "Saved Styles" or "Default Styles" then nothing happens. If I choose one from the MT 4 Style Library, then it "takes" (though in no case does anything show in the "Current Style" box).

  • Has this problem been resolved? I installed 4.21 in a fresh environment and the style catcher work fine once but now some times it say's "you will need to rebuild" or simple "applied" but either way nothing changes. The styles are preview alright.
    Any suggestions?

  • I tried the perl fix mentioned above, but I'm still getting an error:

    Can't locate object method "delimiter" via package "JSON"

    I installed SC 2.2 after reading about the upgrade to 4.25. Perhaps I am missing something here?

  • I am also experiencing this error after upgrading to 4.25 -- I've tried the cms.pm fix in sc 2.2, but no luck.

  • That Perl fix was for only 1 of the possible issues with StyleCatcher.

    • default userpic

      Activity log :

      Unnamed plugin died with: Can't call method "innerHTML" on an undefined value at /home/users/web/ . . . /cgi-bin/mt/addons/Commercial.pack/lib/ CustomFields/App/CMS.pm line 1279

  • What is curious about this error in the activity log (to me) is that it appears even if all plugins are disabled system wide.

    Why would that be?

  • Still have not found the answer to this yet, but my next line of approach is going to be to look for remenants of removed plugins. Seems this is an unfortunate lapse with the documentation for all plugins as they require thoughtful consideration in their removal from the system . . .

    Maybe a project could be seeded from this? Anyone interested in that? I'll host.

    http://www.indocsindexing.com/indeximotion/

  • Well anyhow, reinstalling the Mid-Century plugin fixed this for me.

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