Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David F. Hill 122 posts 242 karma points
    Dec 07, 2010 @ 02:54
    David F. Hill
    0

    blog4umbraco xslt problems

    Hello Umbraco Colleagues,

    I, too, am having problems with blog4umbraco: "Error parsing XSLT file:" for every macro on the page:

    BlogRssFeedLink, BlogListPosts, Blogpages, BlogCategories, BlogArchive, BlogLatestComments, BlogBlogroll, and BlogGetSkinInfo.

    I tried removing \bin\ from xsltExtensions.config and this removed the errors for BlogListPosts, BlogArchive, BlogBlogroll, and BlogGetSkinInfo but no output was rendered in their place.

    No posts are displayed, no

    This is a clean install of Umbraco 4.5.2 ASP.Net 4 + blog4umbraco 2.0.26.

    I've tried a number of things but nothing has helped. Any suggestions? I need a Blog for some upcoming projects.

    David

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Dec 07, 2010 @ 08:32
    Sebastiaan Janssen
    0

    You didn't happen to enable legacy schema right.

    Other than that: try deleting the umbraco,config, do an iisreset and republish all of your nodes (by selecting the "also republish children"checkbox. Then check that ithe new schema is used consistently in the new umbraco.config.

    Also try adding umbDebugShowTrace=true to your querystring to find out what errors you may be getting.

  • David F. Hill 122 posts 242 karma points
    Dec 07, 2010 @ 16:33
    David F. Hill
    0

    Thank you, Sabastian. Unfortunately no joy yet.

    I didn't enable legacy schema - I don't know how to identify if the legacy schema is used by looking at umbraco.config. It is a clean install, however.

    I added umbDebugShowTrace to the querystring - each xslt error begins with "Value was either too large or too small for an Int32."

    The output is quite long - so I won't post it here. I see no pattern in each xslt file where it's blowing up.

    BlogRssFeedLink.xslt:line 34

    Blogpages.xslt:line 26

    BlogCategories.xslt:line 20

    BlogLatestComments.xslt:line 18

    No error is reported for BlogListPosts.xslt - yet no output is being produced - even though there are two blog posts in the tree.

    Same is true (no error) for BlogArchive.xslt.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Dec 07, 2010 @ 17:21
    Kim Andersen
    1

    David, did you install "Blog4Umbraco_2.0.26.zip" or "Blog4Umbraco_2.0.26_for_4.5.zip"?

    The errors you are having ("Value was either too large or too small for an Int32") usually occours because a XSLT extension that needs an integer, fails. Extensions like umbraco.library:NiceUrl, umbraco.library:GetMedia etc. If it is the version of Blog4Umbraco that's designed to work with v4.5 ("Blog4Umbraco_2.0.26_for_4.5.zip") that you have installed, you could try checking the XSLT code to see if the values that the extensions need are not empty. Just an idea :)

    /Kim A

  • David F. Hill 122 posts 242 karma points
    Dec 07, 2010 @ 18:01
    David F. Hill
    0

    I installed B4U_2.0.26.zip not the "Blog4Umbraco_2.0.26_for_4.5.zip". That was the problem.

    Reinstalled and now it's working.

    Thank you, Kim. I didn't even know about the 4.5 version.

    David

  • Kim Andersen 1447 posts 2196 karma points MVP
    Dec 07, 2010 @ 20:35
    Kim Andersen
    0

    Great to hear that you got it working David!

    /Kim A

Please Sign in or register to post replies

Write your reply to:

Draft