Copied to clipboard

Flag this post as spam?

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


  • gtzoumis 4 posts 24 karma points
    Sep 29, 2009 @ 10:06
    gtzoumis
    0

    xslt: Cannot find the script or external object that implements prefix 'urn:uForum'

    Hello, I have installed umbraco v 4.0.2.1 and some packages including Runway and uForum successfully, then I configured the membership and access to the pages. Then I signed in and accessed page Forum but an error appeared in the page:

    Error parsing XSLT file: \xslt\Forum-overview.xslt
                    Error parsing XSLT file: \xslt\Forum-topicsList.xslt

    I created a page "Create Topic" and another one "Display Topic" with the corresponding templates and then I created a topic but after submit I get the error page with the following message:

    No umbraco document matches the url 'http://www.emn.gr/forum/Create-topic/1-Topic-1.aspx'
    umbraco tried this to match it using this xpath query'/root/node/node [@urlName = "forum"]/node [@urlName = "new-topic"]/node [@urlName = "1-topic-1"]')

    Then I looked the "Forum-overview.xslt" file for error, when I save it the error I get is :

    System.Xml.Xsl.XslTransformException: Cannot find the script or external object that implements prefix 'urn:uForum'.
    

     

    Despite that, the other file "Forum-topicsList.xslt" with the same code in the beginning:

    <xsl:stylesheet 
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxml="urn:schemas-microsoft-com:xslt"
    xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"
    xmlns:uForum="urn:uForum"
    xmlns:uForum.raw="urn:uForum.raw"
    exclude-result-prefixes="uForum uForum.raw msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets ">


    doesn't show any errors.

    Can you help in any way?

     

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Sep 29, 2009 @ 13:13
    Morten Bock
    0

    Looks like it did not install completely. You should get a new 404 handler and a new xslt extension in your config files.

    Did the database get updated with the uForum tables?

  • gtzoumis 4 posts 24 karma points
    Sep 29, 2009 @ 13:46
    gtzoumis
    0

    I see the tables in the database and the record when I added the new Topic but no new 404 handler or xslt extension, could you provide the lines because after uninstall and reinstall the same problem appears.

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Sep 29, 2009 @ 17:23
    Morten Bock
    0

    For the 404 handler:

    <notFound assembly="uForum" type="iNotFoundHandler"/>

    For the xslt extension:

    <ext assembly="/bin/uForum" type="uForum.Library.Xslt" alias="uForum" />
    <ext assembly="/bin/uForum" type="uForum.Library.RawXml" alias="uForum.raw" />

    There are also som rest extensions, but they are not used in the base install:

    <ext assembly="/bin/uForum" type="uForum.Library.Rest" alias="uForum">
            <permission method="NewTopic" allowAll="true" />
            <permission method="NewComment" allowAll="true" />
            <permission method="HasAccess" allowAll="true" />
    </ext>

  • gtzoumis 4 posts 24 karma points
    Sep 30, 2009 @ 09:20
    gtzoumis
    0

    Thank you very much!

    The problem with the xslt have been solved!

    but I still have no forums list in Forum start page even if there is discuss-runway forum by default,

    and when I click the link to a topic in the topics list I get the same error message

    No umbraco document matches the url 'http://www.emn.gr/forum/Create-topic/1-Topic-1.aspx'
    umbraco tried
    this to match it using this xpath query'/root/node/node [@urlName
    = "forum"]/node [@urlName = "new-topic"]/node [@urlName = "1-topic-1"]'
    )

     

  • gtzoumis 4 posts 24 karma points
    Sep 30, 2009 @ 10:18
    gtzoumis
    0

    I restarted umbraco and the problem solved.

    Thank you very much for your time!

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies