PHP not report error

Bug #244432 reported by Tiago Neves
10
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Invalid
Undecided
Tiago Neves

Bug Description

Binary package hint: firefox-3.0

When exist a error in webpage PHP, firefox dont show erros mensage.

I think happen with some redirect pages too

Quando Firefox encontra um erro PHP nao mostra mensagem.

Isso parece acontecer tambem com algumas paginas redirecionadas

ProblemType: Bug
Architecture: i386
Date: Tue Jul 1 04:15:28 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: ath_hal
Package: firefox-3.0 3.0+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

Tags: apport-bug
Revision history for this message
Tiago Neves (contatos-maiatecnologia) wrote :
Revision history for this message
Vladimir Osintsev (osintsev) wrote :

You can confirm that errors are displayed in other browsers? It seems that the errors output on web pages simply turned off in your php.ini

Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Have you configured PHP to report errors? I don't believe it does so by default. And as Vladimir asked, do the errors display in browsers other than Firefox? I haven't had any issues with PHP errors hiding in Firefox.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

 We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in firefox-3.0:
status: Incomplete → Invalid
Revision history for this message
Tiago Neves (contatos-maiatecnologia) wrote :

To confirmed the problem, access this page >> http://www.maiatecnologia.com.br/sys/teste.php

Access in OPERA and FIREFOX.

The opera, show the problem, and the firefox dont show.

I love Firefox

thank you

Changed in firefox-3.0:
assignee: nobody → contatos-maiatecnologia
status: Invalid → New
Jeff Jirsa (jjirsa)
Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
Vladimir Osintsev (osintsev) wrote :

Ready to confirm that Firefox does not behave correctly. What's sure, I tried to connect via telnet and request the specified test script as usual HTTP client - server returned a 500 error and syntax error.

I tried to look deep into the TCP session between Firefox and the your server using Wireshark utility. You can see that Firefox asks for a test page, the server returns an error, but the Firefox does not display the error, and shows just a blank html page.

Tiago, can you give the code of your test script - I will try to reproduce the problem on my computer (or a problem occurs with any PHP errors?). Perhaps there is a little bit of magic from Microsoft IIS.

Revision history for this message
Tiago Neves (contatos-maiatecnologia) wrote :

Let's the code....

<?php

for a = 0 to 10

next

?>

Explain:

PHP dont run VBscript, then this cause an error.
I hope dont confuse anybody, becouse the code in vbscript is right, but in PHP is wrong.
I dont run Vbscript in PHP, this is only to cause an error.

thank you so lot :)

Revision history for this message
zawmn83 (zawmn83) wrote :

Same problem in my firefox too.

FF version 3.5.8

I browse my simple php page that include the following
<?php
 require('abcd.php');
 echo 'abcd';
?>

abcd.php is not exist. it should result as follows
PHP Warning: require(abcd.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in E:\PHP\testerr.php on line 2
PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'abcd.php' (include_path='.;C:\php5\pear') in E:\PHP\testerr.php on line 2

But my firefox didn't show anything. When I tried in google chrome browser, it show above error result.

Revision history for this message
dino99 (9d9) wrote :

This is no more a supported version

Changed in firefox-3.0 (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.