I installed the Articulate version 2.0.2 in an existing Umbraco v7.3.1 site. Unforunately the tags & categories are not shown in the Categories & Tagcloud widgets. They are shown though below the article but when I click the links, I get a 404. Any idea what could cause this problem? Any guidance to debugging the problem would also be helpfull.
Hi sorry for the late reply, any chance you have this sorted out by now? Have you done a site restart to see if that changes anything? Any errors in your logs? Is this an empty site or part of an existing site?
The problem is not solved yet. I installed the Articulate version 2.0.2 in an existing Umbraco v7.3.1 site. Restarting the sited didn't help.
Also no usefull error logs, at least as for as I know. The following lines are shown in the log file when I go to the blog list.
2016-04-06 17:43:16,036 [P6160/D2/T14] WARN Umbraco.Web.UmbracoModule - Status code is 404 yet TrySkipIisCustomErrors is false - IIS will take over.
When I install articulate in a new Umbraco installation (same version v7.3.1) it works. On the clean install I also installed the other packages which I had installed on my existing website and I had no problems, at least as long as:
Because I almost always set this setting to false for multilingual sites. In this case the tags and categories show up (on the new install) but clicking them results in a 404.
So it would seem the setting: umbracoHideTopLevelNodeFromPath is part of the problem? If you have everything working on a clean install and then change this value, does this bug occur?
No the setting: umbracoHideTopLevelNodeFromPath is only part of the problem on a clean install.
On my current site I never get to see the tags and categories in the side widgets. No matter what the value of this setting is. So I believe this are two seperate problems. The tags and categories are shown underneath the indivual posts though, but clicking these links results in a 404 (both with umbracoHideTopLevelNodeFromPath set to true or false).
Nope, none of that either ... it's a mistery to me also. Searched for have a day yesterday without any luck. :-(
These are the installed packages:
Also installed this on the clean install but there it worked.
My files are stored in source control and read only when not checked out. Could it be that during installations something was not written correctly to a file? I checked most of the config files already.
Well I don't understand how the categories and tags lists don't show up as links, that is super strange since those come from the database - can you check if those tags are in the tags table in the db?
As for the 404s, the tags/category routes are actual MVC routes and not Umbraco nodes. Those routes get mapped here on application startup:
I believe I found the problem. For some reason the tags and categories are duplicated in the database with group name "default" when the Blog node is moved. That's why the tags and categories are not found and the relationships don't work.
Hrm this is odd... I think I know the reason for this.
Articulate requires that the tags and categories are stored in the DB under particular tag category names:
"ArticulateTags"
"ArticulateCategories"
I think I may not have noticed this issue because I always use Live Writer to create my blog posts, in which case the API that Articulate uses for Live Writer integration always ensures these tag and category category names are set correctly. If you are just using the back office to create posts, then this category relies on the pre-values in the data types installed. The tags/categories for Articulate use custom Data types called "Articulate Tags" and "Articulate Categories", the pre-values for these should have the correct Tag Group assigned.
I've just checked in my installation and it's not set correctly, it lists 'default' which i think is incorrect. I'm not sure if this is the umbraco packagers fault or if I actually just forgot to update this.
So, can you try this:
In data types, go to: "Articulate Tags", change the "Tag Group" pre-value to be: "ArticulateTags" and save it
In data types, go to: "Articulate Categories", change the "Tag Group" pre-value to be: "ArticulateCategories" and save it
Now try creating a post and see if everything works as expected
The Tag Group value was correct in both the data types. After I deleted all the posts and the tags from the database, it worked correct again.
I guess that while moving the Blog node, at some point the tags are duplicated in the database with group "default" (probably moving the blog node underneath the home content node?).
Hey, just had the same issue, also moved the blog node after install to be under a homepage node. But in my case a republish of the blog and it's children fixed the issue...
@Gert- I am having this exact same problem. Came up when I deleted a bunch of posts and then re-imported my blog. I want to check the database to see if there are duplicate entries like what you found. How do you view and edit the database?
Thanks!
Nicole
EDIT: Figured it out- deleted the two extra table entries that were labelled 'default' but that didn't help. Solved the problem by deleting every single one of my posts and then re-importing them all.
Hi, I have a solution for everybody who still has a tag issue.
Include ArticulateTagsStartupHandler.cs file to your project and rebuild your solution. The script will automatically setup right groups and tags will appear.
Tags & categories not shown in the Categories & Tagcloud widgets
Hi,
I installed the Articulate version 2.0.2 in an existing Umbraco v7.3.1 site. Unforunately the tags & categories are not shown in the Categories & Tagcloud widgets. They are shown though below the article but when I click the links, I get a 404. Any idea what could cause this problem? Any guidance to debugging the problem would also be helpfull.
Thanks!
Regards, Gert.
Hi sorry for the late reply, any chance you have this sorted out by now? Have you done a site restart to see if that changes anything? Any errors in your logs? Is this an empty site or part of an existing site?
Hi Shannon,
No problem. Thanks for the reply.
The problem is not solved yet. I installed the Articulate version 2.0.2 in an existing Umbraco v7.3.1 site. Restarting the sited didn't help.
Also no usefull error logs, at least as for as I know. The following lines are shown in the log file when I go to the blog list.
When I install articulate in a new Umbraco installation (same version v7.3.1) it works. On the clean install I also installed the other packages which I had installed on my existing website and I had no problems, at least as long as:
Because I almost always set this setting to false for multilingual sites. In this case the tags and categories show up (on the new install) but clicking them results in a 404.
Any other things I could try? Thanks a lot!
Regards, Gert.
So it would seem the setting: umbracoHideTopLevelNodeFromPath is part of the problem? If you have everything working on a clean install and then change this value, does this bug occur?
No the setting: umbracoHideTopLevelNodeFromPath is only part of the problem on a clean install.
On my current site I never get to see the tags and categories in the side widgets. No matter what the value of this setting is. So I believe this are two seperate problems. The tags and categories are shown underneath the indivual posts though, but clicking these links results in a 404 (both with umbracoHideTopLevelNodeFromPath set to true or false).
Hrm, ok. Do you have custom routes setup or have other startup logic, custom content finders, etc.. ?
Nope, none of that either ... it's a mistery to me also. Searched for have a day yesterday without any luck. :-(
These are the installed packages:
Also installed this on the clean install but there it worked.
My files are stored in source control and read only when not checked out. Could it be that during installations something was not written correctly to a file? I checked most of the config files already.
Thanks. Gert.
Well I don't understand how the categories and tags lists don't show up as links, that is super strange since those come from the database - can you check if those tags are in the tags table in the db?
As for the 404s, the tags/category routes are actual MVC routes and not Umbraco nodes. Those routes get mapped here on application startup:
https://github.com/Shazwazza/Articulate/blob/fd43d5c69574f4067ce564d79640a83d27651b9a/src/Articulate/UmbracoEventHandler.cs#L49
And then the get re-mapped if the root node of Articulate is updated or moved.
Hi Shannon,
Tags are in the table, they show at the bottom of the post, but not in the side widgets.
I did move the blog node to my homepage node at first, but for testing the problem I moved it back to the root and set it as the first node.
I believe I found the problem. For some reason the tags and categories are duplicated in the database with group name "default" when the Blog node is moved. That's why the tags and categories are not found and the relationships don't work.
Regards, Gert.
Hrm this is odd... I think I know the reason for this.
Articulate requires that the tags and categories are stored in the DB under particular tag category names:
"ArticulateTags" "ArticulateCategories"
I think I may not have noticed this issue because I always use Live Writer to create my blog posts, in which case the API that Articulate uses for Live Writer integration always ensures these tag and category category names are set correctly. If you are just using the back office to create posts, then this category relies on the pre-values in the data types installed. The tags/categories for Articulate use custom Data types called "Articulate Tags" and "Articulate Categories", the pre-values for these should have the correct Tag Group assigned.
I've just checked in my installation and it's not set correctly, it lists 'default' which i think is incorrect. I'm not sure if this is the umbraco packagers fault or if I actually just forgot to update this.
So, can you try this:
Hi Shannon,
The Tag Group value was correct in both the data types. After I deleted all the posts and the tags from the database, it worked correct again.
I guess that while moving the Blog node, at some point the tags are duplicated in the database with group "default" (probably moving the blog node underneath the home content node?).
Regards, Gert.
That also seems a bit strange. Can you replicate that behavior? If so it would be worth logging an issue for it with the steps to reproduce.
Comment author was deleted
Hey, just had the same issue, also moved the blog node after install to be under a homepage node. But in my case a republish of the blog and it's children fixed the issue...
Thanks Tim for letting us know! Cheers! Gert.
@Gert- I am having this exact same problem. Came up when I deleted a bunch of posts and then re-imported my blog. I want to check the database to see if there are duplicate entries like what you found. How do you view and edit the database?
Thanks!
Nicole
EDIT: Figured it out- deleted the two extra table entries that were labelled 'default' but that didn't help. Solved the problem by deleting every single one of my posts and then re-importing them all.
Hi Nicole,
Sorry for the late answer. I'm using the SQL Server Compact/SQLite Toolbox tool for the Compact SQL database.
https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox
Cheers, Gert.
Comment author was deleted
Hmm hitting this again after moving the blog around.. now a republish doesn't do the trick
Hi, I have a solution for everybody who still has a tag issue.
Include ArticulateTagsStartupHandler.cs file to your project and rebuild your solution. The script will automatically setup right groups and tags will appear.
Hi fabulous developers,
Just wondering if there was any additional movement on this issue?
Thanks Lorraine
I solved to edit the table cmsTags.
is working on a reply...