The Joomla! Forum ™



Forum rules


Règles du forum



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: JFactory
PostPosted: Wed Oct 17, 2012 5:01 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Oct 17, 2012 4:56 pm
Posts: 1
j'ai un problème avec j factory j'ai ce message d'erreur : Fatal error: Call to undefined method JFactory::getXMLParser() in /home/infor473/public_html/plugins/system/nnframework/helpers/parameters.php on line 110

voici le code a cette ligne:

function _loadXML($path)
{
$xml = array();
if ($path) {
$xml =& JFactory::getXMLParser( 'simple' );
if ($xmlparser->loadFile($path)) {
$xml = $this->_getParamValues($xmlparser);
}
}

return $xml;

voyez vous une erreur dans la programation ?

mon site web www.informatique-kermit.ca

thank


Top
 Profile  
 
 Post subject: Re: JFactory
PostPosted: Mon Oct 22, 2012 3:52 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sun Dec 10, 2006 6:39 pm
Posts: 1188
Location: Czech Republic
Hi, not sure which Joomla! Platform version you are using, but this function was deprecated in platform version 12.1
http://www.phoca.cz/joomla/api/class-JFactory.html

it does not work anymore.

Jan

_________________
- Phoca Gallery - simple image gallery with slideshow - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/


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



Who is online

Users browsing this forum: No registered users and 0 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® Forum Software © phpBB Group