Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MySql
 Migrated forum keeps going to the Setup Page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

olaitan.malomo
Starting Member

6 Posts

Posted - 19 August 2008 :  10:45:20  Show Profile
Hi all,

I just migrated a forum to a new server but the new instance keeps returning to the setup page.

The process I have used for the migration is:
1) Installed a MySql 5 server instance on new server
2) Backed up data from old MySql 4 server
3) Loaded data into ne MYSQL instance
4) Set up user credentials to be the same on both DB instances
5) Deleted annonymous user on new DB instance
6) Copied over the files (ASP, images etc) from old instance to new server
7) Created DSN on new server
8) Updated config.asp to match new environment
7) Configured IIS to serve enable the forum

The config is as such:

strDBType = "mysql"
strConnString = "forums"
strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"
strFilterTablePrefix = "FORUM_"
Const intAdminMemberID = 1
Const intCookieDuration = 30

Has anyone encountered this isse/know how to get the new instance to work without attempting to rerun setup?

Thanks
<

--
Olaitan Malomo
Professional services, Altio
Integra SP LTD

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2008 :  10:56:08  Show Profile  Send ruirib a Yahoo! Message
Did you ever completely run setup.asp?<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

olaitan.malomo
Starting Member

6 Posts

Posted - 19 August 2008 :  11:06:05  Show Profile
No, the setup page suggests that the tables will be re-created. This should be ok as I do have a back up of the old DB should this process clear the data I have loaded on the new DB instance.

I am just looking for the path of least risk bys asking before trying that.

Thanks<

--
Olaitan Malomo
Professional services, Altio
Integra SP LTD
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2008 :  11:22:03  Show Profile  Send ruirib a Yahoo! Message
Hmmm... the tables being recreated doesn't sound so good. If the tables are there and you're linking to the same database, it's hard to see how setup.asp can't find them. If you do have the backup, run setup.asp and see what is done. Maybe there is some case issue on table names, I don't see what else could be.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

olaitan.malomo
Starting Member

6 Posts

Posted - 19 August 2008 :  11:30:38  Show Profile
I have tried to run setup with credentials I know to be valid (I tested them against using the MySql command line tool) but I keep getting errors with the first of them being the one below.

[MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt]No database selected

It looks like it is not resolving the right database name from the DSN.

Any ideas on this?

Thanks<

--
Olaitan Malomo
Professional services, Altio
Integra SP LTD
Go to Top of Page

olaitan.malomo
Starting Member

6 Posts

Posted - 19 August 2008 :  11:37:16  Show Profile
Thanks, the issue was with the DSN not being properly configured. The database name field was not saved.

Correcting this is now allowing the forum to run but still not properly. The data is being pulled back but all the formatting and display (grids, navbar etc) are not being displayed.<

--
Olaitan Malomo
Professional services, Altio
Integra SP LTD
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2008 :  11:42:26  Show Profile  Send ruirib a Yahoo! Message
Run setup.asp. You should also apply the bug fix posted here, which would avoid that altogether:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=67497&whichpage=2#383240<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

olaitan.malomo
Starting Member

6 Posts

Posted - 19 August 2008 :  11:48:02  Show Profile
HI again,

I keep getting the error below when I try to navigate to any page.

Microsoft VBScript runtime error '800a000d'

Type mismatch

/forums_beta/search.asp, line 341


Also, the page being displayed does not show a link to get into the admin section.

Any advice?
<

--
Olaitan Malomo
Professional services, Altio
Integra SP LTD
Go to Top of Page

olaitan.malomo
Starting Member

6 Posts

Posted - 19 August 2008 :  11:56:54  Show Profile
I have applied the patch and the formatting as well as the login fields have returned.

However, the error from my last post is still being displayed in the Statistics section on the default page and when I follow any link.<

--
Olaitan Malomo
Professional services, Altio
Integra SP LTD
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2008 :  12:09:03  Show Profile  Send ruirib a Yahoo! Message
Maybe this will help: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=55925

You may also need to change some code or change some table fields from int to float or double. I will search for a post that I know was made about this, but you can also post the specific error lines and I will advise for each case.

The errors are a result from the MySQL 5 move.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2008 :  12:12:57  Show Profile  Send ruirib a Yahoo! Message
This post reports some of those errors and provide fixes:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63562&SearchTerms=mysql,clng,5

Even if it's not the same file, the strategy to fix it will be the same. Another way to handle this, as I said, is to change the underlying database fields from int to float.
<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07