La mise à jour de joomla 1.6 vers 1.7 est primordiale pour les raison que nous avons cité ici , et pour commencer il faut être sure que vous êtes en joomla 1.6.5 et c'est une condition importante !

Le gestionnaire de mise à jour en joomla 1.7  nous permet de faire une mise à jour automatique et facile .

Avant de commencer la mise à jour , il faut prendre une sauvegarde de votre site et aussi la base de donnée .

Mise à jour automatique :

Entrez à l'interface d'administration de votre site en joomla 1.6.5 puis choisissez le Gestionnaire des extensions pour installer la mise à jour :

Vous avez le choix d'installer la mise à jour via internet en collant l'url de la mise à jour disponible ici : www.joomla.org puis commencer l'installation , mais attention il faut pas se déconnecter et cela prend un peut de temps selon votre vitesse de connexion .

Vous pouvez aussi au télécharger le pack de la mise à jour sur votre PC puis faire une installation rapidement  .

C'est tout !

 

Mise à jour manuel

Il est déconseillé d'opter pour cette option vu sa complexité mais si la mise à jour automatique ne réussi pas pour vous voici comment en fait :

N'oubliez pas de prendre une sauvegarde avant de commencer !

Avant de commencer, allez à la configuration globale et sur l'onglet serveur et la base de données la zone Paramètres , trouver le préfixe de table de la base de données utilisé par votre site.

Pour mettre à jour votre site manuellement, vous aurez besoin de télécharger le package de mise à jour 1.6.5> 1.7.0  à partir de JoomlaCode. Vous pouvez le télécharger ici. Utilisant un client FTP, télécharger les fichiers zip à votre serveur dans le répertoire racine de votre site, et décompresser les fichiers. Pour écraser tous les fichiers modifiés avec de nouveaux fichiers mis à jour pour 1.7.0.

Après avoir déballé les fichiers sur votre site, vous devez supprimer manuellement les fichiers et les dossiers répertoriés dans administrator / components / com_admin / script.php.

Ceci est la liste des fichiers:

  • '/templates/atomic/css/blueprint/src/blueprintcss-0-9-1-cheatsheet-3-5-3-gjms.pdf',
  • '/administrator/manifests/packages/joomla.xml',
  • '/administrator/templates/bluestork/css/rounded.css',
  • '/administrator/templates/bluestork/css/norounded.css',
  • '/administrator/templates/bluestork/images/j_corner_bl.png',
  • '/administrator/templates/bluestork/images/j_header_right_rtl.png',
  • '/administrator/templates/bluestork/images/j_crn_br_dark.png',
  • '/administrator/templates/bluestork/images/j_crn_br_black.png',
  • '/administrator/templates/bluestork/images/j_crn_tr_black.png',
  • '/administrator/templates/bluestork/images/j_crn_bl_dark.png',
  • '/administrator/templates/bluestork/images/j_crn_tr_med.png',
  • '/administrator/templates/bluestork/images/j_crn_bl_light.png',
  • '/administrator/templates/bluestork/images/j_header_right.png',
  • '/administrator/templates/bluestork/images/j_crn_br_light.png',
  • '/administrator/templates/bluestork/images/j_crn_tl_black.png',
  • '/administrator/templates/bluestork/images/j_crn_bl_black.png',
  • '/administrator/templates/bluestork/images/j_crn_tr_dark.png',
  • '/administrator/templates/bluestork/images/j_crn_bl_med.png',
  • '/administrator/templates/bluestork/images/j_header_left.png',
  • '/administrator/templates/bluestork/images/j_crn_tl_med.png',
  • '/administrator/templates/bluestork/images/j_crn_tl_dark.png',
  • '/administrator/templates/bluestork/images/j_crn_br_med.png',
  • '/administrator/templates/bluestork/images/j_crn_tl_light.png',
  • '/administrator/templates/bluestork/images/j_crn_tr_light.png',
  • '/administrator/templates/bluestork/images/j_corner_br.png',
  • '/administrator/templates/bluestork/images/j_header_left_rtl.png',
  • '/administrator/templates/hathor/html/com_modules/module/modal.php',
  • '/administrator/templates/hathor/html/com_modules/module/edit_assignment.php',
  • '/administrator/templates/hathor/html/com_menus/item/edit_modules.php',
  • '/administrator/templates/hathor/html/com_menus/items/default_batch.php',
  • '/administrator/templates/hathor/html/com_languages/language/edit.php',
  • '/administrator/templates/hathor/html/com_content/article/edit_metadata.php',
  • '/administrator/templates/hathor/html/com_categories/category/edit_metadata.php',
  • '/administrator/templates/hathor/html/com_categories/categories/default_batch.php',
  • '/administrator/components/com_menus/models/forms/item_options.xml',
  • '/administrator/components/com_menus/models/fields/menutype.php',
  • '/administrator/language/overrides/xx-XX.override.ini',
  • '/administrator/help/helpsites-16.xml',
  • '/administrator/help/en-GB/Components_Content_Categories_Edit.html',
  • '/administrator/help/en-GB/Components_Weblinks_Categories_Edit.html',
  • '/administrator/help/en-GB/Components_Newsfeeds_Categories_Edit.html',
  • '/administrator/help/en-GB/Components_Banners_Categories_Edit.html',
  • '/administrator/help/en-GB/Components_Contact_Categories_Edit.html',
  • '/media/editors/codemirror/css/docs.css',
  • '/media/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js',
  • '/media/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php',
  • '/media/editors/tinymce/jscripts/tiny_mce/plugins/media/css/content.css',
  • '/media/mod_languages/images/ta.gif',
  • '/libraries/joomla/config.php',
  • '/libraries/joomla/import.php',
  • '/libraries/joomla/version.php',

