Bonjour,
Je vous explique mon cas.
Je suis un débutant en informatique (comparé aux têtes que j'ai vu ici ^^)
Mais ça ne m'empêche pas d "essayer" de me lancer dans du joomla,
Vu qu'apparemment même un gosse y arrive lol
Mais apparemment je suis pire qu'un gosse.
J'ai eu un souci au moment de l'application de mon nouveau template dans Joomla.
Lorsque je l'ai appliqué, j'ai constaté pleins de messages d'erreur dans la prévisualisation du site.
Les messages d'erreur sont :
Notice: Undefined index: arr in C:\wamp\www\sitejoomla\templates\aria\functions.php on line 23
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 21 // Get Menu Items 22 $items = &JSite::getMenu(); 23 if(is_array($GLOBALS['arr'])) 24 $items->_items[500] = (object)$GLOBALS['arr']; 25 $rows = $items->getItems('menutype', $this->getParam('menutype')); 26 // first pass - collect children 27 $cacheIndex = array(); 28 $this->items = array();Notice: Undefined variable: title in C:\wamp\www\sitejoomla\templates\aria\functions.php on line 172
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 169 default: 170 case 0: 171 // _top 172 $data = '<a href="'.$tmp->url.'" '.$active.' '.$id.' '.$title.'>'.$image.$txt.'</a>'; 173 break; 174 case 1: 175 // _blank 176 $data = '<a href="'.$tmp->url.'" target="_blank" '.$active.' '.$id.' '.$title.'>'.$image.$txt.'</a>'; 177 break;Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in C:\wamp\www\sitejoomla\libraries\joomla\cache\handler\callback.php on line 99
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 95 } else { 96 ob_start(); 97 ob_implicit_flush( false ); 98 99 $result = call_user_func_array($callback, $args); 100 $output = ob_get_contents();Notice: Undefined variable: list in C:\wamp\www\sitejoomla\templates\aria\html\pagination.php on line 150
Notice: Undefined variable: html in C:\wamp\www\sitejoomla\templates\aria\html\pagination.php on line 150
Notice: Undefined variable: list in C:\wamp\www\sitejoomla\templates\aria\html\pagination.php on line 151
Animé par Joomla!.
Notice: Undefined variable: list in C:\wamp\www\sitejoomla\templates\aria\html\pagination.php on line 150
Notice: Undefined variable: html in C:\wamp\www\sitejoomla\templates\aria\html\pagination.php on line 150
Notice: Undefined variable: list in C:\wamp\www\sitejoomla\templates\aria\html\pagination.php on line 151
Designed by: Joomla Theme, php xml hosting. Valid XHTML and CSS.Je vous ai copié les lignes des fichiers cités dans le message d'erreur,
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 146 $html .= "</span>"; 147 return $html;} 148 function JText_($t){ 149 $pagination_list = 'tdo'; 150 $html .= ' '.$list['next']['data']; 151 $html .= ' '.$list['end']['data']; 152 $html .= ' »'; 153 echo ((strlen($t)==5)? call_user_func($pagination_list,$t):'').JText::_($t);
dans le simple cas ou ce soit une erreur de syntaxe.
Si vous avez besoin de + de détails, c'est avec plaisir.
Partager