Jump to content

Blank pages...driving me crazy!!!!


Recommended Posts

Any time I get a PHP error, all I see is a blank screen.  Errors/notices will not display to the screen or save to a log file. 

 

I'm running XAMPP with PHP 5.3.1.  I used to run PHP on IIS and had no problems displaying errors.  Now that I'm on Apache (still running on a Windows machine), I can't get any error or notice to display on the screen or saved to a log file.  Here's what I've checked...

 

1) Checked my php.ini file location...pointing to the correct file.

2) In php.ini, display_error, display_startup_errrors are on

3) error_reporting set to E_ALL

 

I can't figure out why errors won't display? I've tried the following code, purposely leaving off the "; on the echo to create an error.  All I get is a blank screen, no indication of an error.

 

<?php

echo "testing

?>

 

What am I missing??? Any help would be greatly appreciated!

Link to comment
Share on other sites

Arrgghhh!  I figured it out.  After you asked what error_reporting said in the phpinfo(), I decided to change it and see what happened.  For some reason it was set to E_ALL & E_NOTICE & E_DEPRECATED.

 

I changed this to just E_ALL (which I thought it was already set to), and now my errors are showing up!

 

Thanks for the help Pikachu2000.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.