Wednesday, January 13, 2010

Symfony XAMPP windows white screen or blank page issue

Recently while installing Symfony on my localhost using the xampp package, I realized I was having issues once I was trying to get the screen to load. When I typed in the url using localhost:8080, I was greeted by a white page with no source at all. Luckily the solution was very simple.

While following the steps for setting up Symfony, finally testing it I was greeted with a blank page.

When I checked the frontend_dev.php page, it told me I had an error with my doctrine plugin setup. So I went back to the page where the manual discussed that configuration and repeated those steps verifying in Windows Explorer that thing were happening for each command. This solved my problem and the page showed up just fine.

If you are not sure why your page isn't loading, first check the frontend_dev.php page, that will most likely explain the error. Raw exceptions are obstructed from appearing on production as a security feature in Symfony.

Best of luck programming.

No comments: