Skip to content

Upgrade (from Version 1.9.3 1.9.5)

Ingo edited this page Aug 30, 2015 · 3 revisions

STEP 1. BACKUP

  1. BACKUP YOUR DATABASE
  2. Backup all your existing installation YAF files

STEP 2. REMOVE

  1. Remove the following directories from your forum root directory:
  • \bin
  • \controls
  • \editors
  • \install
  • \languages
  • \pages
  • \resources

WARNING:

  1. Be careful not to delete the /images or /Uploads directory.
  2. If you use a custom Forum Logo Image don't delete the forumlogo.jpg in the root folder

STEP 3. UNZIP

  1. Unzip the file structure YAF-vX.X.X.X-Upgrade ZIP archive to the folder you want to run YAF to run inside. The YAF \Bin directory must be in your application root.

WARNING: If you use a custom Forum Logo Image don't override the forumlogo.jpg in the root folder

STEP 4. UPGRADE - The WEB.CONFIG FILE

Please follow these important directions:

You need to MERGE the changes from the configs\recommended-web.config with your web.config.

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/

IMPORTANT: Remove the following lines

<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

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" />


STEP 5. 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