UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › cannot login to backend
- This topic has 8 replies, 3 voices, and was last updated 7 years, 2 months ago by Dee Nutbourne.
-
AuthorPosts
-
September 7, 2017 at 2:42 pm #228538peterkinvaraParticipant
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?
ThanksSeptember 7, 2017 at 3:48 pm #228556Dee NutbourneModeratorHi,
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 NSeptember 7, 2017 at 3:53 pm #228562peterkinvaraParticipantOK have upploaded logs to:
https://www.dropbox.com/sh/j5eynsqbr7g6w7h/AACo_aG6lFj1MXf0RJEcSP5da?dl=0September 8, 2017 at 3:37 pm #228737Bryle CroduaModeratorHi,
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,
BryleSeptember 8, 2017 at 4:38 pm #228747Dee NutbourneModeratorHi,
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 NSeptember 11, 2017 at 10:37 am #229135peterkinvaraParticipantHello 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?
ThanksSeptember 11, 2017 at 11:03 am #229137peterkinvaraParticipantHello, 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?
ThanksSeptember 11, 2017 at 1:59 pm #229162peterkinvaraParticipantI’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
September 11, 2017 at 6:09 pm #229211Dee NutbourneModeratorHi,
Glad that the issue is resolved.
Thank you for the link, I will add a note for the future.
Best Wishes,
David N -
AuthorPosts
- The topic ‘cannot login to backend’ is closed to new replies.