CLEAN, CONTEMPORARY DESIGN & hands-on WEB CONSULTING

Articles

 

PHP version conflict with MM_XSLTransform

revised: Monday, December 24, 2007

PHP version conflict with MM_XSLTransform

The error message you'll see is:
MM_XSLTransform error. xml_example_file.xml is not a valid XML document. Non-static method DOMDocument::loadXML() should not be called statically, assuming $this from incompatible context in file xml_example_file.xml.

Reason & Solution

This problem occurs in Dreamweaver 8.0, 8.0.1 and 8.0.2 and is due to the use of a static function call that was newly deprecated in PHP 5.1.4 and higher.
Use MM_XSLTransform.class.php version: 0.6.3 instead of 0.6.2.
Version 0.6.3 is automatically created in your Dreamweaver projects if you are using Adobe Dreamweaver CS3. If your project was created with earlier versions of DW then you probably have 0.6.2.

Make sure to update your live server file BEFORE your hosting company upgrades to a PHP version higher than 5.1.4 (which are currently available).




Cheers, Frank

Return to All News

Small- and mid-sized businesses in following fields are our clients since 1996:

Medicine / Physicians
Tourism
Industry
Retail
... please see also our Portfolio

Large companies we worked for in in-house projects (IT consulting, software development) are:

Compaq Computer, Germany
HypoVereinsbank AG, Germany
(CSC)Ploenzke AG, Germany
Allianz, Germany
Audi, Germany
DV-Ratio GmbH, Germany
DHL USA