FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18214&edit=1

ID: 18214
Updated by: borz_off@cs.msu.su
Reported By: kbcmdba at gmail dot com
Summary: Strict errors when using HTML_Quickform
-Status: Open
+Status: Wont fix
Type: Bug
Package: HTML_QuickForm
Operating System: Linux 2.6.18 (Centos 5.5)
Package Version: 3.2.12
PHP Version: 5.1.6
Roadmap Versions:
New Comment:

-Status: Open
+Status: Wont fix
Use HTML_QuickForm2, it was designed to work under E_STRICT.


Previous Comments:
------------------------------------------------------------------------

[2011-01-24 07:46:45] s1kevin

Description:
------------
Strict standards: Assigning the return value of new by reference is
deprecated in /usr/share/pear/HTML/QuickForm.php on line 597

Strict standards: Assigning the return value of new by reference is
deprecated in /usr/share/pear/HTML/QuickForm.php on line 1707

Strict standards: Assigning the return value of new by reference is
deprecated in /usr/share/pear/HTML/QuickForm.php on line 1864

Strict standards: Declaration of HTML_QuickForm_hidden::accept() should
be compatible with that of HTML_QuickForm_element::accept() in
/usr/share/pear/HTML/QuickForm/hidden.php on line 40

Strict standards: Non-static method PEAR::isError() should not be called
statically, assuming $this from incompatible context in
/usr/share/pear/HTML/QuickForm.php on line 634

Strict standards: is_a(): Deprecated. Please use the instanceof operator
in /usr/share/pear/PEAR.php on line 275

Strict standards: Non-static method PEAR::isError() should not be called
statically, assuming $this from incompatible context in
/usr/share/pear/HTML/QuickForm.php on line 634

...

Turning off strict standards would prevent being able to write code that
will work on all the systems I'm trying to support.


Test script:
---------------
http://phpjobseeker.sourceforge.net/


Expected result:
----------------
Until upgrading to CentOS 5.5, I didn't see this problem before.

Actual result:
--------------
( ! ) Strict standards: Assigning the return value of new by reference
is deprecated in /usr/share/pear/HTML/QuickForm.php on line 597
Call Stack
# Time Memory Function Location
1 0.0002 42232 {main}( ) ../addJob.php:0
2 0.0012 71184 AddJobView->main( ) ../addJob.php:26
3 0.0016 84640 __autoload( ) ../autoload.php:0
4 0.0027 148816 require_once(
'/opt/www/www.bentonfam.org/sf_pjs_ci/Libs/Views/JobFormView.php' )
../autoload.php:63

( ! ) Strict standards: Assigning the return value of new by reference
is deprecated in /usr/share/pear/HTML/QuickForm.php on line 1707
Call Stack
# Time Memory Function Location
1 0.0002 42232 {main}( ) ../addJob.php:0
2 0.0012 71184 AddJobView->main( ) ../addJob.php:26
3 0.0016 84640 __autoload( ) ../autoload.php:0
4 0.0027 148816 require_once(
'/opt/www/www.bentonfam.org/sf_pjs_ci/Libs/Views/JobFormView.php' )
../autoload.php:63

( ! ) Strict standards: Assigning the return value of new by reference
is deprecated in /usr/share/pear/HTML/QuickForm.php on line 1864
Call Stack
# Time Memory Function Location
1 0.0002 42232 {main}( ) ../addJob.php:0
2 0.0012 71184 AddJobView->main( ) ../addJob.php:26
3 0.0016 84640 __autoload( ) ../autoload.php:0
4 0.0027 148816 require_once(
'/opt/www/www.bentonfam.org/sf_pjs_ci/Libs/Views/JobFormView.php' )
../autoload.php:63

...

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 5 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 24, '11 at 8:37a
activeJan 24, '11 at 6:26p
posts5
users4
websitepear.php.net

People

Translate

site design / logo © 2021 Grokbase