WordPress.org

Ready to get started?Download WordPress

Forums

repeatedly being asked to login into admin and very high load when in admin (2 posts)

  1. evanspj
    Member
    Posted 9 months ago #

    [ Moderator note: Topic title edited, please refrain from using the word "help" in your titles. Everyone here is looking for help. ]

    Several weeks ago I started being asked to relogin into my admin account when using the wordpress dashboard. There does not seem to be any pattern other than the fact that it happens more often it I have more windows open (but this is probably just that I notice it more then).

    I have done a search and someone suggested that putting
    define('WP_HOME','http://example.com');
    define('WP_SITEURL','http://example.com');
    in the wp-config.php file will fix it.

    In my case it does not stop it but instead of being directed to the login page I see a message that my session cookie has expired. It seems to be a little less frequent as well.

    The other issue is that the backend seems to be incredibly slow and if i look at the number of executions via cpanel the load seems very high whenever I am logged into admin.

    1. Do I need
    define('WP_HOME','http://example.com');
    define('WP_SITEURL','http://example.com');
    in the wp-config.php file?

    2. How can I check if the session cookie has been correctly set and read?

    Any assistance gratefully accepted
    Peter Evans

  2. Tara
    Member
    Posted 9 months ago #

    May be a cache problem.

    Have you tried:

    -deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can't get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicible, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    - To rule out any theme-specific issue, try switching to the unedited default theme for a moment using the WP dashboard. If you don't have access to your admin area, you can switch to the default theme by renaming your current theme's folder in wp-content/themes and adding "-old" to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).
    - If the above troubleshooting steps fail to resolve the issue, try manually re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.