View Single Post
Old 01-03-2019, 12:47 AM   #1680
DouglasK
Member
DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.DouglasK knows the square root of minus one.
 
DouglasK's Avatar
 
Posts: 24
Karma: 7938
Join Date: Oct 2010
Location: Ottawa, Ontario, Canada
Device: Onyx Note Air3, Kobo Aura HD, Nexus 7 (2013)
Help, Class 'DOMXPath' not found error



I have a LAMP server running on Ubuntu 18.04 LTS. PHP is enabled and working on Apache2.

https://server.com/cops/checkconfig.php shows all OK and client-side rendering.
PHP version is 7.0.32-0ubuntu0.16.04.1

When I load the URL I get a blank screen and see this in the Apache error log:
PHP Fatal error: Class 'DOMXPath' not found in /var/www/html/cops/resources/php-epub-meta/epub.php on line 775

phpinfo() shows that libxml support is active

I've seen the previous thread from several years back about this error. For them, the fix was to install php-xml, which I do have installed.

I expect I'm missing something obvious and simple. Any help is appreciated.

Regards,
Douglas
DouglasK is offline   Reply With Quote