Skip to main content
Inspiring
July 23, 2008
Question

using xml rss feeds in dreamweaver

  • July 23, 2008
  • 1 reply
  • 351 views
I used dreamweaver to configure a rss feed in my webpage.
One thing led to another and I was forced to reinstall my php server via
xampp

Now when I load the page on my computer I have this error:
Fatal error: Call to undefined method domdocument::loadXML() in
N:\INETPUB\xampp\htdocs\1purpose_bethel\includes\MM_XSLTransform\MM_XSLTransform.class.php
on line 303

I checked the includes folder and I do have the class file
MM_XSLTransform.class.php
but what I am wondering is if there is a place in my php.ini file that needs
to modified to allow for the RSS feed? Or is there something else that I am
over looking?

any insight would be greatly appreciated
thank you
Kevin


This topic has been closed for replies.

1 reply

Inspiring
July 23, 2008
kraleigh wrote:
> Now when I load the page on my computer I have this error:
> Fatal error: Call to undefined method domdocument::loadXML() in

domdocument::loadXML() is part of the DOM extension, which is part of
core PHP 5. So if you're getting that message, it sounds as though you
have a sick installation.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
July 24, 2008
Hi, I'm also having the same error. I found in some other forums that I should do the following (I think its you David who suggested it):

comment the line --> $xml = DOMDocument::loadXML($content);

then add these two lines
$doc = new DOMDocument();
$err = $doc->loadXML($content);

Well, actually when MM_XSLTransform.class.php was created it was already updated. But I'm still getting the error.

I'm still a baby in PHP and I've been trying to figure it out for 2 days and nothing is happening.

Please, please...your response will be highly appreciated.

Kind regards,
Jeng