Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hey guys, this solution have had problems with the medialibrarying beeing "empty" atleast according to the backend for a long time, and we've decided to give it another go to try and fix it.
Here's the log info from umbracoLog
id userId NodeId Datestamp logHeader logComment
161708 0 -1 2013-02-07 13:29:37.170 Error At /umbraco/webservices/TreeDataService.ashx?rnd=1251c1c91e7d4dffbaf5879638fe5ec5&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=13.3 (Referred by: http://localhost/umbraco/umbraco.aspx): ;
Hi Jais
What version of Umbraco are you using?
Any chance it's 4.9?
/Jan
I'm running 4.7.0
When i try and call the URL i get the following stacktrace:
[NullReferenceException: Object reference not set to an instance of an object.] umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode) +237 umbraco.cms.presentation.Trees.BaseTree.CreateRootNode() +201 umbraco.cms.presentation.Trees.BaseTree.Initialize() +425 umbraco.cms.presentation.Trees.BaseTree.get_RootNode() +39 umbraco.loadMedia.CreateRecycleBin() +281 umbraco.loadMedia.Render(XmlTree& tree) +68 umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +225 umbraco.presentation.webservices.TreeDataService.GetXmlTree() +229 umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +128 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +857 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +182
I checked the node table and i have a node with ID -20 and -21 and they both have the text Recycle bin?
Edit: I triede deleting both nodes and running this insert script:
SET IDENTITY_INSERT [umbracoNode] ON INSERT [umbracoNode]([id] ,[trashed] ,[parentID] ,[nodeUser] ,[level] ,[path] ,[sortOrder] ,[uniqueID] ,[text] ,[nodeObjectType] ,[createDate]) VALUES (-21, 0,-1,0,0,'-1,21',0,'BF7C7CBC-952F-4518-97A2-69E9C7B33842','Recycle Bin','CF3D8E34-1C1C-41E9-AE56-878B57B32113',getDate()) SET IDENTITY_INSERT [umbracoNode] OFF
I triede looking at the link that gets pushed when i click media archive this is the link:
http://localhost/umbraco/tree.aspx?rnd=f0f766f52b754c4a9973e4c5399b5fe0\u0026id=-1\u0026treeType=media\u0026contextMenu=true\u0026isDialog=false
this is the results is:
/bump
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
medialibrary section empty
Hey guys, this solution have had problems with the medialibrarying beeing "empty" atleast according to the backend for a long time, and we've decided to give it another go to try and fix it.
Here's the log info from umbracoLog
id userId NodeId Datestamp logHeader logComment
161708 0 -1 2013-02-07 13:29:37.170 Error At /umbraco/webservices/TreeDataService.ashx?rnd=1251c1c91e7d4dffbaf5879638fe5ec5&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=13.3 (Referred by: http://localhost/umbraco/umbraco.aspx): ;
Hi Jais
What version of Umbraco are you using?
Any chance it's 4.9?
/Jan
I'm running 4.7.0
When i try and call the URL i get the following stacktrace:
I checked the node table and i have a node with ID -20 and -21 and they both have the text Recycle bin?
Edit: I triede deleting both nodes and running this insert script:
I triede looking at the link that gets pushed when i click media archive this is the link:
this is the results is:
/bump
is working on a reply...