Try to learn something about everything, and everything about somethingThomas Huxley “Darwin's bulldog” (1824-1895)

This is an old revision of the document!


Dokuwiki Xml Jpg Issues

I've just run into a problem I've seen before, but forgotten about.

I was uploading a jpg image to the HP11C info page HP-11C Info and the media manager gave a red warning message :

Error: Call to undefined function xml_parser_create()

What?

It only affected jpg images, not png. I've uploaded dozens (hundreds?) of jpgs already, so what's new?

A search on the dokuwiki forum led to

https://forum.dokuwiki.org/d/21045-error-call-to-undefined-function-xml-parser-create/11

and it seems that it's missing php xml support.

Sure enough, since moving dokuwiki to a new VPS I must have not already installed php-xml

So,

sudo apt install php-xml

then, after it's installed

sudo service apache2 restart

and all ok!

jpg uploads working again!

– John Pumford-Green

Page created : 17/02/26 16:16 GMT

Page updated : 17/02/26 16:21 GMT


Navigation