Report this

What is the reason for this report?

wp site not showing pages, posts, images, favicon etc

Posted on April 4, 2017

Hello, there!

I am testing a second wp site in my droplet. I restored database and wp-content, but not everything shows up. Plugins are there all activated. The theme is also active. But no pages or posts or images of the original site i am trying to migrate. It seems the site is not accessing its correct database. The articles showing are of the on board theme, ‘hello world’.

Some idea?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@hansen

Thank you!

I had some trouble figuring out everything. I deleted the two databases. I then created a database with the same name of my desired wp site. Granted priviledeges to user. In the config file i changed the database for this last created one.

And all is working.

But there is a mistery. It may be due to the fact i am in a testing mode via my local hosts file. When i try to login in wp-admin with my oficial user in the new wp install my user is denied. However, when i login with my user from my wp site alive in the shared hosting, it works.

I presume that when i change DNS, what i’ll be doing today, this error will be away.

What do you think?

@hansen

I meant the user configured in my fresh installed wp-config.php. I’ll go live and see.

Thanks!!

I have only one user. Now reading carefully your answers. :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.