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 Build a Simple PHP Application Creating the Menu and Footer Including the Footer and Adding Additional Pages

Jesse Fister
Jesse Fister
11,968 Points

shirt.php is not found

I have watched the video several times and the URL shirts.php is not found. I refreshed my browser and am still getting the same issue.

<?php 
$pageTitle = "Mike's Full Catalof of Shirts";
include('inc/header.php'); ?>

            <div class="section page">

                <h1>Mike&rsquo;s Full Catalog Of Shirts</h1>

            </div>

<?php include('inc/footer.php'); ?> ```

I'm on a MAC using Firefox and MAMP. My text editor is Sublime Text 2. 

Thanks!

In Sublime Text in your file tree is there a shirts.php file that exists?

2 Answers

From where you appeared $pageTitle= "Mike's Full Catalof of Shirts" ? Removes them.

Kevin Harris
Kevin Harris
2,239 Points

The title of your post = shirt.php and you also reference shirts.php, the file name should be one or the other and referenced in your header.php as the one you chose to use as in the movie "shirts.php". Are you using all lowercase for your file and file reference in header.php as mac is case sensitive...

Hope this helps