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

13 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(<$mt:StaticWebPath$>themes-base/blog.css);
        @import url(<$mt:StaticWebPath$>themes/minimalist-red/screen.css);
        
      • "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(<$mt:StaticWebPath$>themes-base/blog.css);
        @import url(<$mt:StaticWebPath$>themes/minimalist-red/screen.css);
        
    • 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")

  • (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).

Add a Reply

Forum Groups

108 371

Last Topic: Sub-Blog by qubix on Nov 12, 2008

153 412

Last Topic: Custom Entry Field by Clifton on Nov 14, 2008

37 149

Last Topic: registration email not showing up by eraserhead on Nov 12, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

10 40

Last Topic: dynamically load a different template set by Mixhael on Nov 12, 2008

code.sixapart.com

63 226

Last Topic: Submit error – again by Yves Luther on Nov 13, 2008

36 101

Last Topic: Installation problem on OS X by ldroll on Nov 14, 2008