YAFLogo

joiseystud
  • joiseystud
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
I was hoping that someone is looking at the new DNN 6 Beta to make sure there is compatibiltiy with the new 6.0 release of DNN coming soon. I just tried to install the latest YAF for DNN module and got a couple failures:

First, the full text search wouldnt install.

Second the rest of the install seemed to go well except when i went to log into DNN as an admin and the YAF module broke with the following error:

Here is the error log entry:

InnerException: Method not found: 'DotNetNuke.Common.Lists.ListEntryInfo DotNetNuke.Common.Lists.ListEntryInfoCollection.Item(System.String)'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: YAF.DotNetNuke.DataController.AddYafProfileDefinition

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Method not found: 'DotNetNuke.Common.Lists.ListEntryInfo DotNetNuke.Common.Lists.ListEntryInfoCollection.Item(System.String)'. ---> System.MissingMethodException: Method not found: 'DotNetNuke.Common.Lists.ListEntryInfo DotNetNuke.Common.Lists.ListEntryInfoCollection.Item(System.String)'. at YAF.DotNetNuke.DataController.AddYafProfileDefinition(Int32 portalId, String category, String name, String strType, Int32 length, ListEntryInfoCollection types) at YAF.DotNetNuke.DataController.AddYafProfileDefinitions(Int32 portalId) at YAF.DotNetNuke.YafDnnModule.DotNetNukeModule_Load(Object sender, 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.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago
Its one line of code that needs to be changed.

The Next YAF Version will be available in 2 Packages one for DNN 5 and the other for DNN 6

Update: I fixed the Code. YAF 1.9.5.6 Will run without Problems in DNN 6, no Separate Install Package required.

joiseystud
  • joiseystud
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago

Its one line of code that needs to be changed.

The Next YAF Version will be available in 2 Packages one for DNN 5 and the other for DNN 6

Update: I fixed the Code. YAF 1.9.5.6 Will run without Problems in DNN 6, no Separate Install Package required.

Originally Posted by: tha_watcha 

thats great. whats the one line of code? I would like to fix this now. thanks.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

Its one line of code that needs to be changed.

The Next YAF Version will be available in 2 Packages one for DNN 5 and the other for DNN 6

Update: I fixed the Code. YAF 1.9.5.6 Will run without Problems in DNN 6, no Separate Install Package required.

Originally Posted by: joiseystud 

thats great. whats the one line of code? I would like to fix this now. thanks.

Originally Posted by: tha_watcha 

Replace Line

ListEntryInfo typeInfo = types.Item("DataType:{0}".FormatWith(type));

From File DataController.cs in YAF.DotNetNuke.Module with


var typeInfo = types.ToGenericList<ListEntryInfo>().Find(item => item.Value.Equals(type));
 
if (typeInfo == null)
{
    return;
}
joiseystud
  • joiseystud
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Cool. Any idea how I can migrate all of the forums from a core DNN forums installation to YAF? Is there a migration script?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

Cool. Any idea how I can migrate all of the forums from a core DNN forums installation to YAF? Is there a migration script?

Originally Posted by: joiseystud 

No sorry currently there is no script. There are a lot of tables to migrate, its not impossible but it take some time to create such script. Currently i didnt have time for that. Maybe someone else can help?

joiseystud
  • joiseystud
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago

Cool. Any idea how I can migrate all of the forums from a core DNN forums installation to YAF? Is there a migration script?

Originally Posted by: tha_watcha 

No sorry currently there is no script. There are a lot of tables to migrate, its not impossible but it take some time to create such script. Currently i didnt have time for that. Maybe someone else can help?

Originally Posted by: joiseystud 

I wish i could help. I dont really know sql very much. I happen to know that there are a bunch of DNN core forums out there that would love to migrate.

amir-irani
12 years ago
hi my friends. i have joiseystud's problem too. but i can't find DataController.cs file in YAF.DotNetNuke for Replacing cod.:(

is any one there to help me?!

thanks...


Try to make our heart line less busy may the God is calling us...
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

hi my friends. i have joiseystud's problem too. but i can't find DataController.cs file in YAF.DotNetNuke for Replacing cod.:(

is any one there to help me?!

thanks...

Originally Posted by: amir-irani 

Which YAF Version did you use?

you can also try the current beta Version where the problem is fixed.

http://dnnyafnet.codeplex.com/releases/view/72920 

amir-irani
12 years ago

hi my friends. i have joiseystud's problem too. but i can't find DataController.cs file in YAF.DotNetNuke for Replacing cod.:(

is any one there to help me?!

thanks...

Originally Posted by: tha_watcha 

Which YAF Version did you use?

you can also try the current beta Version where the problem is fixed.

http://dnnyafnet.codeplex.com/releases/view/72920 

Originally Posted by: amir-irani 

ver 1.9.5

thanks my friend. that Was correct.


Try to make our heart line less busy may the God is calling us...
amir-irani
12 years ago
after install yaf 1.9.6 majul in dnn 6. that showing this error when i opening the site: :(

UserPostedImage

please help me. thanks...


Try to make our heart line less busy may the God is calling us...
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

wen in install yaf 1.9.6 majul in dnn 6. that showing this error when i opening the site: :(

please help me. thanks...

Originally Posted by: amir-irani 

Are there any entries in the Event Log of DNN? Otherwise turn custom errors off in the web.config as suggested in the Error Description.

amir-irani
12 years ago
i reinstalling the dnn... but i sure if install that majul again that sho this error again.
Try to make our heart line less busy may the God is calling us...
thienvc
  • thienvc
  • 54.8% (Neutral)
  • YAF Forumling
12 years ago

Its one line of code that needs to be changed.

The Next YAF Version will be available in 2 Packages one for DNN 5 and the other for DNN 6

Update: I fixed the Code. YAF 1.9.5.6 Will run without Problems in DNN 6, no Separate Install Package required.

Originally Posted by: tha_watcha 

i found only lastest dnnyaf is 1.9.6.0 beta1 and 1.9.5.5 RTW, i not found 1.9.5.6

can i run 1.9.6.0 beta1 under .net 3.5 (not .net 4)!?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
No, yaf 1.96 needs .NET 4