narayana
  •  narayana
  • 56.8% (Neutral)
  • YAF Camper Topic Starter
2014-11-16T17:55:25Z
9.6.1 integrated into asp.net site...

If I try login I have browser error:

Line: 939
Error: Sys.WebForms.PageRequestManagerServerErrorException: Procedure or function 'yaf_user_update_single_sign_on_status' expects parameter '@IsGoogleUser', which was not supplied.

I find source code of "user_update_single_sign_on_status":

/// <summary>
/// Update the single Sign on Status
/// </summary>
/// <param name="userID">
/// The user id.
/// </param>
/// <param name="isFacebookUser">
/// The is Facebook User
/// </param>
/// <param name="isTwitterUser">
/// The is Twitter User.
/// </param>
public static void user_update_single_sign_on_status([NotNull] object userID, [NotNull] object isFacebookUser, [NotNull] object isTwitterUser)
{
using (var cmd = MsSqlDbAccess.GetCommand("user_update_single_sign_on_status"))
{
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("UserID", userID);
cmd.Parameters.AddWithValue("IsFacebookUser", isFacebookUser);
cmd.Parameters.AddWithValue("IsTwitterUser", isTwitterUser);
MsSqlDbAccess.Current.ExecuteNonQuery(cmd);
}
}

Realy parameter "IsGoogleUser" is in the DB table "User" but is not in the "user_update_single_sign_on_status" method of LegacyDB class.

What to do?

If I start original page which didn't integrated into my asp.net site but use common web.config error also is.

Anybody now what config parameter broke login?
Sponsor
tha_watcha
2014-11-17T11:56:54Z
Originally Posted by: narayana 


What to do?



Upgrade to the latest version of YAF.NET


UserPostedImage
narayana
  •  narayana
  • 56.8% (Neutral)
  • YAF Camper Topic Starter
2014-11-17T15:33:07Z
Originally Posted by: tha_watcha 

Originally Posted by: narayana 


What to do?



Upgrade to the latest version of YAF.NET



It's problem.
My site engine use jQuery 1.7.1 and YAF 9.6.1 use jQuery 1.7.1 .
In this case is not jQuery conflicts.
YAF 2.1.2 use jQuery 1.10.2 and it conflict to my site.
Site engine developers don't want to use new jQuery version and I myself can not fix site plugins for compatibility to jQuery 1.10.2

And the saddest thing is that the login error is almost the last at the integration work... :(
What do you think? In what direction I need to move?
tha_watcha
2014-11-17T20:18:05Z
Well technically all plug-ins that work with jquery 1.7.1 should also work with jquery 1.10. But if you still want to use that old version in YAF 2.1.2, all you need to do is set the app.config setting

<add key="YAF.JQuery" value="js/jquery.min.js" />

And include that file in the file system.

UserPostedImage
narayana
  •  narayana
  • 56.8% (Neutral)
  • YAF Camper Topic Starter
2014-11-18T16:59:06Z
Originally Posted by: tha_watcha 

Well technically all plug-ins that work with jquery 1.7.1 should also work with jquery 1.10. But if you still want to use that old version in YAF 2.1.2, all you need to do is set the app.config setting

<add key="YAF.JQuery" value="js/jquery.min.js" />

And include that file in the file system.



Thank you for your attention to my problem.

I deside to kill some functionality in my parent site for compatible to jQuery of YAF 2.1.2
Now all work.

But left only one bag.
When I click link "forum" programm show URL ~/forum/ without file name at the end URL and after that page broke ssl style. Page displays incorrect.
MasterPage resources links change (for example) from "/pictures/logo.png" to "forum/pictures/logo.png"
That is, forum rewriting settings is transmitted to MasterPage.
Also set key to "<add key="YAF.EnableURLRewriting" value="false" />" don't disable rewriting and links looks SEO-type...

It is hard understand what to do without full understanding forum rewritig mechanism... 😞

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved