I get error in PHP which wasn't before
Posted: Wed Sep 06, 2006 8:50 am
I've a PHP script which work on my site for some days.
Today is also work but now that I access my website I get two errors
The site:
http://wiki.555mb.com/example/blog.php
Its code:
The errors:
Whats happen???
Today is also work but now that I access my website I get two errors
The site:
http://wiki.555mb.com/example/blog.php
Its code:
Code: Select all
<?php
$xml = new DOMDocument;
$xml->load('a.xml');
$xsl = new DOMDocument;
$xsl->load('Happy_Blog.xsl');
$proc = new XSLTProcessor;
$proc->importStyleSheet($xsl); // attach the xsl rules
echo $proc->transformToXML($xml);
?>Code: Select all
Warning: domdocument() expects at least 1 parameter, 0 given in /home/vhosts/wiki.555mb.com/example/blog.php on line 2
Fatal error: Call to undefined function: load() in /home/vhosts/wiki.555mb.com/example/blog.php on line 3