Edit report at http://pear.php.net/bugs/bug.php?id=18760&edit=1
ID: 18760
Updated by: [email protected]
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!
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18760&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.