php and xml error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kaydara
Forum Newbie
Posts: 1
Joined: Tue Jul 27, 2010 11:27 am

php and xml error

Post by kaydara »

hello guys, i am having an error:

Fatal error: Call to undefined method Xml::addAttribute() in /var/www/html/Reports/cake/libs/xml.php on line 283

installed software:


[root@vmtscontrol ~]# rpm -qa | grep php
php-mysql-5.1.6-27.el5
php-xml-5.1.6-27.el5
php-common-5.1.6-27.el5
php-pdo-5.1.6-27.el5
php-xmlrpc-5.1.6-27.el5
[root@vmtscontrol ~]# rpm -qa | grep xml
libxml2-2.6.26-2.1.2.8
php-xml-5.1.6-27.el5
xml-common-0.6.3-18
xml-commons-1.3.02-0.b2.7jpp.10
php-xmlrpc-5.1.6-27.el5


What else should i install or maybe configure ?

any ideas ?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: php and xml error

Post by Christopher »

Did you look at: /var/www/html/Reports/cake/libs/xml.php on line 283 ?

addAttribute() is a SimpleXML method.
(#10850)
Post Reply