News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Moving Server

Started by Grudge, March 11, 2004, 09:20:52 AM

Previous topic - Next topic

grabman

I'm not so much moving server as shifting the folder the forum is in.  Currently it is www.brodiescastle.com/forums [nofollow]  I want it to just be in root ie www.brodiescastle.com [nofollow]

is there a simple way to do this, I know it may be in here somewhere, I've been reading through but all seemed to be about server change and not just folder change.

I'm running SMF 1.1RC2 if it makes any difference.  CanI just copy all files from one folder to another or is it more complex?

Cheers

Grab

kegobeer

Put your board in maintenance mode, move the files to the root (if you ask your host, they should do this for you), and then download and run repair_settings.php.  It's available in the download section.

Of course, I don't mean move all of the files to the root, just move everything up one directory level.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

grabman

cheers kegobeer!!!

will try that this arvo!!
with a nick like that you might like my board, it's beer related!!

kegobeer

As always, if your host provides a backup utility, perform a full backup in case disaster strikes.  But I'm sure I didn't have to remind you.  ;)
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

grabman

#264
don't know what's going on but the repair_settings.php file won't download for me,  is it available anywhere else?

cheers

Grabman

don't worry got it, bloody dimwit that I am sometimes~~~

grabman

just gave it a whirl on my test server, piece of cake,  ,many thanks Kegobeer, you're a legend!!

hawkman

I had a free host that must have left town with the server running.  I just did a back-up of structure and data of my forum through SMF 1.1 RC1  admin panel.  However, I cannot get into cpanel or ftp to the server. (password screwed up and no one to help)

Can I just ftp my forum back-up to a new host (godaddy), or do I have to first load SMF to the new host, or am I totally dead?

In case it is not obvious, I need basic detailed information.  I am an SMF, MySQL, php dummy.

Thanks so much!
All that is necessary for evil to prosper is that good men do nothing - Edmund Burke

Epimetheus

Quote from: Epimetheus on February 05, 2006, 03:28:50 PM
I just moved from my linux box at home to a permanent location on a foreign server off my lan. My attachments directory is correctly set, but whenever I go into the admin panel and look at it, it shows it in bold red, as though there's an error. (The error log appears to be devoid of anything relating to this).

Naturally, no attachments show up, nor avatars.

Edit: SMF1.1 RC1

Just to let you guys know, I ran the repair_settings.php file before I posted the above -- so no, that didn't help (except with smilies)

Gemmie

#268
*edits because I found my answer*  Thanks for the tut..I hope I can get it to work!

Gemmie

Ok, I followed everything to a T...backed up the db through the admin section and uploaded it though the myphpadmin...uploaded the backup to the new server...made sure the paths were changed on the settings.php and ran the repair_settings.php....and now when I go to my board this is the error I am getting...

QuoteTable 'chateauw_cork.smf_settings' doesn't exist

any idea's how I can fix this?


CrayZ

Hello there.

I relay need help so please someone help me...

I recently wanted to move to a Yahoo server and I don't know how to upload my database.

phpMyAdmin is installed on the system but I cant find anywhere a place to upload the database. Does anyone have any idea what should I do...

Thanks

tekgik

Quote from: CrayZ on February 16, 2006, 10:20:45 AM
Hello there.

I relay need help so please someone help me...

I recently wanted to move to a Yahoo server and I don't know how to upload my database.

phpMyAdmin is installed on the system but I cant find anywhere a place to upload the database. Does anyone have any idea what should I do...

Thanks

Same question here, i cant find it on my phpMyadmin??

Sheepdog360

Quote from: CrayZ on February 16, 2006, 10:20:45 AM
Hello there.

I relay need help so please someone help me...

I recently wanted to move to a Yahoo server and I don't know how to upload my database.

phpMyAdmin is installed on the system but I cant find anywhere a place to upload the database. Does anyone have any idea what should I do...

Thanks

the easiest way to move your forum to a new server not using phpMyAdmin
and the converting from phpBB2 to smf:

1. create a new database on new server, name it DB_1
2. install SMF on DB_1 ( when installing, use table prefix smf_ ) ***Admin name needs to be same as phpBB forum
3. install same version of phpBB2 on new server on DB_1 ( when installing, use table prefix phpBB_ ) ***Admin name needs to be same as SMF forum
3. then go into old phpBB forum admin CP, and do backup database option (full)
4. log into new phpBB installed forum control panel, and do restore backup
5. verify phpBB forum has been restored correctly on new DB server by checking posts
6. then go into phpMyAdmin and check your tables..on left hand side you should see tables with both
smf_xxxx  and phpbb_xxx
7. upload SMF converter via ftp to smf folders
8. run converter and your all set

CrayZ

#273
I never had phpBB2  ::)

Quote from: tekgik on February 23, 2006, 03:40:33 AM
Quote from: CrayZ on February 16, 2006, 10:20:45 AM
Hello there.

I relay need help so please someone help me...

I recently wanted to move to a Yahoo server and I don't know how to upload my database.

phpMyAdmin is installed on the system but I cant find anywhere a place to upload the database. Does anyone have any idea what should I do...

Thanks

Same question here, i cant find it on my phpMyadmin??

Anyway I restore my database in this way.

