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
10 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

813 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

14 Experts available now in Live!

Get 1:1 Help Now