Link to home
Start Free TrialLog in
Avatar of carasage
carasage

asked on

When assigning a PHP.ini Firefox 3.6x is displaying BLANK html page when there is a php exception

Hi Everyone,

I hope I can be brief and still allow you to understand the actual problem.
Here goes:

[Environment]
Windows 7 Premium 64bit
IIS 7.0
PHP 5.3.3 VC9 Nonthread safe ZIP
mysql 5

[Description of the Problem]
Installed PHP to C:\PHP

When no defined "PHP.ini" is set in the C:\PHP folder, Firefox / IE, is able to load PHP files and display PHP exceptions fine.

this is displayed when view phpinfo();
Configuration File (php.ini) Path       C:\Windows
Loaded Configuration File       (none)

When I modified the PHP.ini-development to PHP.ini -- this is where the problem is.
IE 7, 8 displays PHP exceptions just fine
Firefox displays PHP pages, but not the exceptions... Where there is an exceptions, it just displays blank page or does not load the page at all.
it just looks like the browser is refreshing.

this is what phpinfo(); displays:
Configuration File (php.ini) Path       C:\Windows
Loaded Configuration File       C:\PHP\php.ini

So to reiterate, with PHP.ini loaded, Firefox is not displaying any errors generated by PHP (exceptions and not user generated errors)

I've googled and only found one post about this with no solution or any leads to go on.
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/244432

attached is my php.ini file if that matters
as well as IE8 screen and FF screen. (FF screen is blank which is the problem)

thanks in advance.
php.txt
ie8.png
firefox.png
Avatar of dsmile
dsmile
Flag of Viet Nam image

What does FF give you for blankpage when viewing its source (View Page Source)?
Avatar of carasage
carasage

ASKER

@dsmile:

It actually doesnt even goto a page. so no page source is available.
on the status bar of FF. it says loading for a split second and then it says done.

But no page is actually being loaded.

This is not happening on any other browser though, just FF. (and only is happening on PHP exceptions)
ASKER CERTIFIED SOLUTION
Avatar of carasage
carasage

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bernard Savonet
Carasage
Please close the question by selecting your answer 34254647 as "the" answer and allocate it all the points: your  answer will stray in the k,owlmedge base AND your points will be redeemed, so being available for some other question.