Ad Widget

Collapse

Import failed: httpd-error says PHP Fatal error: Call to undefined function: xml_par

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kees Jan Koster
    Member
    • Oct 2007
    • 83

    #1

    Import failed: httpd-error says PHP Fatal error: Call to undefined function: xml_par

    I tried to import a template and I found these errors in my apache's httpd log.

    [Sun Dec 16 14:01:58 2007] [error] PHP Fatal error: Call to undefined function: xml_parser_create() in /usr/local/share/zabbix/php/include/import.inc.php on line 606
    [Sun Dec 16 14:05:01 2007] [error] PHP Fatal error: Call to undefined function: xml_parser_create() in /usr/local/share/zabbix/php/include/import.inc.php on line 606
    [Sun Dec 16 14:07:58 2007] [error] PHP Fatal error: Call to undefined function: xml_parser_create() in /usr/local/share/zabbix/php/include/import.inc.php on line 606
    [Sun Dec 16 14:26:29 2007] [error] PHP Fatal error: Call to undefined function: xml_parser_create() in /usr/local/share/zabbix/php/include/import.inc.php on line 606
    [Sun Dec 16 14:29:02 2007] [error] PHP Fatal error: Call to undefined function: xml_parser_create() in /usr/local/share/zabbix/php/include/import.inc.php on line 606
    [Sun Dec 16 14:29:27 2007] [error] PHP Fatal error: Call to undefined function: xml_parser_create() in /usr/local/share/zabbix/php/include/import.inc.php on line 606

    How do I fix this?
  • Kees Jan Koster
    Member
    • Oct 2007
    • 83

    #2
    Fixed!

    Ah, I have fixed this thanks to this post http://svn.gregarius.net/trac/ticket/333

    Installed the php4-xml port (I'm on FreeBSD) and restarted apache.

    To see if this is installed, type "php -m | grep xml" at the command line. If nothing shows up, install the php4-XML package.

    Comment

    Working...