Copied to clipboard

Flag this post as spam?

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


  • Simon steed 376 posts 688 karma points
    Jul 20, 2011 @ 18:23
    Simon steed
    0

    New install = No umbraco document matches the url 'http://website.local/blog/'

    Hi Anthony,

    Nice package - I think :-) Ok new site install, 4.7 and using 1.4 beta. All installs fine, however if I preview the Blog node (renamed from My Blog where same issues arose), I can view the site no problem.

    however if I goto website.local/blog/ I get the error shown below, but if I goto website.local/blog it works

    Stumped me here, if I navigate to website.local/blog/posts/ it works - even tried setting a redirect on the blog node to posts but same problem

    Gotta be something stupid i'm doing here but cannot fathom it out atm

    Anyone got any ideas?

    Si

    Page not found

    No umbraco document matches the url 'http://website.local/blog/'

    umbraco tried this to match it using this xpath query'/root/*/* [@urlName = "blog"] | /root/* [@urlName = ""]')

    This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.

    For more information, visit information about custom 404 on the umbraco website.

    This page is intentionally left ugly ;-)

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 20, 2011 @ 23:36
    Anthony Dang
    1

    This normally happens when a url either has no node, OR the node has no template assigned to it.

    Does the node named "blog" have a template?

     

     

  • Simon steed 376 posts 688 karma points
    Jul 20, 2011 @ 23:44
    Simon steed
    0

    Sure does - it's the My Blog node that you installed from your package, template is assigned and node deffo exists - very strange!

  • Simon steed 376 posts 688 karma points
    Jul 21, 2011 @ 10:54
    Simon steed
    0

    OK uninstalled it again and reinstalled from the package repository, same problem - going to sack it as have no time to sort this out. May try another time with an empty project and see how it performs there

    Si

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 21, 2011 @ 11:09
    Anthony Dang
    0

    what about renaming the node?

  • Simon steed 376 posts 688 karma points
    Jul 21, 2011 @ 11:28
    Simon steed
    0

    Same thing - works fine if I add .aspx to the end but not using extensionless url's. If I turn off the web.config setting for nice urls it works ok, just not otherwise no matter what the node is named as.

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 21, 2011 @ 12:06
    Anthony Dang
    0

    Super bizar!

    I've never come across that type of error before.

     

    Does anyone else out there have a solution?

     

  • Simon steed 376 posts 688 karma points
    Jul 21, 2011 @ 12:14
    Simon steed
    0

    Aye very weird - installed into a fresh new site and it's all working fine, however I noticed the root url was /. In my other site, I already have a root node so uBlogsy installed under /My Blog/ - seems that if you retrospectively add the package to an existing site, the rewriting does not work for a strange reason. I may try installing again but moving under the main site root instead of a sep node tree (which is my preferred way) and see how it goes.

  • Simon steed 376 posts 688 karma points
    Jul 21, 2011 @ 12:22
    Simon steed
    0

    OK installed into original site, moved under the main site Home node and it's seemingly working now - not gone through all the pages but will test more later, at least it's a working site (ish) :-)

    Just doesnt like being outside of the site root when it doesnt own the root node /

    Si

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 21, 2011 @ 13:21
    Anthony Dang
    0

    So let me see if i get this. Your content tree had multiple site roots? So it was looking like this:

    -Yoursite
    -My Blog 

    If this is the case, then by default, Umbraco only recognises the first root. There is a config setting to allow multiple roots.

     

    Making My Blog a child of Yoursite should work just fine:

    -Yoursite
    -My Blog 

     

  • Simon steed 376 posts 688 karma points
    Jul 21, 2011 @ 13:43
    Simon steed
    0

    Yes but i've used that structure many times in the past with no issues, as you say moving my blog under yoursite works.

  • Adam 9 posts 30 karma points
    Nov 15, 2011 @ 07:44
    Adam
    0

    Hi guys,

       I have the same problem and I can't figure out a solution. I installed uBlogsy 1.3.6 and it installed to the root; I then moved it into my site's node. I'm running Umbraco 4.7.1

    I'm unable to view a blog post (same error Simon posted above). Even the macros render no output:

      <h2>Blog postsh2>
      <umbraco:Macro ItemCount="10" Small="0" Alias="uBlogsyListPosts" runat="server">umbraco:Macro>
      <h2>Blog RSSh2>
      <umbraco:Macro Alias="uBlogsyShowRSSLink" runat="server">umbraco:Macro>
      <h2>Blog archiveh2>
      <umbraco:Macro AltLayout="0" Alias="uBlogsyListPostArchive" runat="server">umbraco:Macro>

      <h2>Blog Categoriesh2>
    <umbraco:Macro Alias="BlogCategories" runat="server">umbraco:Macro>
      <h2>Blog Commentsh2>
    <umbraco:Macro Alias="uBlogsyListAuthors" runat="server">umbraco:Macro>
      <umbraco:Macro ItemCount="5" Small="0" Alias="uBlogsyListComments" runat="server">umbraco:Macro>
      -------------------------
      <umbraco:Macro ItemCount="5" Small="1" Alias="uBlogsyListComments" runat="server">umbraco:Macro>

     

    outputs:

    Blog posts

    Blog RSS

    Blog archive

    Blog Categories

    Blog Comments

    -------------------------

    I did publish all blog posts. Should there be uBlogsy templates that correspond to the doc types? I can't select a template when view the blog items in Content view.

    Now for some reason the uBlogsy macros no longer appear in the macro list when editing a template.

    Thanks in advance for any help

    Adam

  • Adam 9 posts 30 karma points
    Nov 15, 2011 @ 08:50
    Adam
    0

    ok, so I uninstalled (which is quite a pain in the @ss) and installed 1.3.5.1 

    now I don't get the error Simon posted, but all of the macros throw errors:

    Blog posts

    Error loading Razor Script uBlogsyListPosts.cshtml
    Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.

    Blog RSS

    Error loading Razor Script uBlogsyShowRSSLink.cshtml
    Object reference not set to an instance of an object.

    Blog archive

    Error loading Razor Script uBlogsyListPostArchive.cshtml
    Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.

    Blog Categories

    Blog Comments

    Error loading Razor Script uBlogsyListAuthors.cshtml
    Item has already been added. Key in dictionary: 'uBlogsyLanding' Key being added: 'uBlogsyLanding'

    0 Comments:

     

    -------------------------

    Error loading Razor Script uBlogsyListComments.cshtml
    Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.
  • Simon steed 376 posts 688 karma points
    Nov 15, 2011 @ 09:48
    Simon steed
    0

    Are you sure you have Umbraco installed correctly? That looks to me more like Razor dlls missing?

  • Adam 9 posts 30 karma points
    Nov 15, 2011 @ 09:50
    Adam
    0

    yeah - all my other razor macros run fine...

  • Adam 9 posts 30 karma points
    Nov 16, 2011 @ 14:21
    Adam
    1

    When I use an older version of umbraco.MacroEngines.dll the uBlogsy macros work 100%, but my other macros break.

     

    This is definitely a bug in uBlogsy:

    https://www.google.com/search?q=Method%20not%20found:%20'System.Collections.Generic.List%601%20umbraco.MacroEngines.DynamicNodeList.get_Items()'.

    all the top references refer to uBlogsy...

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 16, 2011 @ 23:28
    Anthony Dang
    0

    Which version of Umbraco and uBlogsy are you using?

    Umbraco 4.7.1 had some breaking changes.

    uBlogsy 1.3.6.1 works with 4.7.1


  • Adam 9 posts 30 karma points
    Nov 17, 2011 @ 06:59
    Adam
    0

    I'm using 4.7.1

    uBlogsy 1.3.6.1 didn't work for me in 4.7.1 - I had the same errors Simon listed at the beginning of this post.

     

  • Adam 9 posts 30 karma points
    Nov 18, 2011 @ 11:06
    Adam
    0

    Since I was clearly left to my own devices, I decided to uninstall 1.3.5.1 (again) and re-install 1.3.6.1 (again).

    This time it seems to work...

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 18, 2011 @ 12:46
    Anthony Dang
    0

    It always had to have something to do  with dlls.

    4.7.1 had some breaking changes from 4.7.0

    Just one of those quirks we have to be accepting with when it comes free software. 

     

Please Sign in or register to post replies

Write your reply to:

Draft