In order to improve my chances of finding problems I sometimes run into when building new components, I've have been trying to debug through the Umbraco source. I have setup a site locally and I was running fine until started debugging from the source.
Then suddenly the Content tree was empty. Using Fiddler I can see the calls performed, but I'm not quiet sure which one to look for when trying to find out what goes wrong.
All the other trees are also empty - Media, Developer etc
I'm using Umbraco 4.5.2 on Windows Server 2008 R2.
That's the file I have been looking at but I can't find the code in the treedataService.ashx.cs file to process the call. I don't see that request in Fiddler either - that's properly the reason why my tree is empty.
So the question narrows down to - why doesn't this service get called
I went tthrough the links without finding THE solution. I did however click the Create button at the top - I have never been using it before so I guess that why I haven't seen it before.
The create dialog pops up and shows my content ???. When I then create content by clicking the root node I get
No Document exists with Version '00000000-0000-0000-0000-000000000000'
I then do the same clicking a subnode and the node gets created. I can see it in the create Dialog but still not in the Content tree ??
So I guess it's not an Ajax problem since the tree is displayed in the Create Content dialog.
Debugging the Umbraco source
Hi
In order to improve my chances of finding problems I sometimes run into when building new components, I've have been trying to debug through the Umbraco source. I have setup a site locally and I was running fine until started debugging from the source.
Then suddenly the Content tree was empty. Using Fiddler I can see the calls performed, but I'm not quiet sure which one to look for when trying to find out what goes wrong.
All the other trees are also empty - Media, Developer etc
I'm using Umbraco 4.5.2 on Windows Server 2008 R2.
So my question is: Which call loads the tree?
Thanks
Paul S
/umbraco/webservices/TreeDataService.ashx?rnd=xxxxxxxx&id=-1&treeType=content&contextMenu=true&isDialog=false&rnd2=xx.x
Hi
That's the file I have been looking at but I can't find the code in the treedataService.ashx.cs file to process the call. I don't see that request in Fiddler either - that's properly the reason why my tree is empty.
So the question narrows down to - why doesn't this service get called
Thanks
/Paul S
Sounds like a javascript issue then... Javascript not getting loaded? Can you take a look with Firebug if there are 404 requests? (Net tab)
Hi
Fiddler says
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
3661 404 HTTP localhost:6759 /favicon.ico 2.308 private text/html; charset=utf-8 chrome:3840
Have you checked out the other questions about empty trees for your solution?
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/5343-Content-Tree-empty
http://our.umbraco.org/forum/getting-started/installing-umbraco/9940-Empty-Tree-Nodes
http://our.umbraco.org/search?q=empty%20tree&content=forumTopics,forumCategory,
Have you checked out the other questions about empty trees for your solution?
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/5343-Content-Tree-empty
http://our.umbraco.org/forum/getting-started/installing-umbraco/9940-Empty-Tree-Nodes
http://our.umbraco.org/search?q=empty%20tree&content=forumTopics,forumCategory,
Hi
I went tthrough the links without finding THE solution. I did however click the Create button at the top - I have never been using it before so I guess that why I haven't seen it before.
The create dialog pops up and shows my content ???. When I then create content by clicking the root node I get
No Document exists with Version '00000000-0000-0000-0000-000000000000'
I then do the same clicking a subnode and the node gets created. I can see it in the create Dialog but still not in the Content tree ??
So I guess it's not an Ajax problem since the tree is displayed in the Create Content dialog.
/Paul S
is working on a reply...