Report this

What is the reason for this report?

Server Error

Posted on December 2, 2013

Hi, I installed wordpress in Ubuntu server with the help of the article provided here. It was successful and I could access new wordpress site through my provided ip address (http://162.243.247.71/).

My main motive was to transfer my existing wordpress site to DO. After succesful installation of wordpress site, I transferred wp-content and sql file as illustrated in the article: https://www.digitalocean.com/community/articles/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

I could see the old tables(with different prefix) to the database I created while installing wp site in phpmyadmin. I deleted the default tables with wp_ prefix and changed the prefix setting in wp-config.php coz my database is now using different prefix.

But now I cannot access the site. It says: Server Error. Where did I do wrong? Any suggestions…

Thanks in advanced.



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.

There’s your problem. Run these commands: <br><pre>sudo chown -R www-data. /var/www <br>find /var/www -type d -exec chmod 755 {} ; <br>find /var/www -type f -exec chmod 644 {} ;</pre>

Thank you for the support. <br>It really helped.

Check apache’s error logs again and see which files it can’t find.

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.