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

PHP Enhancing a Simple PHP Application Paginating a List: Model and View Understanding Comments

Project Files showing blank..

Hi, wondering if anyone can help me with this. I've downloaded the Project Files for the Understanding Comments of PHP Development course. I've started my MAMP and loaded the file to 'htdocs' in the Application folder. When I try to access on my local server, the web browser is showing nothing.

I've tried opening other Project Files and it seems like the Project Files without the following code "require_once("inc/config.php"); include(ROOT_PATH . "inc/products.php");" in the 'index.php' file are opening fine. Is there something wrong that I'm doing?

Thanks

2 Answers

Kazimierz Matan
Kazimierz Matan
13,257 Points

Did you put your files in a subfolder (like /shirts4mike for instance)? If yes, try to put them in the main folder (htdocs).

Thanks Kazimierz. I've changed the config.php file and things started to work. Thanks for the feedback. Best, Ji