Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

DOMDocument class not found, DOM extension enabled [SOLVED]


  • Please log in to reply
2 replies to this topic

#1 Peter Fryer

Peter Fryer

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 24 May 2012 - 01:18 PM

http://www.abovether.../category/video

I moved my site from a Dreamhost account (where Tubepress was working flawlessly) to our live server on Rackspace and am running into a problem.

Here is the message that pops up where the gallery should be: "DOMDocument class not found". To try and diagnose the problem, I turned on debugging and see that this message preceded it: "786.12 ms (Feed inspector chain) Caught exception while counting: DOMDocument class not found ".

I contacted my host to confirm that PHP's DOM extension was enabled and they say that it was/is. They also had this to say:

"Good Morning,

Dom support is enabled by default and we do not turn it off. You can see this from the configure line:

--enable-dom=shared

I do see other errors though:

[root@400174-web2 ~]# php -v
PHP Warning: PHP Startup: readline: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0

This appears to indicate that the php-readline module needs to be recompiled. As that module appeared to come from an epel repository I'm not sure how to proceed. We can install and or remove packages for you from epel if you wish, however any compiling of modules is unsupported. You may want to relay this message to your developer as they may have installed this module."

Where am I going wrong? Thanks!

#2 Peter Fryer

Peter Fryer

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 24 May 2012 - 11:10 PM

Things are working now! Here's what Rackspace said for the benefit of any future searchers:

First and foremost, I removed the complaining php-readline package, as this is installed by default with PHP now. I also installed the php-xml package, which included the php-dom module. The page you directed me to is no longer throwing the error relating to DOM. Can you retest, and see if this solution worked?

#3 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 26 May 2012 - 12:18 AM

Great! Thanks for posting your solution, and please let us know if you run into any other problems.