Salut Eliott,
alors Zdav m'a parlé de ton problème de mise à jour, on a d'ailleurs effectué un backup complet de ta BDD, Zdav va te l'envoyer. Tu peux donc effectuer les modifications suivantes sans hésiter
Partie 1 :
Alors pour commencer on va effectuer une mise à jour complète sans la partie du bbcode, pour se faire ouvre le fichier script.js du dossier INSTALL et tu modifies cette partie :
var arrayTablesUpdate = new Array(
"table_action", "table_banned", "table_comment_mod", "table_contact", "table_discussion", "table_erreursql", "table_games", "table_match", "table_match_files",
"table_notification", "table_tmpses", "table_users", "table_smilies", "update_bbcode", "update_config", "update_pass", "remove_style", "remove_editeur", "remove_package_manager",
"remove_turkish.lang.php", "table_forums_read"
);
par ce morceau de code :
var arrayTablesUpdate = new Array(
"table_action", "table_banned", "table_comment_mod", "table_contact", "table_discussion", "table_erreursql", "table_games", "table_match", "table_match_files",
"table_notification", "table_tmpses", "table_users", "table_smilies", "update_config", "update_pass", "remove_style", "remove_editeur", "remove_package_manager",
"remove_turkish.lang.php", "table_forums_read"
);
Une fois la modification faites tu effectues une mise à jour via le script d'installation.
Quand tu as terminé la mise à jour complète tu peux passer à la partie 2.
Partie 2 :
Dans cette partie tu vas effectuer uniquement la mise à jour du bbcode, pour cela tu rouvres le fichier script.js du dossier INSTALL et tu vas modifier la partie déjà modifiée dans la partie 1 :
var arrayTablesUpdate = new Array(
"table_action", "table_banned", "table_comment_mod", "table_contact", "table_discussion", "table_erreursql", "table_games", "table_match", "table_match_files",
"table_notification", "table_tmpses", "table_users", "table_smilies", "update_config", "update_pass", "remove_style", "remove_editeur", "remove_package_manager",
"remove_turkish.lang.php", "table_forums_read"
);
tu la remplaces par ce morceau de code :
var arrayTablesUpdate = new Array(
"update_bbcode"
);
Ensuite tu vas ouvrir le fichier update.inc du dossier INSTALL
et tu vas remplacer le tableau "bbupdate" à la ligne 106 :
$bbUpdate = array(
'_block' => array('bid', 'content' ),
'_calendar' => array('id', 'description' ),
'_comment' => array('id', 'comment' ),
'_config' => array('inscription_mail', 'value' ),
'_config_x1' => array('inscription_charte', 'value' ),
'_config_x2' => array('footmessage', 'value' ),
'_config_x3' => array('recrute_charte', 'value' ),
'_config_x4' => array('recrute_mail', 'value' ),
'_config_x5' => array('defie_charte', 'value' ),
'_config_x6' => array('defie_mail', 'value' ),
'_contact' => array('id', 'message' ),
'_defie' => array('id', 'comment' ),
'_discussion' => array('id', 'texte' ),
'_downloads' => array('id', 'description' ),
'_downloads_cat' => array('cid', 'description' ),
'_forums' => array('id', 'comment' ),
'_forums_messages' => array('id', 'txt' ),
'_gallery' => array('sid', 'description' ),
'_gallery_cat' => array('cid', 'description' ),
'_guestbook' => array('id', 'comment' ),
'_irc_awards' => array('id', 'text' ),
'_liens' => array('id', 'description' ),
'_liens_cat' => array('cid', 'description' ),
'_match' => array('warid', 'report' ),
'_news' => array('id', 'texte' ),
'_news_x1' => array('id', 'suite' ),
'_recrute' => array('id', 'comment' ),
'_sections' => array('artid', 'content' ),
'_sections_cat' => array('secid', 'description' ),
'_serveur_cat' => array('cid', 'description' ),
'_shoutbox' => array('id', 'texte' ),
'_userbox' => array('mid', 'message' ),
'_users' => array('id', 'signature' )
);
par ce code :
$bbUpdate = array(
'_block' => array('bid', 'content' )
// '_calendar' => array('id', 'description' ),
// '_comment' => array('id', 'comment' ),
// '_config' => array('inscription_mail', 'value' ),
// '_config_x1' => array('inscription_charte', 'value' ),
// '_config_x2' => array('footmessage', 'value' ),
// '_config_x3' => array('recrute_charte', 'value' ),
// '_config_x4' => array('recrute_mail', 'value' ),
// '_config_x5' => array('defie_charte', 'value' ),
// '_config_x6' => array('defie_mail', 'value' ),
// '_contact' => array('id', 'message' ),
// '_defie' => array('id', 'comment' ),
// '_discussion' => array('id', 'texte' ),
// '_downloads' => array('id', 'description' ),
// '_downloads_cat' => array('cid', 'description' ),
// '_forums' => array('id', 'comment' ),
// '_forums_messages' => array('id', 'txt' ),
// '_gallery' => array('sid', 'description' ),
// '_gallery_cat' => array('cid', 'description' ),
// '_guestbook' => array('id', 'comment' ),
// '_irc_awards' => array('id', 'text' ),
// '_liens' => array('id', 'description' ),
// '_liens_cat' => array('cid', 'description' ),
// '_match' => array('warid', 'report' ),
// '_news' => array('id', 'texte' ),
// '_news_x1' => array('id', 'suite' ),
// '_recrute' => array('id', 'comment' ),
// '_sections' => array('artid', 'content' ),
// '_sections_cat' => array('secid', 'description' ),
// '_serveur_cat' => array('cid', 'description' ),
// '_shoutbox' => array('id', 'texte' ),
// '_userbox' => array('mid', 'message' ),
// '_users' => array('id', 'signature' )
);
Une fois cette modification terminée, tu peux relancer une mise à jour sur ton site.
Quand tu auras terminé la mise à jour il faudra que tu recommences en modifiant le tableau "bbupdate" de cette façon :
$bbUpdate = array(
// '_block' => array('bid', 'content' ),
'_calendar' => array('id', 'description' )
// '_comment' => array('id', 'comment' ),
// '_config' => array('inscription_mail', 'value' ),
.......
tu refait cette étape autant de fois qu'il y a de ligne dans le tableau.
Si tu as des questions sur cette manipulation ou si tu souhaites qu'on t'aide à la faire n'hésite pas le dire et on se retrouveras sur le TS.
Cordialement,
Sam
|