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

ID: 18760
Updated by: claudioandre@gmail.com
Reported By: claudioandre at gmail dot com
Summary: Problems with Object to String Conversion
Status: Open
Type: Bug
Package: HTML_QuickForm2
-Operating System: Debian
+Operating System: CentOS 2.6.18-028stab092.1
Package Version: 0.6.0
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

-Operating System: Debian
+Operating System: CentOS 2.6.18-028stab092.1



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

[2011-08-25 17:56:19] claudioandre

Description:
------------
Hi there, I have installed the 0.6.0 version and i´m having
problems with outputting the objects(Select, Input). Just get a
"Object" string in the page. Looking to the logs I can see the
following errors:

PHP Notice: Object of class
HTML_QuickForm2_Element_InputText to string conversion in
/usr/local/lib/php/HTML/QuickForm2/Renderer/Default.php on
line 291

I also had to transform some of the protect methods of the
classes to public so that they could work.

Could use some help with this.

Thank you!

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

Search Discussions

  • Borz_off at Aug 25, 2011 at 4:38 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1

    ID: 18760
    Updated by: borz_off@cs.msu.su
    Reported By: claudioandre at gmail dot com
    Summary: Problems with Object to String Conversion
    -Status: Open
    +Status: Feedback
    Type: Bug
    Package: HTML_QuickForm2
    Operating System: CentOS 2.6.18-028stab092.1
    Package Version: 0.6.0
    PHP Version: 5.3.6
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Feedback
    Are you sure you really have PHP 5.3.6 installed? The problems you
    describe point to PHP 5.1.x at most, see here:
    http://pear.php.net/bugs/bug.php?id=14110


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

    [2011-08-25 18:03:05] claudioandre

    -Operating System: Debian
    +Operating System: CentOS 2.6.18-028stab092.1


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

    [2011-08-25 17:56:19] claudioandre

    Description:
    ------------
    Hi there, I have installed the 0.6.0 version and i´m having
    problems with outputting the objects(Select, Input). Just get a
    "Object" string in the page. Looking to the logs I can see the
    following errors:

    PHP Notice: Object of class
    HTML_QuickForm2_Element_InputText to string conversion in
    /usr/local/lib/php/HTML/QuickForm2/Renderer/Default.php on
    line 291

    I also had to transform some of the protect methods of the
    classes to public so that they could work.

    Could use some help with this.

    Thank you!

    ------------------------------------------------------------------------
  • Claudioandre at Aug 25, 2011 at 4:42 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1

    ID: 18760
    Updated by: claudioandre@gmail.com
    Reported By: claudioandre at gmail dot com
    Summary: Problems with Object to String Conversion
    Status: Feedback
    Type: Bug
    Package: HTML_QuickForm2
    Operating System: CentOS 2.6.18-028stab092.1
    Package Version: 0.6.0
    PHP Version: 5.3.6
    Roadmap Versions:
    New Comment:

    Damn. You are right.

    with php -v on command line it said the version 5.3.6 but using the
    phpinfo() it give
    me 5.1.6.

    Thanks for the forcing :)

    Going to upgrade and give some feedback later.


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

    [2011-08-25 18:38:33] avb

    -Status: Open
    +Status: Feedback
    Are you sure you really have PHP 5.3.6 installed? The problems you
    describe point to PHP 5.1.x at most, see here:
    http://pear.php.net/bugs/bug.php?id=14110

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

    [2011-08-25 18:03:05] claudioandre

    -Operating System: Debian
    +Operating System: CentOS 2.6.18-028stab092.1


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

    [2011-08-25 17:56:19] claudioandre

    Description:
    ------------
    Hi there, I have installed the 0.6.0 version and i´m having
    problems with outputting the objects(Select, Input). Just get a
    "Object" string in the page. Looking to the logs I can see the
    following errors:

    PHP Notice: Object of class
    HTML_QuickForm2_Element_InputText to string conversion in
    /usr/local/lib/php/HTML/QuickForm2/Renderer/Default.php on
    line 291

    I also had to transform some of the protect methods of the
    classes to public so that they could work.

    Could use some help with this.

    Thank you!

    ------------------------------------------------------------------------
  • Claudioandre at Aug 25, 2011 at 4:55 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1

    ID: 18760
    Updated by: claudioandre@gmail.com
    Reported By: claudioandre at gmail dot com
    Summary: Problems with Object to String Conversion
    Status: Feedback
    Type: Bug
    Package: HTML_QuickForm2
    Operating System: CentOS 2.6.18-028stab092.1
    Package Version: 0.6.0
    PHP Version: 5.3.6
    Roadmap Versions:
    New Comment:

    Yup, just confirmed it. With 5.3.x everything works!


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

    [2011-08-25 18:43:29] claudioandre

    Damn. You are right.

    with php -v on command line it said the version 5.3.6 but using the
    phpinfo() it give
    me 5.1.6.

    Thanks for the forcing :)

    Going to upgrade and give some feedback later.

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

    [2011-08-25 18:38:33] avb

    -Status: Open
    +Status: Feedback
    Are you sure you really have PHP 5.3.6 installed? The problems you
    describe point to PHP 5.1.x at most, see here:
    http://pear.php.net/bugs/bug.php?id=14110

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

    [2011-08-25 18:03:05] claudioandre

    -Operating System: Debian
    +Operating System: CentOS 2.6.18-028stab092.1


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

    [2011-08-25 17:56:19] claudioandre

    Description:
    ------------
    Hi there, I have installed the 0.6.0 version and i´m having
    problems with outputting the objects(Select, Input). Just get a
    "Object" string in the page. Looking to the logs I can see the
    following errors:

    PHP Notice: Object of class
    HTML_QuickForm2_Element_InputText to string conversion in
    /usr/local/lib/php/HTML/QuickForm2/Renderer/Default.php on
    line 291

    I also had to transform some of the protect methods of the
    classes to public so that they could work.

    Could use some help with this.

    Thank you!

    ------------------------------------------------------------------------
  • Claudioandre at Aug 25, 2011 at 4:55 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1

    ID: 18760
    Updated by: claudioandre@gmail.com
    Reported By: claudioandre at gmail dot com
    Summary: Problems with Object to String Conversion
    -Status: Feedback
    +Status: Closed
    Type: Bug
    Package: HTML_QuickForm2
    Operating System: CentOS 2.6.18-028stab092.1
    Package Version: 0.6.0
    PHP Version: 5.3.6
    -Assigned To:
    +Assigned To: claudioandre
    Roadmap Versions:
    New Comment:

    -Status: Feedback
    +Status: Closed
    -Assigned To:
    +Assigned To: claudioandre



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

    [2011-08-25 18:55:34] claudioandre

    Yup, just confirmed it. With 5.3.x everything works!

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

    [2011-08-25 18:43:29] claudioandre

    Damn. You are right.

    with php -v on command line it said the version 5.3.6 but using the
    phpinfo() it give
    me 5.1.6.

    Thanks for the forcing :)

    Going to upgrade and give some feedback later.

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

    [2011-08-25 18:38:33] avb

    -Status: Open
    +Status: Feedback
    Are you sure you really have PHP 5.3.6 installed? The problems you
    describe point to PHP 5.1.x at most, see here:
    http://pear.php.net/bugs/bug.php?id=14110

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

    [2011-08-25 18:03:05] claudioandre

    -Operating System: Debian
    +Operating System: CentOS 2.6.18-028stab092.1


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

    [2011-08-25 17:56:19] claudioandre

    Description:
    ------------
    Hi there, I have installed the 0.6.0 version and i´m having
    problems with outputting the objects(Select, Input). Just get a
    "Object" string in the page. Looking to the logs I can see the
    following errors:

    PHP Notice: Object of class
    HTML_QuickForm2_Element_InputText to string conversion in
    /usr/local/lib/php/HTML/QuickForm2/Renderer/Default.php on
    line 291

    I also had to transform some of the protect methods of the
    classes to public so that they could work.

    Could use some help with this.

    Thank you!

    ------------------------------------------------------------------------
  • Claudioandre at Aug 25, 2011 at 4:55 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1

    ID: 18760
    Updated by: claudioandre@gmail.com
    Reported By: claudioandre at gmail dot com
    Summary: Problems with Object to String Conversion
    Status: Closed
    Type: Bug
    Package: HTML_QuickForm2
    Operating System: CentOS 2.6.18-028stab092.1
    Package Version: 0.6.0
    -PHP Version: 5.3.6
    +PHP Version: 5.1.6
    Assigned To: claudioandre
    Roadmap Versions:
    New Comment:

    -PHP Version: 5.3.6
    +PHP Version: 5.1.6



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

    [2011-08-25 18:55:47] claudioandre

    -Status: Feedback
    +Status: Closed
    -Assigned To:
    +Assigned To: claudioandre


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

    [2011-08-25 18:55:34] claudioandre

    Yup, just confirmed it. With 5.3.x everything works!

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

    [2011-08-25 18:43:29] claudioandre

    Damn. You are right.

    with php -v on command line it said the version 5.3.6 but using the
    phpinfo() it give
    me 5.1.6.

    Thanks for the forcing :)

    Going to upgrade and give some feedback later.

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

    [2011-08-25 18:38:33] avb

    -Status: Open
    +Status: Feedback
    Are you sure you really have PHP 5.3.6 installed? The problems you
    describe point to PHP 5.1.x at most, see here:
    http://pear.php.net/bugs/bug.php?id=14110

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

    [2011-08-25 18:03:05] claudioandre

    -Operating System: Debian
    +Operating System: CentOS 2.6.18-028stab092.1


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

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=18760
  • Borz_off at Aug 25, 2011 at 5:01 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1

    ID: 18760
    Updated by: borz_off@cs.msu.su
    Reported By: claudioandre at gmail dot com
    Summary: Problems with Object to String Conversion
    -Status: Closed
    +Status: Bogus
    Type: Bug
    Package: HTML_QuickForm2
    Operating System: CentOS 2.6.18-028stab092.1
    Package Version: 0.6.0
    PHP Version: 5.1.6
    Assigned To: claudioandre
    Roadmap Versions:
    New Comment:

    -Status: Closed
    +Status: Bogus
    Glad everything worked out.
    Setting with correct status, "Closed" is for actual bugs that were
    actually fixed.


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

    [2011-08-25 18:56:16] claudioandre

    -PHP Version: 5.3.6
    +PHP Version: 5.1.6


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

    [2011-08-25 18:55:47] claudioandre

    -Status: Feedback
    +Status: Closed
    -Assigned To:
    +Assigned To: claudioandre


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

    [2011-08-25 18:55:34] claudioandre

    Yup, just confirmed it. With 5.3.x everything works!

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

    [2011-08-25 18:43:29] claudioandre

    Damn. You are right.

    with php -v on command line it said the version 5.3.6 but using the
    phpinfo() it give
    me 5.1.6.

    Thanks for the forcing :)

    Going to upgrade and give some feedback later.

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

    [2011-08-25 18:38:33] avb

    -Status: Open
    +Status: Feedback
    Are you sure you really have PHP 5.3.6 installed? The problems you
    describe point to PHP 5.1.x at most, see here:
    http://pear.php.net/bugs/bug.php?id=14110

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

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=18760

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 25, '11 at 4:02p
activeAug 25, '11 at 5:01p
posts7
users2
websitepear.php.net

2 users in discussion

Claudioandre: 5 posts Borz_off: 2 posts

People

Translate

site design / logo © 2022 Grokbase