Image Picker

Feb 19, 2015 at 6:08 PM
Edited Feb 19, 2015 at 6:10 PM
I have a case where the image picker is not showing files in a particular directory. That same directory shows fine in the File Manager and the Rich Text Editor's Image Manager.

I've checked permissions. Where else should I look.

DNN 7.3.4 and 2sxc 6.6.0
Coordinator
Feb 19, 2015 at 7:16 PM
Please provide more specs to your problem

I assume it's an file field - did you add a root folder to the field config? or are you seeing many folders, and when you click, it shows you an empty folder? 1-2 screenshots would help too
Feb 19, 2015 at 7:45 PM
Edited Feb 19, 2015 at 8:40 PM
It is a hypertext field, and I configured it only to use the image picker. So, yes it is a fileid field.   When it starts up, it shows the portal root and subdirectories. But, the subdirectory named images shows no files (there are some) and no subdirectories.   This is how it opens:       The folder named images has files and subdirectories, but they don't show:       Other folder that contain images show them, and also subdirectories.     
Feb 19, 2015 at 8:42 PM
OK, that wasn't successful.

In the meantime, though, I have noticed errors in the eventlog that are obviously related:

AssemblyVersion:7.3.4
PortalID:0
PortalName:xxxxxxx
UserID:1
UserName:host
ActiveTabID:174
ActiveTabName:Wireless Engineering
RawURL:/DesktopModules/Admin/RadEditorProvider/DialogHandler.aspx?portalid=0&tabid=174&DialogName=ImageManager&Skin=Default&Title=Image+Manager&doid=ce523720-f0bf-465d-b69c-c2687e241bfa&dpptn=&PreselectedItemUrl=File%3a2385&dp=EAESSmhrezQlSHR0VmIERyMAVwRiEWozIV4vclNgCkQPWGJIGG9KMGtwancgBmV3HxF1VX52aywmeQ9de3EDRxdZVxZbd0AaEF0BKldjZWgUX1RyJW5oEFBybhEVcHlPHAMnDFdmSTYRXwNrYQYqBhZYcQ5cK3o2Fl0vK39ZWwcXdERLJX5eHmsGQBcVcWkJERAgUlB0fzYRXwNrYQYqBhZcX3Jid2oLFV0NI2VyQ0Yaa1sJFn5CHmIZbhUVFkdCFRMeWFB0fzEQXwNYel8TARVlQwNdAwF2DXsvD1NafQUXXVsIDH0DAlVzXBAOcGlCHAMsbldlQREJaRdQYHMbQxgAAgZbdkgHEl8FKWQHQ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Yfy8mZHQAYWJzWyBkfQd1EnoWFWZzcmdxdggTYg0F
AbsoluteURL:/DesktopModules/Admin/RadEditorProvider/DialogHandler.aspx
AbsoluteURLReferrer:http://xxx.com/DesktopModules/Admin/RadEditorProvider/DialogHandler.aspx?portalid=0&tabid=174&DialogName=ImageManager&Skin=Default&Title=Image%20Manager&doid=ce523720-f0bf-465d-b69c-c2687e241bfa&dpptn=&PreselectedItemUrl=File%3a2385&dp=EAESSmhrezQlSHR0VmIERyMAVwRiEWozIV4vclNgCkQPWGJIGG9KMGtwancgBmV3HxF1VX52aywmeQ9de3EDRxdZVxZbd0AaEF0BKldjZWgUX1RyJW5oEFBybhEVcHlPHAMnDFdmSTYRXwNrYQYqBhZYcQ5cK3o2Fl0vK39ZWwcXdERLJX5eHmsGQBcVcWkJERAgUlB0fzYRXwNrYQYqBhZcX3Jid2oLFV0NI2VyQ0Yaa1sJFn5CHmIZbhUVFkdCFRMeWFB0fzEQXwNYel8TARVlQwNdAwF2DXsvD1NafQUXXVsIDH0DAlVzXBAOcGlCHAMsbldlQREJaRdQYHMbQxgAAgZbdkgHEl8FKWQHQ0saZVR3FX5CH1MHbisOL2FLHysrTld2ADUWXHBrYQQXThUCYQd1LQUbEF4rDH9bdkYMA1xCFApGNlMtajQnFn1XCgMeUVB7fygIdQxCZVgERyIAZnZuK1wvJwIBKlZwW0sPdWJBJW9nNXwCQBcRBGl8HAF1dlZlZzAldi1lZWEHTRd0ZQ92AHIRE2dzdWZgdQUVa3JLIwp0LWMsVDEZF31IIysRSmBedzcnAxRCemY1TAx2enF1AnE0DAINLmtveVsidXJQJXBgKlIsDTgPB2FBIhERSn9wSRAJXDJJbgQmexJ0X3d1Dn4XDl4wOmhzeXondVwODHB8EnwsSzoacFd3FQAeTXx7fxAJXDJJbmMmfxZkdRR1Dn4XDl4wOmtaAnYUdVRtDHwCcWMsVDEZFHlBJHUgQ2hrewAmA3QBbWJ3BBR6eTdcK1woGWsJF1dvcV0XXnZMG2tKAWgWQDgZEkRPCgAOcX1ncxEmZxhGYXJ3YyJeQxV2EHYpIWcoO2thV2IhdH5NFWBkEFMUYjAWLVdrJQEWcX1rXRIXdDEDbXJzRyADQxhrHmYUEQIZOGVbW3ogdHVPFlZwL2NwYgYacwMNC3QJQGRdXRIXdDEDbXJzRyADQxhrHn4JEWUJcGhyZgAhdGJ%2BD2x0LnwtbnMVFgJ%2FJ3cOYWddcy8WSy0EYWAqfyVfYTVaAUQiFHYoe30HYV0hdGYIG25wLlUGUDgPB2FBIhERSn9wSREWdBt1bXJzeyVkZTVZAVwXEWcGO2RxZX8NdXJqEWwCcWUGfjcZcmVQHHQRSmBedzcnAxRCenY6VRdIYXFuKmoNE2c3D1AFfVkhdFwOGGBgNlNzDRMaGWFXCgMeUVB7fygIdQBCbVgpARNkQxhsKHooEUkvcWRxUAQiAWJgJH9KLFQVVAEUKlBAJQEOSX1lfx4SAAt2YF4mRwx1ejtrKnYpIWcoO2thV2IhdH5IDm14LGIEci8VBFANJyooYVd1fyUTdHQDbXMqfyBeQxhsHml0FWsBMVAFdVoWdHYIIHB%2FNWcJcnMZEkRPCgAWfGBYfy8mZHQAYWJzWyBkfQd1EnoWFWZzcmdxdggTYg0F
UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:1c6a2837-457d-40ef-a49a-5e10890f9c66
InnerException:Unable to complete operation. An unknown error occurred. /Portals/0/Images/
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.AddChildDirectoriesToList
StackTrace:
Message:
DotNetNuke.Providers.RadEditorProvider.FileManagerException: Unable to complete operation. An unknown error occurred. /Portals/0/Images/ ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.AddChildDirectoriesToList(DirectoryItem radDirectory)
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.GetDirectoryItemWithDNNPermissions(String path)
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.ResolveRootDirectoryAsTree(String path)
--- End of inner exception stack trace ---
Source:
Server Name: GENERIC226

Any ideas here?
Coordinator
Feb 19, 2015 at 8:55 PM
Nope, no idea ATM.

For now I would say out of scope, probably not a 2sxc bug.

especially because of the msg
System.NullReferenceException: Object reference not set to an instance of an object. 
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.AddChildDirectoriesToList(DirectoryItem radDirectory) 
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.GetDirectoryItemWithDNNPermissions(String path) 
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.ResolveRootDirectoryAsTree(String path) 
--- End of inner exception stack trace --- 
Feb 19, 2015 at 8:58 PM
Yeah ... probably agree ... <g>

May 11, 2015 at 9:32 AM
Edited May 11, 2015 at 9:38 AM
aaaaaaaarrrrggggg!
I found this in log:
InnerStackTrace: at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.AddChildDirectoriesToList(DirectoryItem radDirectory)
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.ResolveRootDirectoryAsTree(String path)

So i go on file manager, refresh all directory structure and it work!!!!!!!!!!!
I hope this help to other like me
Thansk
Fabio
Coordinator
May 11, 2015 at 10:10 AM
So issue closed, DNN folder issue, easy to fix.