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 Starting the Project

Rafael Peralta Jr
Rafael Peralta Jr
21,879 Points

Server Error is a blank screen

Is it ok to get a server error displaying a blank page with no indication of the error?

2 Answers

Hugo Paz
Hugo Paz
15,622 Points

Hi, it would be easier if you could show us your code. What probably happened is the infamous white screen of death which can have multiple causes.

A good way to spot the problem is to check your server log. Another way is to comment parts of your code to determine where the error is originating. Usually its due to a include file. Since include files are loaded first, if there are error in them, youll get a blank page.

Rafael Peralta Jr
Rafael Peralta Jr
21,879 Points

Hey thanks for the quick response, I managed to get it fixed.