Forum Replies Created

Viewing 1 replies (of 1 total)
  • For those still experiencing problems with this, I found a solution to my problem (being that there appear to be a few similar issues and fixes).

    I could not log in as admin user, it was giving me the ‘WordPress requires Cookies but your browser does not support them or they are blocked’ error.

    My problem was the cookie path. Without digging into the get_option(home) function, a quicker and dirtier way was to define these options in wp-config.php, ABOVE the line that requires wp-settings.php:

    define (‘COOKIEPATH’, ‘/’);
    define (‘SITECOOKIEPATH’, ‘/’);

    Not a graceful fix, as the path is hard coded in – but it’s a mighty fine fix that lets you log in.

    [edit]
    After managing to log in, I found the client had set the ‘WordPress address’ under options to include the ‘index.php’ portion of the URL. This is obviously used to determine the cookie path.

    Use the ‘define’ statements above to allow you to log into the admin, then check to see if you have more in the URL than the base path to your install (no page name). If this is your problem, once updating the URL in options, the ‘define’ lines can be removed from the config file.

    This needs to be fixed so that you are not locked out of admin if a wrong URL is placed in the field. Determine another way of setting the cookie path, not something that inexperienced people can mess up. There are other methods of finding a path to the install.

Viewing 1 replies (of 1 total)