Print Page | Close Window

Upgrade from 7.5 to Latest Stable Version

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29465
Printed Date: 01 April 2026 at 7:26am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Upgrade from 7.5 to Latest Stable Version
Posted By: rjcarter
Subject: Upgrade from 7.5 to Latest Stable Version
Date Posted: 27 June 2011 at 9:11pm
Is this possible?  I did pay for my version and would that license extend to the new version?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 28 June 2011 at 10:22am
To upgrade just download the latest release and follow the http://www.webwiz.net/web-wiz-forums/kb/" rel="nofollow - Upgrade Instructions which will guide you through the upgrade from Web Wiz Forums 7.x to the latest version.

Generally licenses include minor version upgrades for the life or the product (eg. 9.1 to 9.2) and include 1 year upgrade protection to new major version releases (eg. 9.x to 10.x).


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: rjcarter
Date Posted: 28 June 2011 at 4:12pm
Thanks for the info.  I have downloaded the latest version and I am running an upgrade test.  I was able to run through the upgrade script.  When I went to the home page of my forum.  It appears that all my data migrated successfully.  Great Job, so painless, for being so many versions back.

However, when I try to login with my Admin Account it is giving a wrong password error.  I have tried other accounts and get the same problem.  In addition, I cannot send email to reset the password.  Any suggestions here?


Posted By: WebWiz-Bruce
Date Posted: 28 June 2011 at 4:28pm
This is very strange as the login data is stored in the same way. I suspect that it maybe the page encoding which now uses UTF-8.

If you are using version 9.x then open the includes/setup_options_inc.asp file in notepad and change the page encoding form UTF-8 to iso-8859-1, which was the default for version 7.x.

The page below tells you how to reset the admin password in the database, which may help if you are running version 10 and need to get in to the admin area to change the page encoding:-

http://www.webwiz.net/web-wiz-forums/kb/admin-password-reset.htm" rel="nofollow - Web Wiz Forums Admin Account Login / Password Reset


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: rjcarter
Date Posted: 29 June 2011 at 4:25pm
Here's my environment.
Windows 2003
SQL Server Express 2005
Web Wiz Forums 10

How I am testing my upgrade.
Backed up current database.
Restored backup database into a new Test Database
Installed WWF10 in a new application on IIS
Ran setup to upgrade database from 7.x to 10.x

Existing users cannot login to the WWF10 test application without requesting a password reset email.

I have tried changing the page encoding from UTF-8 to Western-iso-8859-1.  This did not seem to solve the problem.

After I changed the page encoding I bounced the server.


Posted By: rjcarter
Date Posted: 29 June 2011 at 5:29pm
Databases:
PROD - 7.x database
TEST - 10.x (upgraded from 7.x)

Websites:
PROD Website
physical directory, c:\forums
IIS website as virtual host, prod.example.com

TEST Website
physical directory, c:\forums_test
IIS Website as virtual host, test.example.com

This is what I did.
I backed-up the PROD database to a .bak file.
I created the Empty TEST database
I restored the Empty TEST database with the .bak file from the PROD backup.

Opened a browser to http://test.example.com and ran the upgrade wizard to upgrade the TEST 7.x database to 10.x database.

Users could not login until they requested a password reset email.

I did notice in the tblAuthor that the column User_code was different from the prod 7.x database after the upgrade.  I tried updating this column to match the PROD 7.x database, but it did not solve the problem.

I did not use the import/export tools.  Everything I did was from the SQL Express Server Management GUI.


Posted By: WebWiz-Bruce
Date Posted: 29 June 2011 at 5:36pm
The User_code field does not affect login. The fields used for login are Username, Password, and Salt.

The Password field should be 160bit encrypted unless you disabled the password encryption, if you did then the passwords would be in plain text and may explain why your members can not login. If your passwords are in plain text you would need to edit the includes/setup_options_inc.asp file and disable password encryption.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: rjcarter
Date Posted: 29 June 2011 at 7:55pm
I have verified that the Username, password and salt are the same in both databases.

I looked at the includes/setup_options_inc.aps  I have not changed because my passwords where already encrypted.

After some investigation in the I believe there something has changed in the login form or register.asp functions.

I edited the functionshash1way.asp file so I would have a constant salt value.
I went to my old system and updated the password of two accounts to make sure they generated the same encrypted password. Check.

I went to the new system change the functionshash1way.asp file to have a constant salt value.
I went in the new system and ATTEMPTED to update the passwords of two accounts to make sure they generated the same encrypted password. Check.

Another thing I did notice.  Passwords in the 7.x system are NOT case sensitive.  Passwords in the 10.x system ARE case sensitive.  Maybe this is why the encrypted passwords are not validating until you reset them.

Based on your comments of the code not changing in the functionshash1way.asp file.  I verified this via a diff function.  And my above observations, I don't know where else to investigate.  


We would like to upgrade to this version, but this issue is a show stopper for us.  I don't want my users to have to request a new password to login after we upgrade.  I hope I have provided you with enough information to see if you can fix this problem in a future release.  Until then I don't think we can upgrade at this time.


