Re: Blank Page instead of Errors
| From: | Jonathan Duncan | Date: | Sat, 20 Mar 2004 04:57:36 +0000 |
| Subject: | Re: Blank Page instead of Errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181011@lists.php.net to get a copy of this message | ||
GENIUS!!
Why didn't I think of that. You were correct. The php.ini file that was
being used was elsewhere. I found it, and restarted apache and now I get
errors! I knew it was something simple, it always is, after the fact.
Thanks again!
Jonathan Duncan
"John W. Holmes" <holmes072000@charter.net> wrote in message
news:405BC407.50508@charter.net...
> Jonathan Duncan wrote:
>
> > I am getting blank pages (or partial blank pages if my HTML comes before
the
> > PHP) instead of errors. I know there are errors on the page because I
have
> > specifically put parse errors in my code to see if the server would give
me
> > errors, but instead all I get are blank pages.
> >
> > I have checked the PHP.INI file and I see this:
> >
> > error_reporting = E_ALL & ~E_NOTICE
> > display_errors = On
>
> Are you sure that's the right php.ini? Take a look at a phpinfo() page
> to see the actual settings your script is using.
>
> Also, do a quick View Source of the page to make sure the error isn't
> being hidden in an HTML element.
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals www.phparch.com