Solved

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

Posted on 2010-11-29
6
11 Views
Last Modified: 2016-05-13
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
0
Comment
Question by:carasage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 13

Expert Comment

by:dsmile
ID: 34237029
What does FF give you for blankpage when viewing its source (View Page Source)?
0
 

Author Comment

by:carasage
ID: 34239737
@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)
0
 

Accepted Solution

by:
carasage earned 0 total points
ID: 34254647
@found the solution. this was indeed a FF issue. I am not sure what got corrupted. I uninstalled FF and reinstalled.
Issues resolved. I think it was due to a bad extension or add-on.

I also used a portable installation of FF and tested that out to see if it had impacted that but it did not.
0
 
LVL 29

Expert Comment

by:fibo
ID: 34936663
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.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question