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 log into local copy of my EE 1.6.9 website

February 07, 2011 10:30pm

Subscribe [2]
  • #1 / Feb 07, 2011 10:30pm

    friesenj

    2 posts

    Hi,

    I’m trying to make a local copy (for development purposes) of a live EE website I have on EngineHosting. Most of the guides I’ve seen for making local copies basically just say “install MAMP/WAMP and copy your EE website into htdocs” but I seem to be having some Apache configuration issues.

    My target machine is running Linux CentOS 5 with Apache 2.x. I’m using the out-of-the-box Apache config files, with the exception that I added a line for loading the PHP module and commented out some (like proxying) that I was pretty sure aren’t necessary. When I try to load up my local copy, I can get to the login screen, but when I enter a valid username/password, it just punts me right back to the login screen with the forms empty again. I’ve tried using cookie-only authentication (instead of sessionid, which I suspect isn’t set up) but I see no cookies for my IP address showing up in my browser.

    Can someone point me in the right direction here? I’m really at a loss. I tried doing this months ago on my Mac directly with a default MAMP install and had the exact same issue and never figured it out. I’ve attached my config.php (where you can see I’ve tried overloading sessions for cookies) and my httpd.conf. httpd.d.conf is cat /etc/httpd/conf.d/* to a single file.

    Regards,
    Joseph

  • #2 / Feb 08, 2011 3:05pm

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, friesenj.

    Since you’re new to the EE forums, have you seen EEWiki:// How to Post a Support Request?

    I’ve always just used MAMP with only making changes to php.ini to up the default memory_limit value. Have you tried going back to a more vanilla version of MAMP?

  • #3 / Feb 08, 2011 8:41pm

    friesenj

    2 posts

    Hi Sue,

    I had tried MAMP at one point, but in this case I’m setting it up using Apache on Linux. I will look at the memory limit, but I highly suspect this is not the problem here: I am only trying to log into the control panel, and it does /not/ render a blank page (the symptom of PHP limits) but instead brings me right back to the login screen.

    I reviewed the “How to post” article. Extensions are already disabled, we can’t upgrade EE at this point (and it works fine on the EngineHosting server), and the issue I’m facing is quite basic, so the rest of the items don’t apply. I just can’t log in :(

    I suspect something is very wrong with cookies, sessions or both. Can you provide some assistance regarding this? Did you have a chance to look at the attached configuration files?

    Regards,
    Joseph

  • #4 / Feb 09, 2011 10:22am

    Sue Crocker

    26054 posts

    Hi, Joseph.

    Is your db named the same on your MAMP install? If you just do a clean install on MAMP, does that work? You’d need to clear out your cookies first.

  • #5 / Feb 09, 2011 12:13pm

    friesenj

    2 posts

    Sue,

    I think I was pretty clear in both of my posts that this exact situation has nothing to do with MAMP. Forgive me for ever mentioning it. I was only saying I had seen the same problem when I had tried using MAMP, months and months ago.

    This situation is:
         
          ENGINE HOSTING   =>  copy EE site to =>  CENT OS 5

    Anyway, I resolved this issue by searching old forum posts.

    For anyone that might come across this via Google, I changed my authentication method from “cs” (cookies + session) to “s” (session only).

    Please close this ticket.

  • #6 / Feb 09, 2011 9:35pm

    Sue Crocker

    26054 posts

    Glad you were able to figure it out.. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases