Page 1 of 3
Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 4:13 am
by simonmlewis
Hi
I am creating a few dummy web sites for clients to show them ideas, and have made one locally.
All fine. However, there are some issues:
1) when I copied a database of a working WP site, and all files, it worked except none of the images showed up - even when I changed their URLs.
2) when I copied the site to a live server, the site again does the same thing (tho could be the URLs starting URL differs hence missing images)..... but worse still, the /wp-admin doesn't show up anything. No error. blank page.
I've edited wp-config to show the login info and tell it to point to the current URL path, but still nothing.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 6:24 am
by Celauran
Have you set WP_HOME and WP_SITEURL? Is WP_DEBUG on? What do you see in your error logs?
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:05 am
by simonmlewis
Both are set, yes. WP_DEBUG?
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:17 am
by simonmlewis
Code: Select all
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-includes/functions.php on line 3457 Warning: require_once(/var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-admin/includes/post.php): failed to open stream: No such file or directory in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-admin/includes/admin.php on line 46 Fatal error: require_once(): Failed opening required '/var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-admin/includes/post.php' (include_path='.:') in /var/www/vhosts/OURDOMAIN.org.uk/demosimple.OURDOMAIN.org.uk/wp-admin/includes/admin.php on line 46
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:29 am
by Celauran
Oh well that explains it. Download the correct version of WordPress, copy the missing file over, and you should be good to go.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:33 am
by simonmlewis
But the version is only one step back from the current one. How can that be so depreciated???
Oh heavens, it looks like it didn't actually copy all files over.
That's very odd.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:38 am
by simonmlewis
What is wp_widget?
Is that a widget I am using which is now defunct?
The file functions.php is the latest.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:42 am
by Celauran
I wouldn't worry about the functions.php. Just ignore the notice. It's the missing post.php that's causing problems.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 7:58 am
by simonmlewis
Ta. I also don't understand why it didn't copy over all my styling.
The main image in the theme for the logo didn't show up in Theme Options, nor did the main Color Hex code.
It's a theme called Accelerate.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 8:00 am
by Celauran
I couldn't say. I know that WordPress is notorious for keeping everything in the database, so that's one possibility. Some files were clearly not copied, so it's possible others (like the image) were missed as well.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 3:58 pm
by simonmlewis
Here's a bizarre one then.
I've downloaded the Goodstore Child theme. Officially purchased.
Installed it and works on my laptop.
I upload everything to the server.
On first attempt there are all sorts of files missing (howcan there be if I just uploaded them fresh?).
Secondly, I get this in Admin. It's totally messed up.
And on the main site, none of the styling has copied over.
Why would this keep happening?
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 4:29 pm
by simonmlewis
I've just removed everything, except the databae tables, and reinstalled Word Press and it won't run at all. I uploaded the new wp_config file so it would atuomatically connect with the registered details and still no go.
Wordpress is a real pain when it comes to copying a site over. It's just won't ever do it cleanly.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Mon Oct 05, 2015 6:20 pm
by Celauran
WordPress is a real pain when it comes to most things. Make sure WP_DEBUG is on, comb through the log files, and it shouldn't be too hard to sort out.
Re: Wordpress site copied: wp-admin not showing anything
Posted: Tue Oct 06, 2015 3:34 am
by simonmlewis
This is maddening.
I have just deleted the lot, and then uploaded them folder by folder, slowly. Checking the amount of items in a folder.
And STILL it messes up. Is it just not possible to handle Wordpress in that way, and that you do have to build "from scratch" each time, specially with woocommerce type sites and themes???
Re: Wordpress site copied: wp-admin not showing anything
Posted: Tue Oct 06, 2015 6:17 am
by Celauran
WordPress definitely has its limitations, and its insistence on keeping everything in the database it frustrating, but it's certainly possible to migrate sites across both machines and domains. What, specifically, is going wrong now?