Welcome to the Treehouse Community
Looking to learn something new?
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?
Kazimierz Matan13,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