Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : Stalk3r 18 Dec 2007, 17:28:55
-
Ciao a tutti
provando a installare la skin mi da il seguente errore nella index.
Warning: Missing argument 1 for JMenu::getInstance(), called in /home/web/www.stalk3r.com/www/templates/yoo_surface/lib/php/yootools.php on line 118 and defined in /home/web/www.stalk3r.com/www/libraries/joomla/application/menu.php on line 84
Fatal error: Call to a member function getActive() on a non-object in /home/web/www.stalk3r.com/www/templates/yoo_surface/lib/php/yootools.php on line 119
FILE=templates/yoo_surface/lib/php/yootools.php
RIGA117 function getActiveMenuItemNumber($menu, $level) {
RIGA118 $jmenu = &JMenu::getInstance();
RIGA119 $active = $jmenu->getActive();
$menutype = isset($active) ? $active->menutype : null;
$path = isset($active) ? $active->tree : array();
if ($menu == $menutype && array_key_exists($level, $path)) {
$item = $jmenu->getItem($path[$level]);
return $item->ordering;
}
FILE=/libraries/joomla/application/menu.php
RIGA=84 function &getInstance($client, $options = array())
{
static $instances;
if (!isset( $instances )) {
$instances = array();
}
if (empty($instances[$client]))
{
//Load the router object
$info =& JApplicationHelper::getClientInfo($client, true);
$path = $info->path.DS.'includes'.DS.'menu.php';
if(file_exists($path))
{
require_once $path;
// Create a JPathway object
$classname = 'JMenu'.ucfirst($client);
$instance = new $classname($options);
}
else
{
//$error = JError::raiseError( 500, 'Unable to load menu: '.$client);
$error = null; //Jinx : need to fix this
return $error;
}
$instances[$client] = & $instance;
}
return $instances[$client];
}
qualcuno mi puo aiutare? grazie...
-
deduco che per skin tu intendi i template.
Nello specifico quello è un template a pagamento, chiedi supporto a chi te lo ha venduto.
-
il problema è ke il supporto veniva dato per 3 mesi e mi è gia scaduto. è pretendono di nuovo di avere dei soldi.
il template è rilasciato per joomla 1.5 rc2 e con le versioni successive non funziona.
Quindi, se qualcuno mi puo aiutare ve ne sarei molto grato :)
-
nessuno mi sa aiutare :(
-
Vedo dal codice che hai trascitto che ci sono delle chiamate al loro sito http://www.stalk3r.com/ che pero' in questo momento pare non funzionare... Forse è quello?
ciao
-
quello è il mio sito :)
ke nn funziona....
helpatemi plz...