Orbital
samedi 16 juillet 2005 à 16:45
salut

dites j'ai un problème d'installation avec cet add on
bon j'installe mon ipb 1.3.1, le pack FR, le mod installer (1.2 end user, la version sur votre site), puis j'installe cet add on avec le mod installer et il me détecte ça :
QUOTE
Erreur dans lang/de/mod_installer_lang.php
Non trouvé(e):
lang/de/mod_installer_lang.php
c'est normal ça, j'ai pas de langue allemande
QUOTE
Erreur dans lang/fr/mod_installer_lang.php
Non trouvé(e):
lang/fr/mod_installer_lang.php
là aussi c'est normal, mon répertoire français s'appel "2", je pense que je ne peux pas le renommer à la volée sans que tout merde, donc je fait la modification à la main
ensuite et la plus genante...
QUOTE
Etape 4 , Partie V: Erreur dans sources/mods/installer/mod_installer_func.php
Non trouvé(e):
case 'exclude' : $code_section .= $this->SKIN->search_info("<i>".$lang["add_as_shown"]."</i> ".$new_code).
là je bloque car dans le howto c'est écrit :
QUOTE
V. Trouver dans function create_documentation(..)
case 'exclude' : $code_section .= $this->SKIN->search_info("<i>".$lang["add_as_shown"]."</i> ".$new_code).
Ajouter au-dessus le code en bleu
QUOTE
//-- mod_installer_dash begin
case 'replace_above': $code_section .= $this->SKIN->search_info("<i>".$lang["replace_above"]."</i> ".$new_code).
$this->SKIN->show_code(
$this->SKIN->get_code($insert, 'new').
$this->SKIN->get_code("\r\n/*-- ".$mod_token." exclude begin", 'new').
$this->SKIN->get_code($search, 'oldreplace').
$this->SKIN->get_code("-- ".$mod_token." exclude end */\r\n", 'new')
);
break;
case 'replace': $code_section .= $this->SKIN->search_info("<i>".$lang["replace"]."</i> ".$new_code).
$this->SKIN->show_code(
$this->SKIN->get_code("/*-- ".$mod_token." exclude begin", 'new').
$this->SKIN->get_code($search, 'oldreplace').
$this->SKIN->get_code("-- ".$mod_token." exclude end */\r\n", 'new').
$this->SKIN->get_code($insert, 'new')
);
break;
//-- mod_installer_dash end
case 'exclude' : $code_section .= $this->SKIN->search_info("<i>".$lang["add_as_shown"]."</i> ".$new_code).
mais dans le fichier mod_installer_func.php,
il n'y a aucune partie function create_documentation
et aucun code "
case 'exclude' : $code_section .= $this->SKIN->search_info("<i>".$lang["add_as_shown"]."</i> ".$new_code). "
Est ce grave ? Que puis je faire pour corriger l'erreure?