Recent Topics

Fatal error: Call to undefined function: xml_parser_create()

Started by on May 10, 2004 – Contents updated: May 10, 2004

May 10, 2004 19:59    

I've this error when trying to post on the remote server :


Fatal error: Call to undefined function: xml_parser_create() in /user/www/ on line 33

error that does not appear when I'm on my localhost (EasyPhp on XP).

Of course, I can avoid this error by disconnecting the HTML Checker ($use_html_checker = 0; in conf/_formatting.php), but it's not recommended as I can see.

Any hint ?



May 10, 2004 20:46

My first guess would be that there's at least one file in the core folders that didn't get uploaded. Did you check on that?

May 10, 2004 22:13

Your host does not have xml support enabled in PHP.

Threaten them to switch to another host if they don't upgrade to 21st century technology :p

May 10, 2004 22:17

Ahh.... Good to know. Thanks Francois.

May 12, 2004 19:14

Thank you very much!

Oct 14, 2006 17:24

Well, I do have xml compiled into PHP:

bullet htdocs # emerge -pv dev-lang/php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-lang/php-5.1.6-r4 USE="apache2 berkdb cgi cli crypt ctype doc force-cgi-redirect ftp gd gdbm imap kerberos mysql ncurses nls pcre readline reflection sasl session spell spl ssl threads truetype unicode xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -apache -bcmath -birdstep -bzip2 -calendar -cdb -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filepro -firebird -flatfile -frontbase -gd-external -gmp -hardenedphp -hash -hyperwave-api -iconv -informix -inifile -interbase -iodbc -ipv6 -java-external -ldap -libedit -mcve -memlimit -mhash -ming -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -sqlite -sybase -sybase-ct -sysvipc -tidy -tokenizer -vm-goto -vm-switch -wddx -yaz" 0 kB

Total size of downloads: 0 kB

If this listing is not enough evidence to prove that I do have xml compiled into PHP, you can see my phpinfo() at I am getting this error:

Fatal error: Call to undefined function: xml_parser_create() in /var/www/localhost/htdocs/b2evolution/b2evocore/_class_htmlchecker.php on line 46

on b2evolution/admin/b2blogs.php. What else can I do to fix it?

Oct 14, 2006 20:12

BTW I'm running b2evolution-0.9.1, if that matters.

Oct 15, 2006 00:49

msulli1355, you have '--disable-xml' '--without-xmlrpc' in your configure command!

Also, on the phpinfo() page there's no "xml" section obviously.

Form is loading...

multi-blog – This forum is powered by b2evolution CMS, a complete engine for your website.