Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 4:04 am (All times are UTC )

 




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: XML DOMIT problem
Posted: Sat Jan 12, 2008 6:16 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Aug 14, 2006 8:59 am
Posts: 8
Hi, I need to load XML file. I use this code (I have copy it from another free component and it 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 my component it don't work, I have this error:

XML declaration not finished
Fatal error: Call to a member function getTagName() on a non-object in F:\Documents\Server2Go\htdocs\... on line 183

Help me please!
Thanks


Top
  E-mail  
 
 Post subject: Re: XML DOMIT problem
Posted: Tue May 13, 2008 6:43 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue May 13, 2008 6:33 pm
Posts: 1
I've got the same problem

Fatal error: Call to a member function getTagName() on a non-object in mon_site/administrator/components/com_installer/installer.class.php on line 167

I can install many components and modules (before today, i never got this problem) but today when i want to try my own module, i've got this error.

I've installed the module on another Joomla site and it run... but I really want to install it on the serveur where there is the bug and solve this problem.


Thanks


Top
  E-mail  
 
 Post subject: Re: XML DOMIT problem
Posted: Wed Sep 10, 2008 6:04 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 01, 2008 1:03 pm
Posts: 6
Anyone solve this or know anything more about it?

I'm having the same issues when trying to install my own component.


Top
  E-mail  
 
 Post subject: Re: XML DOMIT problem
Posted: Wed Dec 03, 2008 3:30 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Oct 28, 2005 2:44 am
Posts: 29
I have the same problem with a new component that i tried to install.
Any solution?

_________________
http://www.hotcaricatures.com
http://www.gowest.gr


Top
  E-mail  
 
 Post subject: Re: XML DOMIT problem
Posted: Wed Oct 21, 2009 4:22 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 26, 2006 8:29 pm
Posts: 33
Location: East Coast, USA
I'm getting the same error when trying to install the Google Maps Plugin. I've tried several versions, & all come back w/the same error. I'm trying to install it in my 1.0.15 site. I was sure to download the correct version(s).

I've downloaded & installed the 1.5 version successfully into my 1.5.14 test site (2.12l), so I'm not sure where to go from here.

Could it be a permissions problem on the domit directory? Something else involving domit? I'm thinking that it could be extension-specific, though, because I just installed a new wysiwyg editor (in my 1.0.x site) recently w/o issue...

_________________
http://www.502ndpir.com


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group