Recent Topics

1 Oct 04, 2008 06:36    

My b2evolution Version: 2.x

I just did a clean install and I'm getting the following error:

[client 172.30.1.120] PHP Fatal error: Call to undefined function xml_parser_create() in /home/public/www/blogs/inc/xhtml_validator/_xhtml_validator.class.php on line 129

I'm have PHP 5.0.4 (x86_64) that was configured with --enable-libxml.

It's possible that http://forums.b2evolution.net/viewtopic.php?t=11392&highlight=call+undefined+function+xmlparsercreate might be my problem, but the link they reference seems to just be the XML documentation.

If anyone can give me a clue as to where I should be looking, it would be much appreciated.

Thanks.

3 Oct 04, 2008 15:35

Thanks for the response, but now I'm really feeling quite dense.

I downloaded a fresh zip from http://b2evolution.net/downloads/index.html and unzipped it to a temporary location. What exactly do you mean by "try replacing the file". What file are you referring to? I have the following in the zip:

# find . -name "*xml*"
./blogs/inc/widgets/widgets/_coll_xml_feeds.widget.php
./blogs/inc/xmlrpc
./blogs/inc/xmlrpc/model/_xmlrpc.funcs.php
./blogs/inc/xmlrpc/model/_xmlrpcs.funcs.php
./blogs/inc/_ext/xmlrpc
./blogs/inc/_ext/xmlrpc/_xmlrpc.inc.php
./blogs/inc/_ext/xmlrpc/_xmlrpcs.inc.php
./blogs/inc/_ext/xmlrpc/_xmlrpc_wrappers.inc.php
./blogs/plugins/code_highlight_plugin/highlighters/xml.highlighter.php
./blogs/rsc/img/xml.gif
./blogs/xmlsrv
./blogs/xmlsrv/xmlrpc.php

As I said in my initial post, phpinfo has a libxml section that says libxml is active, version is 2.6.21 and libxml streams are enabled (see http://blog.theotherbell.com/foo.php).

4 Oct 04, 2008 15:43

i meant replacing the inc/xhtml_validator/_xhtml_validator.class.php with a fresh one.. and if you have libxmlenabled then i'm out of ideas, i just said it because that bloke had the exact problem and claimed the reason to it was it.. lets see if someone else comes up with sth else, but i ve gotta say, it looks like a server issue as it's a common issue not an particular one with b2

5 Oct 04, 2008 16:26

Ok, I think I get it. Still not sure what zip and what file you were talking about, but urpmi php-xml took care of the error.

Thanks.

6 Oct 04, 2008 16:28

bbell2000 wrote:

Ok, I think I get it. Still not sure what zip and what file you were talking about, but urpmi php-xml took care of the error.

Thanks.

Sorry. Forgot to refresh and didn't realize you had already clarified the file thing.

Thanks.


Form is loading...