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: Aidan38, sarki

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

JFactory

Post by 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: 1545
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: JFactory

Post by 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 Cart - Joomla eCommerce App - https://www.phoca.cz/phocacart
- Phoca Gallery - powerful image gallery
- Phoca Restaurant Menu - https://www.phoca.cz/phocamenu
- Phoca Download - download manager for Joomla


Locked

Return to “2.5 - Extensions tierce partie”