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

Development Tools Using PHP with MySQL Filtering Input for Queries Using a WHERE Clause

the downloaded files don't open in the browser in the same way as the video

Hi! I think I've done everything the video said and when I click in the orange t-shirt it opens the address http://localhost:8888/shirts/108/ and the result is "Not Found - The requested URL /shirts/108/ was not found on this server". Additionally, when I am in the homepage and I click shirts in the navbar, it does't go directly to http://localhost:8888/shirts/shirts.php , instead it goes to a http://localhost:8888/shirts/ where is displayed the following "Index of /shirts <br> Parent Directory <br> shirt.php <br> shirts.php" I´ve downloaded the project files and it happens the same with them. I've noticed that in the video the htdocs folder has a .htacess file in it and the downloaded file doesn't. I need to fix this for being able to go forward in the course,

Thank you for your help, Francisco

1 Answer

Tyler Mayfield
Tyler Mayfield
16,291 Points

First off, you will need to enable hidden files. Then download the project files from the last video and drag the .htaccess file from the recent download to your htdocs folder and you should be back in business!