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 in

May 22, 2012 11:38am

Subscribe [2]
  • #1 / May 22, 2012 11:38am

    anonymous61630

    93 posts

    Originally I wanted to solve this problem:
    In one of the MSM sites I set up a preview template for one of the channels. Clicking the “View” link brought me to a page that said I had to click a link to view the requested page. Not exactly user friendly.

    I read in the forums that it could have to do with cookie settings, so I changed the cookie domain and the cookie path of all four MSM sites. Now I can’t log in to the CP anymore. I always get redirected to the login page.

    I cleared the cache and cookies of my browser, didn’t help.
    I put this in the config.php:

    $config['cookie_prefix'] = "";


    And this in the sites’ index.php:

    $assign_to_config['cookie_path'] = '';
    $assign_to_config['cookie_domain'] = '';

    Nothing seems to help.

    The system is on EE 2.1.3, due to an exotic server setup it is extremely tedious to upgrade, so that is not an option at the moment.

  • #2 / May 23, 2012 4:21am

    anonymous61630

    93 posts

    I am able to log in again. I added this to config.php:

    $config['cookie_prefix'] = "";
    $config['cookie_path'] = "";
    $config['cookie_domain'] = "";
    $config['admin_session_type'] = "c";

    Now back to my original problem: How can make the redirect from the “To proceed to the URL you have requested, click the link below:” page to the actual page work?

  • #3 / May 23, 2012 12:21pm

    Shane Eckert

    7174 posts

    Hello Florian,

    I am sorry to hear you are running into this problem.

    When you hover over the “view” link, what do you see as the url? Where is it trying to take you? Is this template on the same site or another MSM site?

    Please let me know.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases