I am testing something out and i installed mybb on a test domain and I am trying to import my main's site database(members, posts etc) to the test domain.
Now i followed these directions
http://wiki.mybb.com/index.php/Database_Restore
But how do I get my posts, members, etc. to show on the test domain the way they do on my main site?
I do not want to touch my main site. I made this test site to experiment on.
So whatever is done, i don't want it to affect my actual website
did you complete the restore/import of the database? can you see the content in phpmyadmin?
once you can see them, you need to update the /inc/config.php file to use the new database information
then edit /inc/settings.php to use the new domain name, cookies info etc.
you should be able to login then.
okay i can see the psots and all that(the theme is messed up)
but for some reason i can not log in.....
I even had the password, username sent to me and got the temp password but it will not log in.
(and if i wanted my members on my Actual site to log in, how do i fix this?)
Anyone?
(2012-02-14, 11:41 PM)pavemen Wrote: [ -> ]did you complete the restore/import of the database? can you see the content in phpmyadmin?
once you can see them, you need to update the /inc/config.php file to use the new database information
then edit /inc/settings.php to use the new domain name, cookies info etc.
you should be able to login then.
Can anyone help me log in my forum?
Quote:but for some reason i can not log in.....
It is because in general configuration settings of your test board, the cookie settings and board URL is set to your main domain. Change it via inc/settings.php and then when you are able to login to ACP, change it via it as well.
here you go mate..
providing youve imported your database correctly then do the following:
in your inc/settings.php
look for:
$settings['cookiedomain'] = ".YourDomain.co.uk";
$settings['cookiepath'] = "/Your Forum Folder/";
$settings['bburl'] = "http://www.YourDomain.co.uk/Your Forum Folder";
change to YOUR domain, eg: if my domain was
http://www.google.com & my forum was
www.google.com/forum then my settings would be:
$settings['cookiedomain'] = ".google.com";
$settings['cookiepath'] = "/forum/";
$settings['bburl'] = "http://www.google.com/forum";
Now in your inc/config.php look for:
$config['database']['database'] = 'database_name';
$config['database']['username'] = 'database_username';
$config['database']['password'] = 'database password';
Change those to what you setup your database with.
As for your theme.. using an FTP prog.. download ALL your forum files from your current host then upload them to your new/test host.
Export your theme from current host using ACP>Themes then import it into your new/test host through the ACP>Themes then set the options for it as "Make Default" then "Force on all users"
hope this helps