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.

Server clone From Colo 1 to Colo2, EE 1.6.8 admin login works in Colo1 but not Colo2

November 16, 2011 12:57pm

Subscribe [1]
  • #1 / Nov 16, 2011 12:57pm

    kellyshih

    3 posts

    Hi,

    We purchased 1.6.8 with MSM (multisite) around 2009.

    We are pulling one site from Colo1 to Colo2.
    The easist way to clone the server and clean up the data from both servers.

    However, both server can check invalid login, but only the colo 1 server accept the valid login, the Colo2 server is redirect the page back to the login page without any error message.

    I spoke with lisa and she told me this is not related to license.

    Can someone advise me how to trouble shoot this issue?
    Where is the log file located?

    thank you. 

    -Kelly


    ==============Adding config.php (hiding password )

    [root@ws cms_admin]# cat  config.php
    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "168";
    $conf['license_number'] = "";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "localhost";
    $conf['db_username'] = "XXXXXXXXXXXXXXXXXXXX";
    $conf['db_password'] = "XXXXXXXXXXXXXXXXXXX";
    $conf['db_name'] = "XXXXXXXXXXXXXXXXXX";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['system_folder'] = "cms_admin";
    $conf['cp_url'] = "http://www….com/cms_admin/index.php";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['cookie_prefix'] = "";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['multiple_sites_enabled'] = "y";
    ?>[root@ws cms_admin]#

     

     

     

  • #2 / Nov 16, 2011 1:47pm

    Lisa Wess

    20502 posts

    Welcome to our community, Kelly!

    Can you try changing:

    $conf[‘cookie_prefix’] = “”;

    to

    $conf[‘cookie_prefix’] = "colo1";

    for just one site? There may be a cookie conflict and the prefix will help avoid that.

    Thanks!

  • #3 / Nov 16, 2011 2:03pm

    kellyshih

    3 posts

    it’s still the same, valid login looping back to the same login page.

    when I enter invalid password, it shows ==>
    The username you submitted was not found in the database


    When I enter valid password, it shows blank
    but the URL shows this

    http://ws.unidosfinancial.com/cms_admin/index.php?S=494be82220f154f74af06141cf7507e86928396e

  • #4 / Nov 16, 2011 2:10pm

    kellyshih

    3 posts

    one more note

    The Colo1 webserver is listed in public IP
    The Colo2 webserver is listed with private IP.

    Both webserver are identical except MacAddress/IP/Hostname

    The Multiple site is handled by Apache Virtual Host.
    All apache related setup looks correct. I can pull phpinfo page from both servers.

  • #5 / Nov 16, 2011 3:41pm

    kellyshih

    3 posts

    I think I will just use webspider to capture all the static content from colo1 and figure something out later.
    tks

  • #6 / Nov 17, 2011 12:32pm

    Lisa Wess

    20502 posts

    Hi, Kelly -

    The next step would have been to make sure that PHP errors are on and showing; it is usually a suppressed PHP error that leads to a blank page.  Did you want to troubleshoot that or move on to static as you had said?

    Let me know, happy to help either way.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases