YAFLogo

Posted by: Jammrock - Wednesday, 9 June 2010 18:21:10
I've tried the YAF DNN module from SourceForge and from tha_watcha. Every time I get this: A critical error has occurred. Object reference not set to an instance of an object. [i]EDIT:[/i] I got it working. Used IE from a faster connection and the extension got installed. [i]EDIT2:[/i] Now I get errors when I try to add the module to a page :( I'm logged in as the superuser (host), tried several times to make the page but it doesn't seem to work. From thos host server Event Viewer: [code]Exception information: Exception type: ReflectionTypeLoadException Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Request information: Request URL: http://xxxxxxxxxxxxxx/DesktopModules/YetAnotherForumDotNet/Default.aspx Request path: /xxx/DesktopModules/YetAnotherForumDotNet/Default.aspx User host address: xxxxxxxxxxxxxxxxxxxxxx User: xxxxxxxxxxxxx Is authenticated: True Authentication Type: Forms Thread account name: xxxxxxxxxxxxxxxxxxxxxxx Thread information: Thread ID: 1 Thread account name: xxxxxxxxxxxxxxxxxxxxx Is impersonating: False Stack trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Module.GetTypes() at YAF.Modules.YafModuleManager`1.FindModules(IList assemblies, String moduleNamespace, StringmoduleBaseInterface) at YAF.Modules.YafModuleManager`1.AddModules(List`1 assemblies) at YAF.Modules.YafBaseModuleManager..ctor()[/code] From DNN Event Viewer: [code]Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---[/code] [code]InnerException: Object reference not set to an instance of an object. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot StackTrace: Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---[/code] Any ideas?

Posted by: tha_watcha - Thursday, 10 June 2010 14:09:23
Which version of my ones did you use? I updated my package today, after testing it with the a complete fresh dnn 5.4.2 installation [url=my-dnn.de/t6BXk]my-dnn.de/t6BXk[/url]

Posted by: Jammrock - Thursday, 10 June 2010 15:46:45
I used package YAF_DNN5_1.94.00-SVN-3397. I'll give 3398 a shot and let you know how that goes.

Posted by: Jammrock - Thursday, 10 June 2010 16:07:00
You're a genius watcher! 3398 works with DNN 5.4.2.

Posted by: tha_watcha - Thursday, 10 June 2010 18:48:11
But i dont know if everything works as it should be, its still a beta version. There are where a few little inside the lastest svn builds. But i make some temp. fixes to get it working

Posted by: Jammrock - Friday, 11 June 2010 15:43:09
I have spotted a couple of bugs with the editors. The TinyMCE HTML editor does not do emoticons right. When you add an emoticon with the TinyMCE HTMl editor it links the image links like this: ../../../../DesktopModules/YetAnotherForumDotNet/Images/Emoticons/msp_biggrin.gif Which does not work with DNN 5.4.2 (at least mine). This does work however. /DesktopModules/YetAnotherForumDotNet/Images/Emoticons/msp_biggrin.gif YAF emoticons do work with the YAFBBCode and TinyMCE BBCode editors. The Telerik RAD Editor (HTML) doesn't work at all. As in I get a page error if I select it. Not big issues, just thought I'd report them.

Posted by: tha_watcha - Saturday, 12 June 2010 14:45:27
I updated the Package with latest SVN 3409, and i also include the Dnn Editor support (Code by Balbes). you can use my CKEditor Provider instead of the TinyMCE Editor [url=my-dnn.de/t6BXk]my-dnn.de/t6BXk[/url]

Posted by: Jammrock - Tuesday, 15 June 2010 18:20:33
Oooh, CKEditor, nice. Anything that loads faster than TinyMCE is good with me. I'll check out your latest build for sure.

Posted by: Jammrock - Tuesday, 15 June 2010 21:48:12
Thanks again, Watcher! The upgrade went seamless and I'm using the DNN editor at the moment. FCK Editor v2 (HTML) did not work for me though. I get a 404 when I try to reply/post with that selected. Any chance of getting CKEditor 3 working with future versions of the YAF DNN extension?

Posted by: tha_watcha - Wednesday, 16 June 2010 02:05:46
[quote]Any chance of getting CKEditor 3 working with future versions of the YAF DNN extension?[/quote] What do you mean? As i write before, the yaf dnn module works with my CKEdidtor (CKEditor 3.3) Provider [url=http://dnnckeditor.codeplex.com/]http://dnnckeditor.codeplex.com/[/url] But i didn test the old fckeditor.

Posted by: wowikt - Saturday, 26 June 2010 16:00:41
The same problem as topic starter: [quote=Jammrock] A critical error has occurred. Object reference not set to an instance of an object. [/quote] Used YAF_DNN5_1.94.00-SVN-3449. DNN 5.4.2

Posted by: tha_watcha - Saturday, 26 June 2010 16:52:14
Its also the same problem here: http://forum.yetanotherforum.net/yaf_postsm42206_Please-help-me-install-success-but-have-error.aspx But i still cannot reproduce this. I just made a fresh new dnn installation, install the yaf module and run the installer. I really dont know what causes this problem.

Posted by: wowikt - Saturday, 26 June 2010 17:21:57
[sad]