Posted By: WebWiz-Bruce
Date Posted: 30 June 2011 at 9:14am
The problem is that we are not able to replicate this issue in the lab and have not seen this issue with any other version 7.x upgrades, so seems this issue is unique to your own setup, which makes making a 'fix' as you call it in future updates not possible as it may not be the forum code in error here.

I have gone through to compare the code for passwords at login time and the code is identical for version 7.x and version 10.x, the only difference is that in version 7.x all passwords are set to lower case, whereas version 10 does not lower case passwords.

If you want passwords to be lower case like in version 7.x then change the line 148 in the file functions/functions_login.asp to that below:-

strPassword = LCase(strPassword) & rsCommon("Salt")


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: rjcarter
Date Posted: 30 June 2011 at 3:31pm
So I am positive the issue is with the case sensitivity of passwords.  In the 7.x version passwords are set to lower case as your state.  But there is no indication on the login or register screen to inform the users of that fact.  So, my users are under the assumption that what they typed as a password is their password.  If I rollout this upgrade users will type in their password as they remember it not as the system stores it, lower case 7.x, in the 10.x system and will not be allowed to login.  Kinda of confusing.

I tried to edit the file functions/functions_login_user.asp in v 10.x to see if this can be a workaround, but that file does not exists.  If you can tell me the areas where I can change the code to lower case passwords then we might have a workaround.

Also, how will this change effect future accounts?  I would thing that a change would need to take place in the register and update password functions as well.  So if I update a password or create a new one and that code does not lower case the password, but the login screen does then we might have a password mismatch as well.

Thanks for your continued support in helping resolve this matter.


Posted By: WebWiz-Bruce
Date Posted: 30 June 2011 at 3:51pm
If you want passwords to be lower case like in version 7.x then change the line 148 in the file functions/functions_login.asp to that below:-

strPassword = LCase(strPassword) & rsCommon("Salt")

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 30 June 2011 at 4:00pm
In all versions of Web Wiz Forums prior to version 10 passwords where stored in lower case. Version 10 adds a new option whereby you can enforce password complexity so that members have to have passwords with lower case, upper case, and a number. This has been bought in as some government organisations require this.

This means that all forums prior to version 10 has their passwords are stored in lower case no matter what case the member entered their passwords. Version 10 honours the case that the member enters their password and does not change it to lower case.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: kiklop
Date Posted: 30 June 2011 at 4:47pm
Just to let you know that i did experienced the same issue; it made me crazy but luckily i found this thread.

In my case however, i have v10 installed on my local server (with online database restored locally) for testing purposes. I have my password with mixed case that is working online (v9) but on the local forum (which i updated to v10) i need to use lower case only.



-------------
http://www.dyxum.com" rel="nofollow - dyxum.com


Posted By: rjcarter
Date Posted: 30 June 2011 at 6:31pm
I downloaded and installed WWF 9.74
I registered a user testuser with a password, 'TestPassword' Of course we know the system will store 'testpassword', but the user does not know this.  There is nothing telling them this.

I downloaded and installed WWF 10 - Upgraded the WWF 9.74 to 10
I tried to login with the same user 'testuser' and password, 'TestPassword' and it fails since version 9.74 lowercased my password without letting the user know.

So I have about 3500 registered users in my 7.x forum. They have no idea that the system lower cased their passwords. So, when I upgrade to 10.x they would not be able to login because their passwords are lower case and they don't know this.

Workarounds
Send a mass email my registered users notifying them that their passwords are really lower case so they can login and then change to mixed case if they wish.  Don't know how effective this would be.

Rollback the case sensitivity in the login form.  Tried this but if a new user registers then the password is stored in mixed case and the login form will lower case the password and new user will not be able to login.  If you can tell me where I need to make the LCase() to handle passwords changes and new user registrations, I can do that.  This might be a temporary workaround until a more permanent fix could be implemented.  The places I have seen are:

login_user.asp line 110 - strPassword = Trim(Mid(Request.Form("password"), 1, 20))
This will lower case the password they type when they login
Change to:
strPassword = LCase(Trim(Mid(Request.Form("password"), 1, 20)))

register.asp line 333 - strPassword = Trim(Mid(Request.Form("password1"), 1, 20))
This will lower case the password they type in when they register or update their password.
Change to:
strPassword = LCase(Trim(Mid(Request.Form("password1"), 1, 20)))


What do you think about those changes?

EDIT:
Found those lines of code here as well:
admin.asp line 89
admin_register.asp line 145


Posted By: WebWiz-Bruce
Date Posted: 30 June 2011 at 7:22pm
The next release version 10.01 will have a system to allow old legacy passwords to work, so this would not be an issue as those with older lower cased passwords will still be able to login as will those with newer case sensitive passwords.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 01 July 2011 at 9:04am
Have now released a new minor release, Web Wiz Forums 10.01, that has a fix for this issue as it will automatically detect old legacy passwords allowing members to login with both legacy and new case sensitive passwords.

You can download 10.01 with this fix from the http://www.webwiz.net/web-wiz-forums/forum-downloads.htm" rel="nofollow - Web Wiz Forums Download page.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net