This topic has 9 replies, 2 voices, and was last updated 9 years by kevcoulter.

  • Author
  • #22866
     kevcoulter
    Participant

    Hi Catalin,

    Please can you take another look at why the user login doesnt work. This is crucial as no-one can sign-in to the site. Am away on holiday from tomorrow and panicking this won’t be fixed.

    I did transfer whole site to another server yesterday but all else is working fine (all wp-contents folder uploaded and clean database (default one DROPped and backup one placed up).

    Many thanks

    #22874
     Catalin
    Moderator

    Hello,

    I tried to log in from your site as a normal user and i get this error:

    ” 404 not found
    http://roomforlove.co.uk/wp-admin/admin-ajax.php

    That is a core WordPress file that is missing.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #22878
     kevcoulter
    Participant

    This file is definitely there. Just checked and also re-uploaded from complete backup. Checked my upload log too. What would you advise at this time please.

    #23051
     Catalin
    Moderator

    you can try a fresh install of WordPress and see if this error still occurs

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #24483
     kevcoulter
    Participant

    Hi Catalin,

    OK, taken a fresh look at the login problem. You said above that you received the error “” 404 not found
    http://roomforlove.co.uk/wp-admin/admin-ajax.php

    All my files are within the subfolder “wordpress” hence the admin-ajax.php file is at http://roomforlove.co.uk/wordpress/wp-admin/admin-ajax.php

    Is this a fundamental problem with my set up. Should all these files NOT be in the subdirectory??

    #24484
     kevcoulter
    Participant

    should this be physically adjusted in the code to point to /wordpress folder? If so, can you do this please, or tell me exactly how to. thanks

    #24742
     Catalin
    Moderator

    Hello,

    I believe the problem comes from the process of moving the site from one server to another… the links should be adjusted in the database of WordPress before uploading to the new server. Take a look at this link:

    http://codex.wordpress.org/Moving_WordPress

    Thank you
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #24791
     kevcoulter
    Participant

    I had this problem before I changed serve – in fact it was highly likely this is what crashed my site in the first place as it was falling over on the site-login.

    I transferred the whole site “by the book”, step-by-step from instructions and everything else is working fine (eg, htaccess, permalinks etc). You can even log in from the following link from our generated email:

    http://roomforlove.co.uk/membership-account/membership-levels/

    If you can’t fix login through the pop-up then I’m happy to redirect to the login page that does work for the time being. I’m going to take another look at the Facebook login through the app as must be missing something!

    Please let me know. Thanks

    #24799
     kevcoulter
    Participant

    also surely if all the admin files are in the subdirectory /wordpress and the error message says:

    ” 404 not found
    http://roomforlove.co.uk/wp-admin/admin-ajax.php

    then what needs to be changed in the code for the function to find http://roomforlove.co.uk/wordpress/wp-admin/admin-ajax.php ??

    All my wordpress files sit in the /wordpress subdirectory, but I followed exact instructions online so my index page sits at the root with the following code:

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );

    This is the way for the site not to show the /wordpress in the url.

    Again, I don’t think this is the cause of the login problem, just to make you aware what I’ve done.

    #24986
     kevcoulter
    Participant

    sorted with wordpress reinstall as advised. Works fine now. Thank you.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Can't get user login to work’ is closed to new replies.

Log in with your credentials

Forgot your details?