bikeman01 wrote:
> DW hotfix 8.0.2 which fixed the following issue (in php
5.1.4), is not
> compatible with php 5.2.6
> After upgrading to php 5.2.6 I am receiving the same mm
xsl transform error
> I have had to downgrade my php
> Please can this be investigated.
I don't have PHP 5.2.6 installed. I'm running 5.2.5, and
there's
absolutely nothing wrong with the code used in the 8.0.2
hotfix. The
error message you're quoting says DOMDocument::loadXML()
should not be
called statically. The code used in the hotfix doesn't call
it
statically. That was the fix - *not* to call it statically.
It sounds as though you're using an old version of
MM_XSLTransform.class.php. You can check whether you have the
right
version by looking at lines 301-303. They should look like
this:
// $xml = DOMDocument::loadXML($content);
$doc = new DOMDocument();
$err = $doc->loadXML($content);
Note that the first line is commented out. That's the line
that caused
the error. The next two lines fixed the problem.
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/