Bug 163644 - Setting error_reporting doesn't turn off strict warning messages
Setting error_reporting doesn't turn off strict warning messages
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
4
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
http://bugs.php.net/bug.php?id=33762
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-19 15:48 EDT by Russell McOrmond
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-26 05:49:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Russell McOrmond 2005-07-19 15:48:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Description of problem:
I tried to file this bug with the PHP team, but they claim it is some patch that Fedora adds that would be the cause of the problem.

Full description is in the PHP bug.

I am currently running the PHP version from FC3 whie this problem with PHP5 gets resolved.  There are many scripts that would output these warnings, and the inability to turn these "strict warning" messages off made PHP5 unuseable.

The site that had the obvious problem is a Drupal 4.5 site.

Version-Release number of selected component (if applicable):
php-5.0.4-10.3

How reproducible:
Always

Steps to Reproduce:
1. Install FC3
2. Install Drupal 4.5
3. Regardless of the settings of error_reporting various "strict warning" are output
  

Additional info:
Comment 1 Russell McOrmond 2005-07-19 15:52:16 EDT
Woops -- Step 1 should say "Install FC4".  The version of PHP that comes with
FC3 works with these scripts fine.  PHP4 doesn't have strict warnings as this is
a new feature with PHP5.
Comment 2 Joe Orton 2005-07-19 16:18:08 EDT
Can you provide an example page which shows the problem?
Comment 3 Russell McOrmond 2005-07-19 16:38:09 EDT
I can't at the moment set up a demonstration site.  I am mostly unavailable this
week (At http://www.linuxsymposium.org ) to set up a separate machine with FC4
and Drupal.  I needed to put the machine where I noticed the error back to an
older version as some important sites run from that machine that I can't keep
down while I test.

If you are unable to set up a test environment, I will do so here.
Comment 4 Joe Orton 2005-07-26 05:49:10 EDT
As far as I can tell this is just a problem with the Drupal 4.5 error handling.
 There are no patches to error handling in the Fedora PHP 5.0.4 package.

http://www.hivemindz.com/getting_drupal_4_5_to_work_using_php5
Comment 5 Russell McOrmond 2005-07-28 16:20:22 EDT
Just to confirm, this was an issue with the error handler set via
set_error_handler('error_handler'), and not a problem with PHP configuration. 
Sorry for submitting this bug...

Thanks.

Note You need to log in before you can comment on or make changes to this bug.