升级您的Joomla3.0网站到最新版本

Joomla是内容管理系统即JoomlaCMS,它是网站的一个基础管理平台。几乎适合从个人网站到百货销售类型的各类网站。特别是在国外,该软件非常的知名,而且使用广泛。不过,小编最近发现很多朋友在使用这款的软件的时候,并不知该怎么升级成最新版,于是小编就在这里跟大家准备了篇教程。

无论是Joomla 2.5 还是Joomla 3.x,要升级到Joomla 3 最新版其实是一件很简单的事情。

一、先备份你的网站!!

二、然后检查你的虚拟主机或服务器的配置是否符合Joomla 3.x的基本要求!100349 21833528

如果你的网站里面已经安装了第三方的Joomla组件、模块、插件、模板,那么在升级之前,你应该将它们升级到能升级到的最新版。

对于模板,罗嗦一下:很多模板现在都是既支持Joomla 2.5 ,又支持Joomla 3.x。但如果你的模板本身并没说明支持Joomla 3.x,那么升级后可能会出现网站完全没法访问等情况。

三、如果只是升级Joomla本身,请按照以下方法操作(以Joomla 3.2.1为例):

1、如果你的网站是Joomla 2.5的,请直接跳到第5步。

2、登录后台,稍等片刻,如果你的网站是Joomla 3.x,那么控制面板上你很快会开到“Joomla! 3.2.1 现在更新”的提示:

3、点击该提示,进入新页面后点击“安装更新”:

4、等几分钟后,一切OK。

5、登录后台,稍等片刻,如果控制面板上出现“Joomla! 2.5.x 现在更新”(x会是一个具体的数字),那么请参照以上2-4步的操作!

完成以上操作,或如果出现“本Joomla!是最新版”,那么请继续按下面的步骤操作。

6、点击“本Joomla!是最新版”,你将进入一个新页面,点击该页面右上角的“选项”,并将“更新服务器”里的选择更改为“短期支持”:

7、点击“保存并关闭”后,稍候片刻:

8、点击“安装更新”,双手合十为自己祈祷吧!

How to Upgrade from Joomla 2.5 to Joomla 3

CREATE A BACKUP FOR YOUR JOOMLA 2.5 BEFORE STARTING

Make sure you take a backup of your current web site especially if you are going to perform a complex migration. I can go ahead and take a backup and download it to your computer just in case anything should go wrong. There are 2 simple ways of doing this:

You can use a component called Akeeba Backup. Just log into your Administrator and you will find it under the Components menu. This is easy to use component, it will take you no more than 5 minutes to know how to use.

backup joomla 2.5 with akneeba backup

Beside using Akneeba, you can easily create a backup in Cpanel. Most of hosting providers support this feature for their users

backup joomla in cpanel

CHECK PHP VERSION AND YOUR MAGIC QUOTES

Before proceeding the work you will need to check your hosting your development server if it's compatible with Joomla 3. This means two things your web host must be operating PHP version 5.3 and above and must have Magic Quotes disabled.

To check PHP version: Go to the Site menu => select System Information. You can see the from there , in my case it is 5.5.3 which is fine because the minimum is PHP 5.3.

check php version

To check whether Magic Quotes is ON / OFF: Go to the Site menu => select System Information as them step above => select tab PHP settings. You can see in the sixth one down Magic Quotes you can see is set to Off

check magicquote on/off

If your PHP version was below 5.3 or Magic Quotes was set to On then you should contact your web host for the exact method to set Magic Quotes to Off and to ensure that PHP is at least version 5.3 on their hosting panel. Don't worry making these changes doesn't break anything on your Joomla 2.5. Now you can proceed with the upgrade of your Joomla 2.5 web site to Joomla 3.

SET UP A DEVELOPMENT LOCATION

After taking a backup now you should set up a test host that meet PHP version and Magic Quote requirements as mentioned in the step above. And take following steps:

  1. Create a new database and new user to restore your 2.5 site to.
  2. Create a testing site or build area to work in and restore the back up copy of your 2.5 site in one of the following places:A subdomain, A subdirectory or localhost like XAMPP, WAMPP, MAMP
  3. Restoring a site on a local device.
  4. Restoring a site with a tool listed at bottom of page. (Read the developer documentation)
  5. In your test location, update your Joomla! 2.5 instance to the latest maintenance release. (Currently 2.5.28).
  6. Make sure you have the latest database schema updated to the latest version 2.5.28 by going to: Extension Manager → Database tab. If your schema is not up to date as in the following image, click the Fix button:

    check magicquote on/off

  7. Test.
  8. Backup again.

CHECK YOUR EXTENSIONS AND TEMPLATES

  1. So the first stage is to make a note of all additional extensions (not Joomla Project) installed that weren't accompanied with Joomla core installation. You will be determining if they need to be updated to the latest version or uninstalled. To see them go to Extensions >> Extension Manager >> Select Tab Manage.
  2. Click the drop-down for Type.
  3. Select Package from the drop-down

    joomla extensions

    In case you need uninstall a package you should select something you need to select Package, it will automatically uninstall the associated Modules, Plugins, or anything else in the package at one time. So saving more time.

  4. Repeat this process of going through the Manage tab for all Types in the drop-down: Component, File, Language, Library, Module, Plugin and Template. If the Author states Joomla! Project, then ignore those extensions alone. 

  5. Make a note of any versions of Packages and Components currently running that you will be keeping on your site.
  6. Update all extensions to the latest versions:

    Before and as you update, note if the extensions have both 2.5 & 3.x versions in the same package. If so, they will be fine to "one-click update." If not, and 2.5 and 3.x have different packages, you need to look at them case by case. They will normally fall into one of the following scenarios:

    The extension has separate packages but upon upgrading to 3.x, they automatically detect this and still work. Make sure the developer confirms this.

    The extension has separate packages that need to be uninstalled in 2.5 and then installed with the Joomla 3.x version once the site is migrated. An example of this might be a content plugin. It is very simple to uninstall it in 2.5 and then install it again in 3.x.

    What should you do some of them don't support Joomla 3 ? Here are something you can do:

    - Find other extensions that have the same features but available for Joomla 3.

    - Hire a Joomla developer expert to modify or upgrade the extension to be compatible with Joomla 3.

    - At Joomlavi we can custom and upgrade Joomla extensions. If you're finding an expert to do that job, don't hesitate to contact us for a FREE QUOTE

  7. Update template to the latest versions:

    For the Joomla template it is slightly different. We need to first of all find out which template we are actually using. To do this go to theExtensions >>Template Manager. Here are the list of the templates installed on the site. Many of which came with your Joomla installation. You should also watch out to see if any templates have been marked as default because these are also being used on your web site.

    For the most part your template scenario will fit into one of the options below:

    - You are using a template that was purchased from a template club : This is the easiest one - most of the time. If you purchased a template from a template club, go back to the company and see if they have a version of your template for Joomla 3.x.

    - You are using a template that was a one time purchase from some template provider: Go back to the company and see if there’s a version available for Joomla 3.x. If there isn’t, you’re probably out of luck. You can try contacting someone from the company to see if they can update it for you and make it compatible with Joomla 3.x. If that fails, then you will need to either choose a new template or convert the template to be compatible with Joomla 3.x.

    - You had a custom template designed for you: it will need to be converted to be compatible with Joomla 3.

    - You are using a Joomla 2.5 default template that came with your Joomla installation: You will be able to update to Joomla 3 with a one-click update.

    - At Joomlavi we can convert any old template or PSD to latest Joomla 3 template. If you're finding an expert to do that job, don't hesitate to contact us for a FREE QUOTE

UPDATE TO JOOMLA 3X

Once you have either updated or uninstalled your third-party extensions so that only those compatible with Joomla! 3 remain in your installation, continue with the following steps:

  1. Go to System → Global Configuration → Server tab and turn Error Reporting from System Default to Maximum. Make sure to Save & Close.

    joomla extensions

  2. Go to Extensions → Plugin Manager and enter Remember Me into the Filter and press enter.
  3. Disable the Remember Me plugin by clicking the green check mark and making it a red circle.

    joomla extensions

  4. Take another backup.
  5. Go to Components → Joomla Update. (It should say no updates found. If it doesn’t, update Joomla to the latest version and test. Then do another backup.) Click on the Options button at the top right corner.
  6. Select Short Term Support (This is the current text - it may be different in the future) from the drop-down for Update server.

    select short term support

  7. Click Save & Close.
  8. You will then see your Installed Joomla Version, the Latest Joomla! version and the URL for the update package.

    joomla updated found

  9. If the update is not showing up, go to Extension manager → Update and press Purge Cache from the toolbar. Now the update to Joomla! 3 should show up.
  10. Cross your fingers, make sure you turned off Remember Me and that you have a backup from just before this point.
  11. Click the Install the Update button.
  12. Watch the spinning circle go round and round and feel the anxiety building. No, just kidding. The amount of time the wheel spins is dependent on your site, Internet connection and server speed.
  13. If all goes well, you will get to a totally new look to the backend administrator panel.

    joomla 3 dashboard

Enjoy your new Joomla 3 site!