1) First upload all the files to the new server.
2) Download restore_backup.php and upload to your root directory of your new server EX: http://www.yoursite.com/restore_backup.php
3) Upload your database in your root directory ( is just temporary there ) EX: http:///www.yoursite.com/complete_2006-02-14[1].sql Note: I did it unzipped

After you do those things go the address: http://www.yoursite.com/restore_backup.php and follow the instructions.

Note: On Yahoo servers the name localhost mus be replaced with the word mysql

In the end of the page you have to put the path of your database: EX. /public_html/mysqldata.2006-02-22-05-32.sql

It will be fine in few minutes I believe.

The next step is to use the repair_settings.php and try to fix the new paths. Just take your time and I believe everything will work just fine.

Epimetheus

Quote from: Epimetheus on February 11, 2006, 10:42:34 PM
I just moved from my linux box at home to a permanent location on a foreign server off my lan. My attachments directory is correctly set, but whenever I go into the admin panel and look at it, it shows it in bold red, as though there's an error. (The error log appears to be devoid of anything relating to this).

Naturally, no attachments show up, nor avatars.

Edit: SMF1.1 RC1

Just to let you guys know, I ran the repair_settings.php file before I posted the above -- so no, that didn't help (except with smilies)

Just letting you know that I havn't resolved the issue yet, so I'm still looking for help.

HellasVerona

#275
hello here is my problem
my host switched servers
i have mambo and smf integrated in him
they copy all my files to a new server
and mambo working but smf forum not
here you can see errors on hxxp:www.bosanskibrod.net [nonactive]
my database is on new server and i tried to run repair_settings.htm but it did not work
my smf is smf 1.1 beta 3

please can someone tell what to do
thanks


---
i fix this. its ok now
i dont know how when or how :) when i changed to my old pass everthing was ok

Epimetheus

Quote from: Epimetheus on February 11, 2006, 10:42:34 PM
I just moved from my linux box at home to a permanent location on a foreign server off my lan. My attachments directory is correctly set, but whenever I go into the admin panel and look at it, it shows it in bold red, as though there's an error. (The error log appears to be devoid of anything relating to this).

Naturally, no attachments show up, nor avatars.

Edit: SMF1.1 RC1

Just to let you guys know, I ran the repair_settings.php file before I posted the above -- so no, that didn't help (except with smilies)

So after some time, I decided to figure out what the problem was by doing a search for "404 - Attachment not found" strings in the sources files, this then implied my $filename for the attachments was non-existant when I called them from the forums... so I modified them so that they should still exist... frustrated, I still couldn't get it to work, so I tried to figure out why the directory field in the admin panel was red -- this didn't get me too far, but I looked at the error logs, and by miracle, a user tried to upload an avatar to no avail -- the directory was write protected. So, I made it writeable. And it's worked since.

I figured I'd share only because I'd hate for someone else to go through the same trouble, let alone someone who doesn't have any PHP experience.

Colonel Bill

#277
Hello!

I need help

How do I move the forum to a new domain on the same server?

I have multiple domains, each has it's own root directory under the main root

I can simply rename the root directory were the forum's .php files are, but I believe it is not sufficient

FTF

#278
Just thought Id outline how I moved my forum to a new server, with little or no stress at all!!

1) Backup / Download forum database

Now as my forum was huge I had loads of trouble using various tools, but found one

XT-Dump to be extremely useful, its scripted to pause upon server overloading (like SMF install) so there is little or no chance of page time outs.

Its also best to save as a gzip

2) Using an FTP client, download all forum files to hard drive, i.e mysite.co.uk/forum

3) Upload all these files to new domain directory i.e mynewsite.co.uk/forum

4) Create a new database on the new server

5) Upload forum database

Firstly you will need to install XT-Dump on the new server so you can use it to restore the database you downloaded from the old one.

There is a "dumps" directory that you will need to upload the original database too, using ftp client.

Once installed simply log on to your new database, click "restore database" and select the item you want to restore from the drop down menu.

It will then reverse the procedure seen in step 1 and hopefully with no problems, the database will be restored and your new server will work fine :)

Remember to use repair_settings tool to point forum to new database, and you will need to tweek a few directories in forum admin to make the site function properly.

Hope this helps anyone, and sorry if its been posted before!

rideclubsd

GZIP IS WEAK.

i'm using 1.0.6 and i made the mistake of backing up my forum tables with gzip.  now i get this error when i try backing up the database using phpadmin and the restore_backup.php file:

QuoteSome of the queries were not executed properly. Technical information about the queries:
Line #159: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '<table width="100%" cellspacing="0" cellpadding="0">
<tr bgcolo
Line #185: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'w'3gÜUÚÈ}ª\Œ•"vÇ|¡Lž,,ˆï3R'‰#¢, ²fÓôr™º¸¹?' at line
Line #621: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '´ ¥Ù3Š-WÁsË/AÕή#½' at line 1
Line #803: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '6¸"'ž9/ô:†^|O5]ô0B£¾[Ù#S˜þÃ<}˯Éy`ð9j¨ÀOZC...^ÌËÄ'F4|ú¾_Qòö|3K
Line #1449: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '^ìKˆèB]EÞ*2ó4MÒ<òàlK-Ÿð}1Iö4L,W˜/ëËVú MQRtï:4§ öKÆÙ>|,,ò
Line #1485: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'çòMß9b ýTÑ磢C>»å€‡ÈJK_&' at line 1

Advertisement: