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
9 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
phpmyadmin 3 33
How to use md5 hashing 3 28
Bootstrap collapse causes odd behavior with php loop 7 24
PHP search array for either partial or complete values 3 5
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now