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
8 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
Comment Utility
What does FF give you for blankpage when viewing its source (View Page Source)?
0
 

Author Comment

by:carasage
Comment Utility
@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
Comment Utility
@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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 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 …

772 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

15 Experts available now in Live!

Get 1:1 Help Now