Author |
Topic |
|
NelsonR
Starting Member
7 Posts |
Posted - 14 November 2007 : 18:40:26
|
Hi, I hope you can help me out here, i need to move my forum to a new hosting company called 1&1 Internet Inc. my question is can i just move all the files over to the new host or is there a need to prepare things for the move? (Snitz Forums 2000 Version 3.4.03) there are 33985 posts and i don't want to risk loosing them and all the registered members. Could i copy all the files and folders and try it on the new host and leave the forum where it is without effecting the forum on the old host? i would rely appreciate any help you can give me.
Thanks in advance Nelson |
|
phy1729
Average Member
USA
589 Posts |
Posted - 14 November 2007 : 18:49:52
|
If you copy all the files it will not affect the forum on the old host but to get it working on the new host we need to know which database you are using. And, welcome to Snitz. |
|
|
NelsonR
Starting Member
7 Posts |
Posted - 14 November 2007 : 22:50:12
|
Hi, phy1729 Thanks it’s nice to be part of the Snitz Forum. I’m very new to this how can I tell which database I’m using?
|
|
|
phy1729
Average Member
USA
589 Posts |
Posted - 14 November 2007 : 23:01:03
|
In config.asp their are three lines that start with strDBType = . One of those lines is uncommented (doesn't have a ' in front of it). We need to know what that one says. ex.
If this is your file we would need to know Access (in red) is uncommented. |
|
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 15 November 2007 : 11:46:51
|
Hi and welcome NelsonR,
phy1729 is right on the ball asking about db type, it'll massively influence how to approach this, but for what it's worth, I'll nag - BACK EVERYTHING UP AND CHECK YOUR BACKUPS! Seriously, I've worked for huge companies who wish they'd taken heed of this simple advice, so at every stage until you have your new forum running safely for a week or more, back up files at every stage and change. I hope you don't have to thank me for forcing you to do this, and that everything goes smoothly!
Also, just confirm that your 1&1 host account supports ASP, and let's find out what DB options they offer you (MSSQL, MySQL, Access?) - this may be a good time to upgrade your db as well as upgrade your Snitz files to the latest 3.4.06 and add the security patches
Anyway, I'll butt out now and leave you in phy1729's capable hands a while ... ;-) |
|
|
NelsonR
Starting Member
7 Posts |
Posted - 15 November 2007 : 20:52:06
|
Hi phy1729, this is a copy of the config.asp file. and thanks for the advice pdrg.
'################################################################################# '## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql) '################################################################################# 'strDBType = "sqlserver" strDBType = "access" 'strDBType = "mysql" |
|
|
phy1729
Average Member
USA
589 Posts |
Posted - 15 November 2007 : 21:29:26
|
Ah access much easier. So all you need to do is copy all the files and the database to the new host. If you don't know where the db is you can find where it is by looking in config.asp again and finding these lines (51-6) and find the one that doesn't start with a ' .
In the line that doesn't start with a ' find the part that I have highlighted in green this will be diffrent for you and that part will be the path to your database. Copy the db to the new host to the same path. Post if you don't understand what I said. Warning:Do not post the code here. It may open your forum to attack Also as pdrg caught, make sure you are hosted on a Windows server at 1&1 not a Linux because Linux does not support ASP. |
|
|
|
Topic |
|