XML DOMIT problem - Joomla! Forum - community, help and support


hi, need load xml file. use code (i have copy free component , works):

global $mosconfig_absolute_path;
$xmldoc =& new domit_lite_document();
$xmldoc->resolveerrors( true );
if (!$xmldoc->loadxml($mosconfig_absolute_path . '/cancella/doclink.xml', false, true )) {
      echo $xmldoc->geterrorstring();
}

$root = &$xmldoc->documentelement;

if ($root->gettagname() != 'mosinstall') {
return null;
}
...

on component don't work, have error:

xml declaration not finished
fatal error: call member function gettagname() on non-object in f:\documents\server2go\htdocs\... on line 183

help me please!
thanks

i've got same problem

fatal error: call member function gettagname() on non-object in mon_site/administrator/components/com_installer/installer.class.php on line 167

i can install many components , modules (before today, never got problem) today when want try own module, i've got error.

i've installed module on joomla site , run... want install on serveur there bug , solve problem.


thanks





Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???