All of a sudden my Joomla site went blank and how do I fix a Joomla Fatal Error: Warning: DOMDocument::schemaValidate() Error?
Posted by Support, Last modified by Support on 23 May 2013 12:04 AM
All of a sudden my Joomla site went blank, I use a rocket theme (from rockettheme.com) for my site and how do I fix the Joomla Fatal Error: Warning: DOMDocument::schemaValidate() Error?
This error has to do with your rocket theme, apparently there is a coding issue with the theme that doesnt like the latest software update all servers are required to do and the issue is server induced. Per the following URL, http://www.rockettheme.com/blog/extensions/1753-warning-domdocumentschemavalidate-error and re-posted below for your convenience, this will show you how to fix it.
It seems there was a widespread update for Redhat/Centos operating systems that run the webservers of many web hosting providers. This update included a version of the libxml2 library that is used by PHP when utilizing XML. This updated version of libxml2 seems to be causing widespread problems for existing PHP frameworks, projects and code that make use of those XML features. One of these is our own RokCommon library that is used by RokGallery and RokSprocket for both Joomla and WordPress. We make use of a static method called DOMDocument::schemavalidate() which seems to have broken with this last update, so please read more for a quick fix...
If you see an error resembling the following:
The quick fix is to locate the Xml.php file that exists in RokCommon and comment out the line that makes the schemaValidate() call.
Comment Out Line 223 in this Xml.php File
Find the following code on line 223
Comment it out by prepending // to the begining of the line, like so:
We plan on releasing updates for both RokSprocket and RokGallery for both Joomla and WordPress in the next day or so. This will have this RokCommon fix in it as well as any other bug fixes we have in the queue, so keep an eye out for that!