Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline parkerseal  
#1 Posted : Wednesday, July 26, 2017 5:48:24 AM(UTC)
parkerseal


Rank: YAF Camper

Reputation:

Joined: 12/13/2013(UTC)
Posts: 13

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
I've just upgraded my site to 2.2.4 and noticed a couple of minor screen issues (eg. tabbed screens not working properly).

Looking at the page source for the View Profile screen, I saw it was using jquery-3.1.1 (correct) but jquery.ui 1.11.4 (wrong - should be 1.12.1).
Code:

<link href="/forum/Content/forum.min.css" rel="stylesheet" type="text/css" />
<link href="/forum/Themes/yafpro/theme.css" rel="stylesheet" type="text/css" />
<link href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="/forum/Themes/yafpro/yafpro.js"></script>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.11.4/jquery-ui.min.js"></script>



I don't have any jquery overrides in the config files, and the host settings are set to use CDN. For this test I've used the standard default.aspx.

So I checked on my local installation, with an up-to-date backup of the database and (I hope) an identical configuration, but (obviously) a different IIS. To my surprise, the page's different - it uses jquery 2.2.4 and jquery ui 3.1.1.

I'm confused! Can anyone explain how YAF chooses these versions?

Also, I'm getting a lot of these errors in the system log, which is probably related:
Code:

Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at YAF.Pages.posts.Page_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Sponsor
Online tha_watcha  
#2 Posted : Wednesday, July 26, 2017 12:03:32 PM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,730
Germany

Thanks: 70 times
Was thanked: 1148 time(s) in 978 post(s)
Originally Posted by: parkerseal Go to Quoted Post
I'm confused!Can anyone explain how YAF chooses these versions?


the versions are defined in the source code, but can be overridden via the appSetting sections in the web.config.

I already updated the download packages last week.

https://github.com/YAFNE...YAF-v2.2.4.1-Upgrade.zip

i downgraded jquery to 2.2.4 and upgraded jquery-ui to version 1.12.1

Offline parkerseal  
#3 Posted : Thursday, July 27, 2017 3:13:12 AM(UTC)
parkerseal


Rank: YAF Camper

Reputation:

Joined: 12/13/2013(UTC)
Posts: 13

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
Thanks - I had used an earlier download (from 11 July). Now sorted.
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error