 | [Solved] Swapping Boards |  |
Posted: 06/20/2007 5:01 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 1:08 PM
|

|
|
|
|
 |
I'm just about ready to make my test board my live board
How do I import all the post from the old board? I guess I'll have to take it offline then do a backup? Then what?
Then how do I make my test my live? My live is inside a forums folder so do I rename that and then rename my test folder..forums?
Then this bit I've always had real problems with...I have a portal now so how do I make my URL go to the portal and not the forums first? I usually end up mucking up my indexes when I do it
Thanks  |
|
Last edited by Karen on 06/26/2007 7:20 AM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/20/2007 5:15 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:08 AM
Location: St Pete, FL
|

|
|
|
|
 |
If you want to use the same database, all you need to do in the Test board is assign the database login information to the Live database in your Test board config.php file. Then you can rename the forums folder to forums_old and the Test folder to forums. The biggest problem with this approach though is if you've installed MODs into your Test board that weren't ever installed on your Live board. If those new MODs made any database modifications, then that could pose a huge problem. So you may want to apply the database changes for all the new MODs to the Live database first before switching to the new Test board...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/20/2007 5:34 AM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 1:08 PM
|

|
|
|
|
 |
Yep there are new mods, ok so I'll go and do that then  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/20/2007 4:11 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:08 AM
Location: St Pete, FL
|

|
|
|
|
 |
Good. If done correctly, you should be able to switch over to the new layout without any interuptions...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/20/2007 5:16 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 1:08 PM
|

|
|
|
|
 |
I'm not quite ready to do this yet, I'm going to finish it off tomorrow now, but when I am I want my URL to go to my portal - I found this on the support site -
| Quote:
|
find your .htaccess file (should be in the root directory) and put this line of code at the bottom of the file and save
| Code:
|
|
DirectoryIndex portal.php index.php
|
|
Does that sound about right? That would mean I didn't have to do anything in my cp and I always do something wrong in there  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/20/2007 5:41 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:08 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, I think that's right. I think I did the same for another portal that I helped to install...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/21/2007 2:01 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 1:08 PM
|

|
|
|
|
 |
| I can't find one, so I copied the code and called it .htaccess and put it in my test folder (where my portal and forum files are) ...or should it go in my actual root? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/21/2007 2:05 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 1:08 PM
|

|
|
|
|
 |
Nooooooooo now I'm getting a 403 access denied page
IX fixed it...Nightrider I'm too worried to do anything else I always muck it up
Is this what I do?
Rename forums folder to forums - old
Rename test folder to forums
Change info in test/config.php to point to old database
put
| Code:
|
|
DirectoryIndex portal.php index.php
|
into a file and name it .htaccess then upload it to my test/forums folder
*need a scared emoticon* |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/21/2007 4:47 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:08 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, that sounds right. You shouldn't have to be scared about the switch. If it doesn't work correctly the first time, you can simply rename the forums_old back to forums until we can figure out what went wrong. Since nothing has been deleted, there is nothing lost or permanently damaged when switching over...
Before you rename any of the folders, make the config.php file change so that the forum will be up and running as soon as you rename the test folder to forums...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Swapping Boards |  |
Posted: 06/21/2007 5:22 PM |
|
|
|
|
|
| Citation |
| Posts |
1253 |
| Word Cnt. |
68,166 |
| BDay |
Nov 9 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Jan 06, 2006
Local time: 1:08 PM
|

|
|
|
|
 |
Its the .htaccess I'm worried about!
What do I save it as? |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|