JFactory

Support et assistance sur les composants, modules et plug-ins tierce-partie (sous licence Open source) pour Joomla! 1.6, 1.7 et 2.5

Moderators: sarki, Aidan38

Forum rules
Règles du forum
kermit101
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Oct 17, 2012 4:56 pm

JFactory

Postby kermit101 » Wed Oct 17, 2012 5:01 pm

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

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1279
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: JFactory

Postby H13 » Mon Oct 22, 2012 3:52 pm

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/


Return to “2.5 - Extensions tierce partie”

Who is online

Users browsing this forum: No registered users and 1 guest