et aussi :

  • '/plugins/authentication/example',
  • '/plugins/user/example',
  • '/plugins/content/example',
  • '/plugins/extension/example',
  • '/administrator/templates/hathor/html/com_modules/select',
  • '/administrator/templates/hathor/html/com_media',
  • '/administrator/templates/hathor/html/mod_popular',
  • '/administrator/templates/hathor/html/mod_status',
  • '/administrator/templates/hathor/html/mod_latest',
  • '/administrator/components/com_weblinks/helpers/html',
  • '/media/editors/tinymce/jscripts/tiny_mce/plugins/pagebreak/css',
  • '/media/editors/tinymce/jscripts/tiny_mce/plugins/pagebreak/img',
  • '/media/editors/tinymce/jscripts/tiny_mce/plugins/example',

Après avoir fait cela, vous devez mettre à jour manuellement la base de données de votre site. Pour ce faire localiser : installation/sql/mysql/joomla_update_17ga.sql fichier ou les fichiers / administrator/components/com_admin/sql/updates/mysql/1.7.0-2011-06-06.sql et administrator / components / com_admin / sql/updates/mysql/1.7.0-2011-06-06-2.sql.

En Juillet 16th 2011, le fichier (s) contient:


ALTER
TABLE `#__languages` ADD COLUMN `ordering` int(11) NOT NULL DEFAULT 0 AFTER `published`;
ALTER TABLE `#__languages` ADD INDEX `idx_ordering` (`ordering`);





CREATE TABLE IF NOT EXISTS `#__associations` (
`id` VARCHAR(50) NOT NULL COMMENT 'A reference to the associated item.',
`context` VARCHAR(50) NOT NULL COMMENT 'The context of the associated item.',
`key` CHAR(32) NOT NULL COMMENT 'The key for the association computed from an md5 on associated ids.',
PRIMARY KEY `idx_context_id` (`context`, `id`),
INDEX `idx_key` (`key`)
) DEFAULT CHARSET=utf8;



 

A l'intérieur vous trouverez des pièces comme "__languages #" et "__associations #". Remplacez le signe dièse et le premier trait de soulignement (_ #) avec base de données des tables de votre préfixe. Par défaut, c'est 'Jos. Si vous n'avez pas obtenu le préfixe avant de commencer, ouvrez configuration.php de votre site et la recherche de la chaîne $ dbprefix l'intérieur des apostrophes derrière est ce que vous recherchez. Alors vous avez besoin de changer "# __languages " à "jos_languages » et ainsi de suite.

Une fois que vous avez fait cela aller à phpmyadmin de votre site (ou toute autre manière que vous gérez votre base de données en général) et ouvrez la base de votre site utilise. Il y aura un onglet appelé SQL, ouvrir ce fichier. Collez le contenu de votre joomla_update_17ga.sql modifiés à l'intérieur de la zone de texte et d'aller de presse.

Votre site est maintenant mis à jour pour Joomla 1.7.

Source