MyBB Community Forums

Full Version: Installing but keeping all posts + addons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So recently my host shut down and sent me the backup of my forums. I found a new provider and I wish that I could just upload everything through FTP and done with it..but that hasn't worked. I modified the config.php to reflect the change in MySql databases but that didn't work.

How do I accomplish something like that?

Thanks in advance.
Did the send you a backup of your database? Because that is where the posts and such are stored. Look for a .SQL file.
(2010-08-03, 11:25 PM)zDawg32 Wrote: [ -> ]Did the send you a backup of your database? Because that is where the posts and such are stored. Look for a .SQL file.

Yes, they did. I tried merging the .sql with a new one (at least that's what I think I did) and when I loaded it all up the forums were very messed up. It looked like it was all plain text, links weren't working, etc (see this: http://snakeshit.byethost32.com/forum/index.php).
I get a 404 for page clicking that links, have you set your board URL correctly? Seeing as your on a sub domain, changing hosts will probably mean your board URL is wrong. Change it in ./inc/settings.php then once you log in change it again in your board configuration.
Yes, it was correctly set up. I'm not sure why it's doing that now. Oh well, that was just an example of how the page looked.
You current domain seems to be: http://snakeshit.byethost32.com/forum
But the forum uses this domain: http://mpgsnake.byethost6.com/forum

Looks like your settings (stored in the MySQL DB) are not updated correctly.
If available, you can use the ACP, to update the settings (General Configuration).

If your ACP is not available, use e.g. phpMyAdmin for a manual update:
SQL Table: settings
SQL Entries: bburl and cookiedomain

Update the old domain value to you current domain. Then it should work again Wink
Alright, I tried it on a new host because the ftp uploading was freaking out.
Same problem..I modified both of those values in the database.

http://delayedreaction.x10.mx/forum/

Since all the posts are showing up, I don't believe it's a problem with the database.

edit

I finally figured it all out.

Thanks for the guidance.
I don't get what the problem is..
The setting for the url of his board was wrong in the database. :p
(2010-08-05, 03:16 AM)HolyPhoenix Wrote: [ -> ]The setting for the url of his board was wrong in the database. :p

Actually the settings are loaded from ./inc/settings.php but there is a copy stored in the database. You need to either change it in the database then delete the settings.php file or you can change it in settings.php and that will allow you to log in so you can change it again in the settings.