Tuesday 28 April 2009 4:04:49 am
Hi, I have installed eZ Publish 4.1 and tried to use Google Maps Extension 4 with it. Unfortunatelly errors occured. Who knows how to solve this problem?
Fatal error: Class 'eZDOMDocument' not found in \WWW\extension\gmaplocation\datatypes\ezgmaplocation\ezgmaplocation.php on line 116 Fatal error: eZ Publish did not finish its request It seems to me that eZDOMDocument class is missing. How to resolve this?
function &xmlString( )
{
include_once( 'lib/ezxml/classes/ezdomdocument.php' );
116: $doc = new eZDOMDocument( "Location" );
$root = $doc->createElementNode( "ezgmaplocation" );
$root->appendAttribute( $doc->createAttributeNode( "latitude", $this->Latitude ) );
$root->appendAttribute( $doc->createAttributeNode( "longitude", $this->Longitude ) );
$doc->setRoot( $root );
$xml = $doc->toString();
return $xml;
}
This is when I saved the new Map class with a new attribute "GMaps Location".
Thank you for your help Mariusz.
|