• Resolved WP CMS Ninja

    (@billiardgreg)


    So I recently migrated a site from a dev location to a clients server that is only being used to host this site. Migration went smoothly and site is up and running. Only issue was on the MySQL export I needed to remove all references to charset before importing. So I go to log into the admin control panel and it appears to allow the person to log in yet when you try to go to the WP-Admin area I get “Sorry, you are not allowed to access this page.”. It shows the user bar with “Howdy, Username” at the top but with no links to profile or back-end dashboard, only link to Logout. wp-users and wp-usersmeta tables look legit and nothing was changed from the dev to live site. Anyone run into this issue or know where I can start looking? Nothing in error logs or showing why this is happening.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you check you .htaccess for any potential redirection issue? if not you can try to add ob_start(); in wp-login.php file after <?php in first line.

    Thread Starter WP CMS Ninja

    (@billiardgreg)

    .htaccess doesn’t have any potential redirection issues. It successfully logs the person in yet no access to dashboard or links visible to dashboard in user bar across top.

    When I turn debug on I see following notices:

    Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /wp-includes/functions.php on line 3721

    A couple other items popping in debug mode, undefined offset’s regarding part of the theme.

    Thread Starter WP CMS Ninja

    (@billiardgreg)

    So I am not sure why the login was acting the way it was, I did change the prefix to something other then what it was and updated the wp-config.php file accordingly. I uploaded the database again using the same prefix on the dev site and was able to then get to the admin dashboard successfully. If someone reading this knows why this happened then please let me know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login Issue after Migration’ is closed to new replies.