Skip to content
w8tcha edited this page Aug 24, 2013 · 7 revisions

STEP 1. BACKUP & REMOVE

  1. 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
  1. Be careful not to delete the /images or /upload directory.
  2. BACKUP YOUR DATABASE

STEP 2. UNZIP

  1. 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.

STEP 3. Upgrade - The WEB.CONFIG FILE

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="DotNetAge" namespace="DNA.UI" assembly="DNA"/>``


&lt;add tagPrefix=&quot;YAF&quot; namespace=&quot;YAF.Classes.UI&quot; assembly=&quot;YAF.Classes.UI&quot;/&gt;


&lt;add tagPrefix=&quot;YAF&quot; namespace=&quot;YAF.Classes.Utils&quot; assembly=&quot;YAF.Classes.Utils&quot;/&gt;

&lt;add tagPrefix=&quot;YAF&quot; namespace=&quot;YAF.Classes.Core&quot; assembly=&quot;YAF.Classes.Core&quot;/&gt;

&lt;add tagPrefix=&quot;YAF&quot; namespace=&quot;YAF.Classes.Data&quot; assembly=&quot;YAF.Classes.Data&quot;/&gt;


&lt;add namespace=&quot;YAF&quot;/&gt;

&lt;add namespace=&quot;YAF.Classes.Utils&quot;/&gt;

&lt;add namespace=&quot;YAF.Classes.Core&quot;/&gt;

&lt;add namespace=&quot;YAF.Controls&quot;/&gt;

&lt;add namespace=&quot;YAF.Classes.Data&quot;/&gt;


&lt;add namespace=&quot;YAF.Classes.UI&quot;/&gt;

IMPORTANT: Update this following lines if you Upgrade from a YAF Version bellow 1.9.5.5

Change the Line from....

&lt;add name=&quot;YafTaskModule&quot; type=&quot;YAF.Classes.Core.YafTaskModule, YAF.Classes.Core&quot;/&gt;

to

&lt;add name=&quot;YafTaskModule&quot; type=&quot;YAF.Core.YafTaskModule, YAF.Core&quot;/&gt; Change the Line from....

&lt;add name=&quot;YafTaskModule&quot; type=&quot;YAF.Classes.Core.YafTaskModule, YAF.Classes.Core&quot; preCondition=&quot;managedHandler&quot;/&gt;

to

&lt;add name=&quot;YafTaskModule&quot; type=&quot;YAF.Core.YafTaskModule, YAF.Core&quot; preCondition=&quot;managedHandler&quot;/&gt;

Change the Line from....

&lt;profile enabled=&quot;true&quot; defaultProvider=&quot;YafProfileProvider&quot; inherits=&quot;YAF.Classes.Utils.YafUserProfile&quot;&gt;

to

&lt;profile enabled=&quot;true&quot; defaultProvider=&quot;YafProfileProvider&quot; inherits=&quot;YAF.Utils.YafUserProfile&quot;&gt;

Change the Line from....

&lt;add verb=&quot;POST,GET,HEAD&quot; path=&quot;ajaxpro/*.ashx&quot; type=&quot;AjaxPro.AjaxHandlerFactory, AjaxPro.2&quot;/&gt;

to

&lt;add verb=&quot;GET&quot; path=&quot;Resource.ashx&quot; type=&quot;YAF.YafResourceHandler, YAF&quot; /&gt;

Change the Line from....

&lt;add name=&quot;AjaxPro&quot; preCondition=&quot;integratedMode&quot; verb=&quot;POST,GET,HEAD&quot; path=&quot;ajaxpro/*.ashx&quot; type=&quot;AjaxPro.AjaxHandlerFactory, AjaxPro.2&quot; /&gt;

to

&lt;add name=&quot;YafHandler&quot; preCondition=&quot;integratedMode&quot; verb=&quot;GET&quot; path=&quot;Resource.ashx&quot; type=&quot;YAF.YafResourceHandler, YAF&quot; /&gt;


How to merging Web.Config Files:

  1. 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/

STEP 4. UPGRADE Wizard:

  1. 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/
  2. The wizard will guide you through the upgrade process.

Clone this wiki locally