Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Catherine Millington
Catherine Millington
3,754 Points

Why won't the pages of my wordpress site work when the index page will? (After migrating it from a local server to live)

I have got errors in the pages of the site. When i try to navigate away from the index page. It keeps saying this;


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@staveleycumbria.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.24 (Unix) mod_hive/5.0 mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_fcgid/2.3.6 Server at staveleycumbria.co.uk Port 80

The address is obviously above if you want to have a look. I have tried updating the pages on the dashboard (they're there but there's no content in them) but no changes and I've also run a 'Search and Replace plugin'

Stuck!

2 Answers

Petros Sordinas
Petros Sordinas
16,181 Points

Hi Catherine,

I visited http://staveleycumbria.co.uk and I got a "Error establishing a database connection" message, which is fairly self explanatory.

Have you set up your wp database?

Catherine Millington
Catherine Millington
3,754 Points

Hi yes, sorry i was messing around with it. It should be back up now.

I've got in touch with the hosting ppl as some forums said it was to do with permissions for the files which they might be able to help with? Does that sound right?

Catherine Millington
Catherine Millington
3,754 Points

ah!! The hosting people have sorted it!! Thank you for your help and time!! :o)

I'm stuck on another wordpress thing if you've got time and are in the wordpress problem solving mood. If not, no worries at all! :o) https://teamtreehouse.com/community/how-do-i-create-a-new-portfolio-on-the-twenty-fourteen-theme

Petros Sordinas
Petros Sordinas
16,181 Points

Just got back and saw your answers and follow up questions but it looks as if you've all ready solved them :)