-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade
- Backup all your existing installation YAF files remove the following directories from your forum root directory:
- \bin
- \classes
- \controls
- \defs
- \editors
- \install
- \language
- \pages
- \template
- \themes
- \Web References
- Be careful not to delete the /images or /upload directory.
- BACKUP YOUR DATABASE
- Unzip the file structure YAF-BIN ZIP archive to the folder you want to run YAF to run inside. The YAF \Bin directory must be in your application root.
Please follow these important directions:
You need to MERGE the changes for the recommended-web.config or the v191-upgrade-web.config depending on the original web config you used.
IMPORTANT: Remove the Lines if you Upgrade from YAF Version bellow 1.9.5.5
<add tagPrefix="DotNetAge" namespace="DNA.UI.JQuery" assembly="DNA.UI.JQuery"/>
` ``
<add tagPrefix="YAF" namespace="YAF.Classes.UI" assembly="YAF.Classes.UI"/>
<add tagPrefix="YAF" namespace="YAF.Classes.Utils" assembly="YAF.Classes.Utils"/>
<add tagPrefix="YAF" namespace="YAF.Classes.Core" assembly="YAF.Classes.Core"/>
<add tagPrefix="YAF" namespace="YAF.Classes.Data" assembly="YAF.Classes.Data"/>
<add namespace="YAF"/>
<add namespace="YAF.Classes.Utils"/>
<add namespace="YAF.Classes.Core"/>
<add namespace="YAF.Controls"/>
<add namespace="YAF.Classes.Data"/>
<add namespace="YAF.Classes.UI"/>
IMPORTANT: Update this following lines if you Upgrade from a YAF Version bellow 1.9.5.5
Change the Line from....
<add name="YafTaskModule" type="YAF.Classes.Core.YafTaskModule, YAF.Classes.Core"/>
to
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core"/>
Change the Line from....
<add name="YafTaskModule" type="YAF.Classes.Core.YafTaskModule, YAF.Classes.Core" preCondition="managedHandler"/>
to
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" preCondition="managedHandler"/>
Change the Line from....
<profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
to
<profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Utils.YafUserProfile"/>
Change the Line from....
<add verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
to
<add verb="GET" path="Resource.ashx" type="YAF.YafResourceHandler, YAF" />
Change the Line from....
<add name="AjaxPro" preCondition="integratedMode" verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
to
<add name="YafHandler" preCondition="integratedMode" verb="GET" path="Resource.ashx" type="YAF.YafResourceHandler, YAF" />
How to merging Web.Config Files:
- A tip to merge web.config files is to download both of them, then use a merge program to combine. WinMerge is a free and excellent merge program which you can download here: http://www.winmerge.org/
- Open the file <YAF.AppRoot>install/default.aspx on your web site. If you are testing on your local computer, under a directory called YetAnotherForum.Net, the address should be: http://localhost/yetanotherforum.net/install/
- The wizard will guide you through the upgrade process.