Moved site from dev server to live server, can't login to dashboard

Permalink
This is something I have done many times before. No idea what the issue is. The concrete5 version is 5.6.0.2.

I've cleared the cache, tried a new browser session but nothing. It won't login and reset won't work because it thinks there is no user with my email - which is not correct since the user is in the DB. The config is definitely correct and the website otherwise works fine.

Any debug tips?

 
globalnerds replied on at Permalink Reply
globalnerds
Did you turn off tiny urls before you moved it? If not, remove the following from your .htaccess:

# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --


Your .htaccess file is in your root directory.
pvernaglia replied on at Permalink Reply
pvernaglia
I would take a look in the database and see what the admin email is and change it if it not correct, then try doing a password reset.
JohntheFish replied on at Permalink Reply
JohntheFish
Job wrote a comprehensive howto on the various ways to get a new admin password.

http://www.concrete5.org/documentation/how-tos/developers/recoverin...

When I have had this glitch it has been the encryption seed. Particularly when moving windows to linux I don't know if any capitalisation issues get into it. But maybe some seed characters don't translate the same way and it all depends on the string.
netnerd85 replied on at Permalink Reply
URL rewriting was setup but I have disabled it. It was all setup correctly and working but to eliminate it completely I have turned it off in the DB and removed the htaccess file.

The user name/email of the admin are "correct" and resetting the password through the DB has done nothing. All the values match the local copy as well, even after password reset. (just using admin/admin for username and password atm).

I can't run php info on the server, it's disabled.

The php server var for Script Name is being set with "/~website.com" prefixed. I've manually set the DIR_REL to be nothing but this causes the website to stop working, giving a page not found C5 styled page.

Viewing the source code all URLS are turned intohttp://www.website.com/~website.com/index.php,... could this be causing issues logging into the dashboard?