This topic has 9 replies, 2 voices, and was last updated 10 years by kevcoulter.
-
Author
-
July 17, 2014 at 15:44 #22866kevcoulterParticipant
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
July 17, 2014 at 16:28 #22874CatalinModeratorHello,
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,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 17, 2014 at 16:40 #22878kevcoulterParticipantThis 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.
July 21, 2014 at 15:16 #23051CatalinModeratoryou 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 solutionAugust 3, 2014 at 15:18 #24483kevcoulterParticipantHi 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??
August 3, 2014 at 15:20 #24484kevcoulterParticipantshould 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
August 5, 2014 at 15:06 #24742CatalinModeratorHello,
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
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 5, 2014 at 21:40 #24791kevcoulterParticipantI 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
August 5, 2014 at 23:04 #24799kevcoulterParticipantalso 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.
August 7, 2014 at 13:16 #24986kevcoulterParticipantsorted with wordpress reinstall as advised. Works fine now. Thank you.
-
AuthorPosts
The topic ‘Can't get user login to work’ is closed to new replies.