-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade (from Version 1.9.1.8 or earlier)
- BACKUP YOUR DATABASE
- 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 /Uploads directory.
- If you use a custom Forum Logo Image don't delete the forumlogo.jpg in the root folder
- BACKUP YOUR DATABASE
- 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
Please follow these important directions:
- You need to MERGE the v1.9.1.upgrade.web.config with your web.config file, or if you unsure rename the v1.9.1.upgrade.web.config to web.config and replace it in the application folder
- Copy the the configs\db.config to the same folder as the web.config you need to modify the connection string in the db.config. Previously that connection string was set in the yafnet.config under..
<connstr>user id=xxx;pwd=xxx;data source=(local);initial catalog=yafnet;timeout=90</connstr>
that string needs to be entered in the db.config
<add name="yafnet" connectionString="user id=xxx;pwd=xxx;data source=(local);initial catalog=yafnet;timeout=90" providerName="System.Data.SqlClient"/>
-
Also Copy the configs\app.config and configs\mail.config to the same folder as the web.config.
-
Modify the SMTP settings by entering your mail server information In the mail.config.
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.
YetAnotherForum.NET (YAF) the Open Source Discussion Forum for ASP.NET - http://YetAnotherForum.NET
Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved