Fatal error: Call to undefined function: xml_parser_create()

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Trappie

Fatal error: Call to undefined function: xml_parser_create()

Post by Trappie »

Hi

I've installed cacti-0.8.5a on mandrake 9.1

When i browse to cacti the install screen will show up
Click on next , and everything is found !
When i click next again the follow error appears :

Fatal error: Call to undefined function: xml_parser_create() in /var/www/html/cacti-0.8.5a/lib/xml.php on line 31

Can someone explain whats going on en how i reslove this problem ??

Thnx

Trappie
maenu
Cacti User
Posts: 57
Joined: Thu Jul 17, 2003 8:55 am
Location: Switzerland

Post by maenu »

hmm.. does your php have xml-support built-in ?

you can check this with the phpinfo() function:

create a file on your webserver that simply contains

Code: Select all

<?
phpinfo();
?>
and name iit phpinfo.php (or similar... but must have the ending .php)

then point your browser to that file.. http://$yourserver/$somedirs/phpinfo.php

you should receieve a list with much information...

Your Server has XML-Support if there's a section called "xml" (what a surprise.. ;) ) whoch has the property "XML Support | active"

regards, Mänu
To know recursion, you must first know recursion.
Trappie

Post by Trappie »

Hi,

I've looked in de phpinfo.php (already maked that) en the is no xml parser installed. :(

Does somebody know how to install de xml module for php on mandrake 9.1 ??

I'm a beginner of linux... :-?

Thnx

Trappie
maenu
Cacti User
Posts: 57
Joined: Thu Jul 17, 2003 8:55 am
Location: Switzerland

Post by maenu »

that depends on your distribution...

mandrake uses AFAIK RPM-Packages...

=> so you have to install xml-packages... perhaps you have to reinstall the php-packages after the xml-stuff to ensure that it detects the xml-library

the packages are named libxml or similar..

perhaps a mandrake-specialist is reading this forum... ?
=> you can also use groups.google.com to find others who have the same troubles as you...

Regards
To know recursion, you must first know recursion.
Trappie

Post by Trappie »

problem is solved.

i've installed de php-xml module !!
dastormtrooper

Post by dastormtrooper »

Hi,

I've got exactly the same problem on a mandrake 9.0, but php-xml is installed !

What the hell is it ?
dastormtrooper

Post by dastormtrooper »

Ok, i've rebooted the box, and now, this message :
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 320

I've checked that extension=mysql.so was decommented, so i decomented it, but always this message !

Please, Help.
Post Reply

Who is online

Users browsing this forum: Mohammedejaz and 0 guests