YAFLogo

azarbara
  • azarbara
  • 86% (Honored)
  • YAF Lover Topic Starter
11 years ago
Hello,

I saw a conflict with two user profile system (dnn&yaf).

when i click to edit profile receive following error:

an error has accord Failed to compare two elements in the array
i have two request.

1- please integrate yaf user profile with dnn user profile;

2- and please integrate yaf forum with dnn journal mdoule to display forum activities in dnn journal.

Regards, Mohammad


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

Hello,

I saw a conflict with two user profile system (dnn&yaf).

when i click to edit profile receive following error:

an error has accord Failed to compare two elements in the array
i have two request.

1- please integrate yaf user profile with dnn user profile;

2- and please integrate yaf forum with dnn journal mdoule to display forum activities in dnn journal.

Regards, Mohammad

Originally Posted by: azarbara 

You can Upgrade to the Updated 1.9.6.1 Release to get the Unified user Profile. Journal Integration is included in yaf 2.0, which you can also Download as Release candidate 1 from the codeplex or github project page

azarbara
  • azarbara
  • 86% (Honored)
  • YAF Lover Topic Starter
11 years ago
i install the yaf2.0 RC and get the following error:

Could not locate the guest user for the board id 0. You might have deleted the guest group or removed the guest user.
i am waiting to stable yaf2.0 version.

thank you for great module!


Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
I also had "Could not locate the guest user for the board id 0". Things have gone downhill from there as I've uninstalled, re-installed, etc. etc. Probably I have such a mess now, that there may be no going back to stability. Thanks
Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
OK, now I'm back to this message:

 A critical error has occurred. Could not locate the guest user for the board id 0. You might have deleted the guest group or removed the guest user.

Any suggestions?

Thanks

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

OK, now I'm back to this message:

 A critical error has occurred. Could not locate the guest user for the board id 0. You might have deleted the guest group or removed the guest user.

Any suggestions?

Thanks

Originally Posted by: Observe 

I need some info, so I can try to reproduce it.

What dnn version are you using.

Did you upgraded from an earlier version or is this a new installation?

Did the error occurs when you are not logged ind via dnn or when you are logged in (regular user and/ or admin/host) or both?

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
Ok, here essentially is what I have and what I've done:

1. DNN version 7.1.1 (initially)

2. Portals = 4

web.config relevant entries:



    <!-- add this so YAF installation can create database -->

    <remove name="LocalSqlServer"/>
    <add name="LocalSqlServer" connectionString="Data Source=DotNetNuke.db.3008125.myhost.com;Initial Catalog=DotNetNuke;User ID=DotNetNuke;Password=somepass" providerName="System.Data.SqlClient" />
    
    <add name="SiteSqlServer" connectionString="Data Source=DotNetNuke.db.3008125.myhost.com;Initial Catalog=DotNetNuke;User ID=DotNetNuke;Password=somepass" providerName="System.Data.SqlClient" />
   
    <!-- disable for now. don't need -->
    <!--<add name="yafnet" connectionString="Data Source=DotNetNuke.db.3008125.myhost.com;Initial Catalog=DotNetNuke;User ID=DotNetNuke;Password=somepass" providerName="System.Data.SqlClient" />-->
....................

<add key="YAF.ConnectionStringName" value="SiteSqlServer" />
<add key="YAF.ConfigPassword" value="mypassword" />
<add key="YAF.BaseUrlMask" value="http://mywebsite.org" />
....................

<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" />
....................

3. First try was with YAF.NET DNN 2.0 RC1. This resulted in board id 0 error mentioned.

4. Uninstalled YAF (including manually removing residue from file Server)

5. Upgraded DNN to 7.2 (because now seemed a good time)

6. Tried installing YAF.NET DNN 1.96. Still various problems.

It's a bit hard to outline all the problems I've had, and the many attempts at fixing. The bottom-line, is I am unable to get YAF DNN working. I would love to solve this, because it seems YAF and DNN would make a perfect match!

One question: Assuming I mange to get this working, will YAF share my DNN membership database? I want people to be members of my DNN site and members of YAF forum seamlessly.

Thanks for help!

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
I decided to try a fresh install to give it another shot. Here's what I've done:

1. Uninstall YAF module from Control Panel

2. Delete any remaining YAF from Desktoopmodules

3. Deleted any remaining YAF tables in database

4. Reinstall YAF module version YAF_DNN_2.00.0-5400 using DNN Control Panel

5. Applied above listed web.config

6. Assign YAF to my main DDN portal (id 0)

7. Place YAF module on an empty page

8 Installation went perfectly with no errors. YAF tables verified created in database.

Error on page I placed the YAF module remains the same as before:


 A critical error has occurred. Could not locate the guest user for the board id 0. You might have deleted the guest group or removed the guest user. 

Please let me know if I can provide any additional information.

Thanks

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
FYI: I verified there is a Guest user in yaf_User table, but it is assigned BoardID = 1. That being the case, why is YAF Module looking for Guest on BoardID = 0?

Thanks

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
Oh, in answer to one of your previous questions, it doesn't make any difference whether I"m logged in as Admin, Super User, Guest or none. Same error re board id=0

Thanks

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
I've spent the day looking over the various database tables, and trying various seemingly related suggestions. I've also downloaded the source code, but so far nothing jumps out telling me what's wrong, or even if this is just a symptom of something else. Anyway, any help you can provide would be appreciated!

Thanks

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
Well, after two long days of installing, uninstalling, and scouring the internet for solutions, I have no choice but to give up on YAF for DNN. This is unfortunate, because as I mentioned, I really wanted this to work out. Perhaps some day YAF will be ready for show time with DNN, but that day is not yet here from what I can determine.

Thanks

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

Well, after two long days of installing, uninstalling, and scouring the internet for solutions, I have no choice but to give up on YAF for DNN. This is unfortunate, because as I mentioned, I really wanted this to work out. Perhaps some day YAF will be ready for show time with DNN, but that day is not yet here from what I can determine.

Thanks

Originally Posted by: Observe 

Sorry to here that, i didn't respond because testing an issue like this will take some time and din't have much time, but tomorrow i have some time.

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
@tha_watcha: I am really pressed for time myself, so I understand perfectly.

If you are up to looking into this with me, I will give it another go. Is there some way we can have chat if necessary to expedite instead of using forum? However you prefer is fine with me. Please let me know how you would like to proceed.

Thanks!

Observe
  • Observe
  • 69.8% (Friendly)
  • YAF Lover
11 years ago
FYI: I have finally been able to get YAF working with DNN! I will post details once I get things sorted out.