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.
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
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.
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.
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 /
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:
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.
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()'.
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 ;-)
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?
Sure does - it's the My Blog node that you installed from your package, template is assigned and node deffo exists - very strange!
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
what about renaming the node?
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.
Super bizar!
I've never come across that type of error before.
Does anyone else out there have a solution?
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.
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
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
Yes but i've used that structure many times in the past with no issues, as you say moving my blog under yoursite works.
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
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
Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.
Blog RSS
Object reference not set to an instance of an object.
Blog archive
Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.
Blog Categories
Blog Comments
Item has already been added. Key in dictionary: 'uBlogsyLanding' Key being added: 'uBlogsyLanding'
0 Comments:
-------------------------
Method not found: 'System.Collections.Generic.List`1 umbraco.MacroEngines.DynamicNodeList.get_Items()'.
Are you sure you have Umbraco installed correctly? That looks to me more like Razor dlls missing?
yeah - all my other razor macros run fine...
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...
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
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.
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...
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.
is working on a reply...