MyBB Community Forums

Full Version: from localhost to server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I uploaded my forum from localhost to my server.
The problem is, after uploading the backup of my database from localhost to server I cannot login to my admin account.

I did the following step to move my forum from localhost to server
Quote:1. Change the Board URL and cookie settings in the General Configuration options to work for your new URL.
2. Then upload your files from your localhost to your new host.
3. Create a database on your new host and import a backup of your database to it.
4. Then edit ./inc/config.php to point to this new database.

Why I can't log in with my admin account?
make sure that cookie path is set to: /
and cookie domain is: .yoursite.com

Then try if problem still persists.
If you've created a forum o your localhost (i.e. on your computers) and you want now to upload it to the net/server, then here is how;

1. Change the Board URL and cookie settings in the General Configuration options to work for your new URL.
2. Then upload your files from your localhost to your new host.
3. Create a database on your new host and import a backup of your database to it.
4. Then edit ./inc/config.php to point to this new database.
(2011-04-02, 12:30 PM)^(-.-)^ Wrote: [ -> ]Why I can't log in with my admin account?

What actually happens when you try to login?
You must change the cookie settings to the new site