I tried moving a project to another server but after I copy all the files and the database and try to access the new server I get the warning:

include(DOMDocument.php): failed to open stream: No such file or directory in /home/projectname/public_html/lib/Varien/Autoload.php on line 94

It makes it imposible to access either the frontend or the backend. The magento version for the project on the old server is and the magento version for the project on the new server is Maybe someone else encountered this error and can give an advice on where to start.

  • Hi Nicoleta, welcome to MageSE. Just an obvious question; did you set file rights and owners correctly? – Sander Mangel Sep 15 '15 at 10:53
  • Hi Sander. Yes, the rights are set correctly. – nicoleta Sep 15 '15 at 11:03

Seems like the Dom library isn't installed on the server.

Check http://php.net/manual/en/dom.setup.php for more info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.