cannot login to backend

Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #228538
    peterkinvara
    Participant

    Hello I finally managed to migrate a site after many failures, by restoring the site in sections (plugins, uploads, themes etc). I wanted to restore the WordPress core, but couldn’t- I got an error message saying it wasn’t allowed because of a .protect folder in the new location. The site seems mostly OK on the frontend ( bar a few icons missing) but I cannot login to the backend. I tried adding:
    define( ‘WP_SITEURL’, ‘https://example.com/wordpress’ ); and
    define( ‘WP_HOME’, ‘https://example.com/wordpress’ ); to wp-config.php
    with the new address, but to no avail. It brings up wp=login, but wp-admin cannot be reached.
    What should I do to complete the migrtion?
    Thanks

    #228556
    Dee Nutbourne
    Moderator

    Hi,

    Please could you send us a copy of the migration log? This can be found in the ‘wp-content/updraft’ directory of the site via FTP.

    The contents will be too long to post here directly, but you can use an online service such as Pastebin or Dropbox, and post the link here.

    Best Wishes,
    David N

    #228562
    peterkinvara
    Participant
    #228737
    Bryle Crodua
    Moderator

    Hi,

    There appears to be a protected folder inside the WordPress directory. You will need to remove the protected folder or change the permission so UpdraftPlus is able to move if during migration.

    After changing the folder permission, you will need to run the migration again. I believe you can no longer login to your WordPress dashboard? In this case, you can manually restore the ‘wpcore’ zip file. See manual restore guide here – https://updraftplus.com/faqs/i-want-to-restore-but-have-either-cannot-or-have-failed-to-do-so-from-the-wp-admin-console/

    Kind Regards,
    Bryle

    #228747
    Dee Nutbourne
    Moderator

    Hi,

    The logs do not show any errors occurring during the restoration, except the WP Core restoration failing.

    Please could you check if the ‘wp-admin’ directory exists with contents, via FTP?
    If so, please could you find the following line in wp-config.php, and change ‘false’ to ‘true’:

    define('WP_DEBUG', false);

    Then attempt to access wp-admin again? You should see an error message output, rather than the 500 internal server error message.

    Best Wishes,
    David N

    #229135
    peterkinvara
    Participant

    Hello I restored the site again, folder by folder, and the frontend is showing.
    The backend is unreachable again. I excluded the protected the folder this time.
    I edited the wp-config.php file to allow the debugging, as suggested above.
    I got an error message which I have uploaded as a text file to Dropbox, along with the log files for the restoration.
    Here are the files :https://www.dropbox.com/sh/1okzudgp1gcha03/AAAzEkmMtoaXmsUZwJU7vBpWa?dl=0
    What do I need to do to sort the issue?
    Thanks

    #229137
    peterkinvara
    Participant

    Hello, managed to solve the issue by making the change suggested here: https://xtemos.com/forums/topic/revolution-slider-error-crashes-admin-cp/
    The other issue I have is that the icons for the dropdown arrows in the menu and other boxes and the Facebook link on the top right are not showing: they are replaced with an empty box.
    What could be causing that, and how do I fix it?
    Thanks

    #229162
    peterkinvara
    Participant

    I’ve discovered that it is a Chrome issue. Fixed by following the addition to .htaccess ecplained here:
    https://crunchify.com/how-to-fix-access-control-allow-origin-issue-for-your-https-enabled-wordpress-site-and-maxcdn/

    Thanks

    #229211
    Dee Nutbourne
    Moderator

    Hi,

    Glad that the issue is resolved.

    Thank you for the link, I will add a note for the future.

    Best Wishes,
    David N

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘cannot login to backend’ is closed to new replies.