Moved site, admin broken
-
Having designed my site locally, I moved it online (to one.com) following the standard instructions (I have done this on this host many times before). The site works fine in every respect, except that I cannot access /wp-admin. I can see https://www.anunexpectacle.com/aptart/wp-login.php but attempting to login from there does nothing at all.
I have searched widely for solutions, but nothing seems to help.
Please help,
Matt
-
hav you tried:
-deactivating ALL plugins (yes, all) temporarily to narrow down the problem. If the problem goes away, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can’t get into your admin dashboard, try 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).
-switching to the unedited default theme (Twenty Eleven) 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 via FTP or SFTP or whatever file management application your host provides. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.
ok and if resetting all the plugins still doesn’t solve the problem, what are some other options?
Thanks t-p. One of these seemed to work, though I’m not sure which because although I did them in the order you said, my ftp client behaved like it was renaming more slowly than expected so I sort of did them both at the same time.
But it now works and I can use the admin. However, it has led to other problems.
1) It seems to have broken wp_head so I had to manually put some script links in (like jquery).
2) I can’t seem to logout, it just hangs.
Thanks again! You at least got it moving again.
you are welcome ??
This problematic WordPress install continues. Logging into wp-admin is impossible unless I temporarily change the name of the theme (customised Sandbox theme) as t-p suggested. The rest of the site works fine and admin works locally but now it is online, wp-admin throws up a blank page.
If I change the theme name, the rest of the site breaks, but I can access admin.
When I change the theme name back to what it was, I can access most of admin (and the rest of the site comes back), but I can’t logout of admin. I also cannot access admin from a different browser (I guess where the session is not logged).
Not sure how to troubleshoot from here.
The error given out on pages such as the failed logout page is:
Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2628 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2748 Notice: Undefined variable: attr in /customers/5/0/0/yyy/httpd.www/xxx/wp-content/themes/sandbox/functions.php on line 508 Notice: unregister_widget_control is deprecated since version 2.8! Use wp_unregister_widget_control() instead. in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2628 Notice: unregister_widget_control is deprecated since version 2.8! Use wp_unregister_widget_control() instead. in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2628 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-login.php on line 362 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-login.php on line 374 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 697 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 698 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 699 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 700 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 701 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 702 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 705 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 706 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 707 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 708 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 711 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 712 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 713 Warning: Cannot modify header information – headers already sent by (output started at /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php:2628) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/pluggable.php on line 714
Just to be clear, there is also an error on pages that do work normally which is:
Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2628 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2748 Notice: Undefined variable: attr in /customers/5/0/0/yyy/httpd.www/xxx/wp-content/themes/sandbox/functions.php on line 508 Notice: unregister_widget_control is deprecated since version 2.8! Use wp_unregister_widget_control() instead. in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2628 Notice: unregister_widget_control is deprecated since version 2.8! Use wp_unregister_widget_control() instead. in /customers/5/0/0/yyy/httpd.www/xxx/wp-includes/functions.php on line 2628
Thanks for your assistance!
- The topic ‘Moved site, admin broken’ is closed to new replies.