We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Everyone is locked out of my site including me | Forum

Topic location: Forum home » Support » General Questions
Patrick
Patrick Nov 11 '11
So here is the deal, I screwed up and did not transfer my site over from one domain to another correctly. So I did a fresh install and imported my old database records from a site backup I did before the install. Now all of myself and all my users are locked out of the site as it will not take any of our passwords. Any thoughts on how to fix this would be greatly appreciated.
Keelan Leader
Keelan Nov 11 '11
Straight verision change?
Connecting to the correct DB?
Patrick
Patrick Nov 11 '11
It was not connecting to the correct data base which is why I just elected to do a complete fresh install. Everything is there however the it seems as though the user tables did not transfer over correctly.
Keelan Leader
Keelan Nov 11 '11
So you copied the database into the new database? 
Patrick
Patrick Nov 11 '11
Yes
Mark
Mark Nov 11 '11
when i transferred sites before i could log in i had to reset my password

your users will have to do the same
The Forum post is edited by Mark Nov 11 '11
Michael Leader
Michael Nov 13 '11
1:  Grab all the files from your old host and upload to your new host.
2:  take a backup of your old host database
3:  Create a new empty database in your new host noting the name, user and password
4:  Use the PHPmyadmin, open your new database and use the import function
5: select your downloaded database you took from the old host and press "go"
6: Now edit your config.php in /ow_includes/ and enter in your new site URL (if it has changed), the new username and password for your database connection.

That SHOULD be it.  I have done this loads of times.
Hati Narcatis
Hati Narcatis Nov 13 '11
Another important information:
Use the same password-salt!

There is an entry in the ow_includes/config.php

define('OW_PASSWORD_SALT', 'm4nyl3tt3rS4ndnumb3rS');

If this salt changes, you can not login and access the data in the database!
As Michael said, grab all the files from the old host so it shouldn't be a problem.
A new installation with an old database will not work.
Michael Leader
Michael Nov 14 '11

Quote from Hati Narcatis A new installation with an old database will not work.

You will end up with broken images, incorrect CSS and mismatch in  plugins.  Grabbing all files is the best way.