Wordpress site copied: wp-admin not showing anything
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Wordpress site copied: wp-admin not showing anything
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.
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.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Wordpress site copied: wp-admin not showing anything
Have you set WP_HOME and WP_SITEURL? Is WP_DEBUG on? What do you see in your error logs?
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
Both are set, yes. WP_DEBUG?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
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 Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Wordpress site copied: wp-admin not showing anything
Oh well that explains it. Download the correct version of WordPress, copy the missing file over, and you should be good to go.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
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.
Oh heavens, it looks like it didn't actually copy all files over.
That's very odd.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
What is wp_widget?
Is that a widget I am using which is now defunct?
The file functions.php is the latest.
Is that a widget I am using which is now defunct?
The file functions.php is the latest.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Wordpress site copied: wp-admin not showing anything
I wouldn't worry about the functions.php. Just ignore the notice. It's the missing post.php that's causing problems.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
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.
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.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Wordpress site copied: wp-admin not showing anything
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.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
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?
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?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
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.
Wordpress is a real pain when it comes to copying a site over. It's just won't ever do it cleanly.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Wordpress site copied: wp-admin not showing anything
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.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Wordpress site copied: wp-admin not showing anything
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???
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???
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Wordpress site copied: wp-admin not showing anything
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?