I seem to be getting a lot of isearchable errors since upgrading to dnn 10.
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0
ExceptionHash:U000x4xTPJEsRcaJ62KORiZFTDU=
Message:Could not load type 'DotNetNuke.Entities.Modules.ISearchable' from assembly 'DotNetNuke, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null'.
StackTrace:
InnerMessage:Could not load type 'DotNetNuke.Entities.Modules.ISearchable' from assembly 'DotNetNuke, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null'.
InnerStackTrace:
at Ventrian.SimpleGallery.Controls.GalleryMenu.AssignLinks() at Ventrian.SimpleGallery.Controls.GalleryMenu.Page_Load(Object sender, EventArgs e)
ExceptionHash:IdnXaPBvc5Yv9mVAe5A9/xGfdi8=
Message:Method not found: 'System.Object DotNetNuke.Common.Utilities.CBO.FillObject(System.Data.IDataReader, System.Type)'.
InnerMessage:Method not found: 'System.Object DotNetNuke.Common.Utilities.CBO.FillObject(System.Data.IDataReader, System.Type)'.
at Ventrian.SimpleGallery.Entities.TemplateController.Get(Int32 moduleID, String name) at Ventrian.SimpleGallery.Controls.ViewAlbums.InitializeAlbumTemplate() at Ventrian.SimpleGallery.Controls.ViewAlbums.BindAlbums() at Ventrian.SimpleGallery.Controls.ViewAlbums.Page_PreRender(Object sender, EventArgs e)
ISearchable has been deprecated (replaced by ModuleSearchBase) and was removed in DNN 10. Someone will need to update Simple Gallery.
ISearchable
ModuleSearchBase
I don't know if you are using Open Content? I created a Template for it to replace Simple Gallery. It's not a one on one replacement, but for most of our clients it does the job:
https://github.com/40fing.../04.00-Image-Gallery
Thanks Timo,
I'll have a look now, not used the open conternt module so be a refreshing change.
Regards
Craig
DNN 10.0 platform seems good so far. Accessing admin persona bar pages was a little slow the first time I accessed them but they are good now. My problem is related to my modules I've created that use datajs, Odata and EF. Some work and some don't. I can't figure it out because they all use the same components I've listed. I know I need to catch up with the newer frameworks and I'm open too anything that works with SQL databases.
I'm stuck trying to get roles, specifically whether the current user is a "Content Editor". The script I was using contained the following line:
DotNetNuke.Entities.Users.UserInfo userInfo = DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo();
It looks like GetCurrentUserInfo() doesn't work. Has it been replaced with something new? I discovered I can use UserInfo.IsAdmin (don't know if that's new or not) but it would be great if there was a UserInfo.IsEditor property.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.