ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can't login after migrating from a local host to production server

October 18, 2009 11:57pm

Subscribe [2]
  • #1 / Oct 18, 2009 11:57pm

    Wesley Gooch

    4 posts

    So I followed these instructions: http://expressionengine.com/knowledge_base/article/how_do_i_move_ee_to_another_server/

    I am able to get to the login page, connect to the db and everything seems fine except I can’t login. I keep getting: You are not authorized to perform this action

    I only have one user, the original admin user I created at install so I should have all of the privileges needed to login. Can anyone point me in the right direction?

  • #2 / Oct 19, 2009 12:47am

    Wesley Gooch

    4 posts

    okay so I just changed my “Require IP Address and User Agent for Login?” to No and tried logging in and I did not get an error this time but I still can’t get past the login screen. It looks as though it created a user session correctly though. still stumped.

  • #3 / Oct 19, 2009 1:49am

    John Henry Donovan

    12339 posts

    Wesley,

    Try adding this to your config.php temporarily:

    $conf['cookie_domain'] = ".example.com";
    $conf['cookie_path'] = "";
    $conf['cookie_prefix'] = "";
    $conf['admin_session_type'] = "c";
    $conf['require_ip_for_login'] = "n";
    $conf['secure_forms'] = "n";
  • #4 / Oct 19, 2009 1:54am

    Wesley Gooch

    4 posts

    John,

    Thanks for the reply. Not 5 minutes ago I figured out the issue. It was some apache config differences between my local host and the production host. I figured it out.

    thanks for the help,
    Wes

  • #5 / Oct 19, 2009 1:59am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Feel free to start a new thread if you have any more questions

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases