Archived

Upgrading to 1.0.15

From Joomla! Documentation

This page has been archived. This page contains information for an unsupported Joomla! version or is no longer relevant. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

It is risky to upgrade a live site without testing the upgrade process first. So before upgrading the live site you need to set up a test site which is as close as possible to the configuration of your live site, then test the upgrade on that. When you are happy with the process you can apply it to the live site (having taken a fresh backup of the live site first, of course).

E html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Web Nasir</title> <style type="text/css"> <!-- body {

   background-color: #B3FBFB;

} .style5 {color: #FFFFFF; } .style8 {

   font-family: "Angsana New";
   font-weight: bold;
   font-style: italic;
   font-size: 24px;
   color: #FF00FF;

}

  1. Layer1 {
   position:absolute;
   width:200px;
   height:115px;
   z-index:1;
   left: 210px;
   top: 302px;

}

  1. Layer2 {
   position:absolute;
   width:387px;
   height:95px;
   z-index:2;
   left: 418px;
   top: 306px;

} .style9 {

   color: #0000FF;
   font-weight: bold;
   font-size: 24px;

}

  1. Layer3 {
   position:absolute;
   width:349px;
   height:248px;
   z-index:1;
   left: 294px;
   top: 471px;

}

  1. Layer4 {
   position:absolute;
   width:200px;
   height:115px;
   z-index:2;
   left: 286px;
   top: 2379px;

}

  1. Layer5 {
   position:absolute;
   width:480px;
   height:115px;
   z-index:3;
   left: 292px;
   top: 2544px;

} .style10 {font-size: 20px}

  1. Layer6 {
   position:absolute;
   width:173px;
   height:172px;
   z-index:4;
   left: 17px;
   top: 441px;

}

  1. Layer7 {
   position:absolute;
   width:162px;
   height:117px;
   z-index:5;
   left: 19px;
   top: 306px;

}

  1. Layer8 {
   position:absolute;
   width:144px;
   height:138px;
   z-index:6;
   left: 865px;
   top: 305px;

}

  1. Layer9 {
   position:absolute;
   width:181px;
   height:115px;
   z-index:7;
   left: 16px;
   top: 632px;

}

  1. Layer10 {
   position:absolute;
   width:648px;
   height:115px;
   z-index:8;
   top: 2829px;
   left: 210px;

}

  1. Layer11 {
   position:absolute;
   width:180px;
   height:385px;
   z-index:9;
   left: 12px;
   top: 673px;

} --> </style> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0

 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}

function MM_preloadImages() { //v3.0

 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

function MM_findObj(n, d) { //v4.01

 var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
   d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
 if(!x && d.getElementById) x=d.getElementById(n); return x;

}

function MM_swapImage() { //v3.0

 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

} //--> </script> </head> <body onload="MM_preloadImages('../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/THOME2.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TPORV2.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TVISI3.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TKEGITAAN2.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TINFO2.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TOMBOLHOME1.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TOMBOLPORFIL1.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TVISI1.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TKEGIATAN1.gif','../../Web/Web%20MAN%202%20(CREATED%20-%20aAm_!e3n)/TINFO1.gif')"> <span class="judulman"><img src="Gambar/bersama.JPG" width="1033" /></span></marquee> <div class="judulman" id="jdl"></div> <div class="menuutama" id="mntu">

 <table width="1033" border="0">
   <tr>
        <th width="201" height="21" align="left" valign="middle" background="../begeronmenu.gif" bgcolor="#00FF00" class="style5" scope="col"><a href="../Home.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','../../Web/THOME2.gif',1)"></a><a href="../Home.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','../../Web/TOMBOLHOME1.gif',1)">Home</a><a href="../home.html"></a></th>
       <th width="201" align="left" valign="middle" background="../begeronmenu.gif" bgcolor="#00FF00" class="style5" scope="col"><a href="../Data Pribadi.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','../../Web/TPORV2.gif',1)"></a><a href="../Data Pribadi.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','../../Web/TOMBOLPORFIL1.gif',1)">Data Pribadi</a><a href="../Data%20Pribadi.htm"></a></th>
       <th width="201" align="left" valign="middle" background="../begeronmenu.gif" bgcolor="#00FF00" class="style5" scope="col"><a href="../Profil Sekolah.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','../../Web/TVISI3.gif',1)"></a><a href="../Prifil Sekolah.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','../../Web/TVISI1.gif',1)">Profil Sekolah</a><a href="../PRofil%20Sekolah.htm"></a></th>
     <th width="201" align="left" valign="middle" background="../begeronmenu.gif" bgcolor="#00FF00" class="style5" scope="col"><a href="../Link.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','../../Web/TKEGITAAN2.gif',1)"></a><a href="../Link.htm"></a> <a href="../Link.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','../../Web/Link.gif',1)">Link</a><a href="../Link.htm"></a></th>
     <th width="201" align="left" valign="middle" background="../begeronmenu.gif" bgcolor="#00FF00" class="style5" scope="col"><a href="../Perpusatakaan.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','../../Web/TINFO1.gif',1)">Perpustakaan</a><a href="../Perpustakaan.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','../../Web/TPerpus2.gif',1)"></a></th>
   </tr>
   <tr>
     <th height="21" colspan="5" align="center" valign="middle" bgcolor="#FFFFFF" class="style5" scope="col"><span class="style8">
       <marquee>
       <span class="style10">Selamat Datang Diwebsite SD Negeri 1 Metro Timur</span>
     </span></th>
   </tr>
 </table>
 <span class="style8"><marquee></marquee></span>
 

</div> <div class="body">

 <div class="rightpan">
   <table width="1028" border="0" bgcolor="#FF0000">
     <tr>
       <th width="191" scope="col">&nbsp;</th>
       <th width="650" bgcolor="#B7B7FF" scope="col"><div align="center" class="style9">
         <p>Data Pribadi </p>
         <p>&nbsp;</p>
       </div></th>
       <th width="172" scope="col">&nbsp;</th>
     </tr>
     <tr>
       <td>&nbsp;</td>
       <td bgcolor="#FFFFCC"><p><strong>Biodata</strong></p>
         <p> <img src="Gambar/abx.jpg" width="150" height="150" /></p>
         <p align="justify">Nama               : Mohammad Nasir</p>
         <p align="justify">Tempat Tgl Lahir    : Asahan, 28 Maret 1984</p>
         <p align="justify">Alamat                : Jl. Terong No. 05 15A Iringmulyo Metro Timur</p>
         <p align="justify">Tempat Tugas         : SD Negeri 1 Metro Timur</p>
         <p align="justify">Pendidikan            : Lagi Kuliah</p>
         <p align="justify">Telp / Email        : 081279079110 / mohammad02_nasir@yahoo.co.id</p>
         
       </td>
       <td>&nbsp;</td>
     </tr>
     <tr>
       <td>&nbsp;</td>
       <td bgcolor="#990000"><div align="center"><strong>SD Negeri 1 Metro Timur Telp (0725)48669 Email : sdn1_metrotimur@yahoo.co.id</strong></div></td>
       <td>&nbsp;</td>
     </tr>
   </table>
 </div>

</div>

</body> </html>

Step 2: Make a copy of your live site[edit]

Ideally this should be on the same platform (operating system, PHP and database version) as the live site, but don't worry if this is not possible. Making a working copy of a Joomla! website involves copying the files and the database (these are separate activities). You will then need to amend the configuration.php to reflect the new location. Check that your test site is fully functional.

Step 3: Install the patch package on the copy site[edit]

There are different ways of installing a package file depending on your particular circumstances. If you have difficulty with one of these methods, then simply try another.

  • Alternative 1: Unpack the package file on your local computer then use an FTP client to upload them to your site.
  • Alternative 2: Use an FTP client to upload the package to your site, then use a terminal session (eg. SSH) to connect to your site and unpack the files there.
  • Alternative 3: If your hosting provider gives you access to your site via some sort of web control panel like CPanel or Plesk, you can use the control panel file manager to upload the package, then use a terminal session (which might also be available via the control panel) to unpack the package file and overwrite all changed files on the server.

Step 4: Test thoroughly[edit]

Check out as much of the functionality on your test site as possible. If there are any problems that will affect the way that you will need to handle the live upgrade then make a written note of them for later.

If you find errors you might check out the following possibilities:

  • Ensure that all of the files were properly transferred. There have been verified reports of some FTP clients not properly transferring files across to a server without notifying the user of such a problem. One possible cause of this problem is that under certain circumstances the web server locks the files it is using and the FTP-server can't update those files. If this is the case you might try taking the site offline shortly during the FTP transfer.

Step 5: Backup your live site[edit]

Take a full backup copy of your live site immediately prior to upgrading. You may want to take your site offline prior to doing this so that updates are not lost.

Step 6: Install the patch package on your live site[edit]

There are different ways of installing a package file depending on your particular circumstances. If you have difficulty with one of these methods, then simply try another.

  • Alternative 1: Unpack the package file on your local computer then use an FTP client to upload them to your site.
  • Alternative 2: Use an FTP client to upload the package to your site, then use a terminal session (eg. SSH) to connect to your site and unpack the files there.
  • Alternative 3: If your hosting provider gives you access to your site via some sort of web control panel like CPanel or Plesk, you can use the control panel file manager to upload the package, then use a terminal session (which might also be available via the control panel) to unpack the package file and overwrite all changed files on the server.

The alternative selected may be different from that used in step 3 if the hosting platform for the site is different.

Step 7: Make any other changes required[edit]

Referring to your notes from step 4, make any other changes that are required to bring the site into operation following the patch installation.

Step 8: Check your live site to make sure it is working correctly[edit]

Don't assume that the upgrade will work flawlessly just because the test upgrade worked. Check to make sure that nothing untoward has happened. It could be that differences between the live site and test site platforms will bring out a problem that you did not notice during testing. If you find a problem and it cannot be resolved quickly you might have to rollback the upgrade using the backup copy you created in step 5.

Hopefully all will be well and you can relax. If you have any questions before, during, or after the upgrade then please ask them on the Joomla! 1.0 Upgrading 1.0.x Forum.

Return to Upgrade Instructions