Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Enhancing a Simple PHP Application Cleaning URLs with Rewrite Rules Introducing Rewrite Rules

Browser no longer display images, but rather warnings since using .htaccess. I am using only the download files.

Using Windows XP Location of files is exactly show below in what comes up on the browser. The imaging stopped when I started the lesson using the .htaccess file.

Warning: include(C:/xampp/htdocs/inc/header.php): failed to open stream: No such file or directory in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 7

Warning: include(): Failed opening 'C:/xampp/htdocs/inc/header.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 7

Hey, I’m Mike! Check Out My Shirts

Mike’s Latest Shirts

Warning: include(C:/xampp/htdocs/inc/products.php): failed to open stream: No such file or directory in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 29

Warning: include(): Failed opening 'C:/xampp/htdocs/inc/products.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 29

Notice: Undefined variable: products in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 33

Notice: Undefined variable: products in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 36

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 36

Warning: include(C:/xampp/htdocs/inc/footer.php): failed to open stream: No such file or directory in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 50

Warning: include(): Failed opening 'C:/xampp/htdocs/inc/footer.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\project02-stage03-shirts4mike\index.php on line 50