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

Databases

HTTP Error 500 when trying to access project folder in browser?

Hey everyone,

I am trying to access the database.php file in my browser (Chrome), however I am getting an HTTP error 500. I downloaded the project files and created the database.php as shown in the prior videos in this course.

At first I thought it may not have read privileges, but that was not it. Then I tried changing ports, that was not it. When I go to localhost in my browser, it sees the shirts4mike directory, but when I attempt to access it I get the HTTP 500 error.

Does anyone know what may cause this?

I also double checked to make sure MAMP has the proper root directory, which I believe it does. (htdocs)

Thank you in advance!