Our Php pages on a new server that we have moved on are producing NO Erroe messages!
Worse still even if I add a, for debugging:
echo ‘Hello World 0<p>’;
it does not even print that out.
That is the page loads with completely nothing in it. But a digit 1 on the upper left corner!
How do we tell the Php on this news server to output error messages?
Just to let you know I did a test but just removing a ; from a line of a Php page and the whole page
is displayed blank without any Error messages.
So the problem is for sure with the Php.ini of the new server that results in it displaying no Php Error
messages but displays a blank page.
It is any page that has any error in it, shows up totally blank.
That is as I said I took a Php page that is working fine, and just removed a ; from one of the lines, and then
it shows up as Blank too.
So you have any ideas as to what we need to do to enable Php Error reporting on our new sever?
Again, a Php page with any error, will display as a totally Blank page rather than reporting the Error in that page.
And I mean any Error, as simple as leaving off a ; or whatever results in a totally Blank page being returned by the server.
BTW, I did enable this in Php.ini
display_errors = stdout
and also added all these commands to a given Php page:
But again it is NOT reporting any Error at all.
Even the simplest Errors are causing a Blank page to be returned!!!
So there is something strange (wrong) somewhere that is causing on this NEW server all of a
sudden Php pages to come back Blank when any error occurs!
And still nothing. That is again page comes back totally blank!
Amazing
You would thing something this basic and essential that is error reporting on a Php page would not take
4 days to enable
Just wanted to let you know that I finally resolved this.
The problem was due to
error_reporting
appearing TWICE in Php.ini file.
So the 2nd instance value was over riding the 1st instance which I had updated!
[QUOTE=SpacePhoenix;5317276]As it stands what are the current values for the following when you view the output of phpinfo()