Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : cily 20 Aug 2008, 10:41:50
-
Salve.
ho istallato event list e il suddetto modulo scaricato da joomla.it
tutto bene finchè non pubblico un evento...
ogni volta che vado sul mese dove c'è un evento pubblicato sopra il modulo va in errore route.php del componente.. ecco cosa dice
Warning: Invalid argument supplied for foreach() in /web/htdocs/www.pelletterieshu.it/home/site/components/com_eventlist/helpers/route.php on line 87
Warning: Invalid argument supplied for foreach() in /web/htdocs/www.pelletterieshu.it/home/site/components/com_eventlist/helpers/route.php on line 96
dall 80 al 100 in route.php
$items = $menus->getItems('componentid', $component->id);
$user = & JFactory::getUser();
$access = (int)$user->get('aid');
//Not needed currently but kept because of a possible hierarchic link structure in future
foreach($needles as $needle => $id)
{
foreach($items as $item)
{
if ((@$item->query['view'] == $needle) && (@$item->query['id'] == $id) && ($item->published == 1) && ($item->access <= $access)) {
return $item;
}
}
//no menuitem exists -> return first possible match
foreach($items as $item)
{
if ($item->published == 1 && $item->access <= $access) {
return $item;
}
soluzioni?
grazie anticipate
-
Penso di aver risolto togliendo dal file route.php le seguenti righe
foreach($needles as $needle => $id)
{
foreach($items as $item)
{
if ((@$item->query['view'] == $needle) && (@$item->query['id'] == $id) && ($item->published == 1) && ($item->access <= $access)) {
return $item;
}
}
//no menuitem exists -> return first possible match
foreach($items as $item)
{
if ($item->published == 1 && $item->access <= $access) {
return $item;
}
}
}
return false;
potete confermare?
Retifica: ora non c'è + l'anteprima al passaggio del mouse...
grazie
-
ecco la soluzione ;D ;D ;D
Se crei una voce del menu linkata al componente gli errori scompaiono ;D ;D
-
da errore su IE explorer.
"impossibile aprire il sito internet ...."
soluzioni?