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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

public:blog:dokuwiki_xml_jpg_issues [17/02/26 16:21 GMT] – created johnpublic:blog:dokuwiki_xml_jpg_issues [17/02/26 22:39 GMT] (current) – removed john
Line 1: Line 1:
-====== 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 [[..:calculator:info:hp11c_info|]] and the media manager gave a red warning message : 
- 
-<note warning> 
-Error: Call to undefined function xml_parser_create() 
-</note> 
- 
- 
-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 
- 
-{{tag>dokuwiki }} 
- 
- 
-Page created : 17/02/26 16:16 GMT 
- 
-Page updated : ~~LASTMOD~~ 
  

Navigation