the Internet Windows Android

How to upgrade Jumla 3.5 1 Step-by-step instruction. How to update joomla to the latest version

Update with Joomla 2.5 to Joomla 3.x is not a very difficult process, but most often we face one and the same errors when updating. In this article, I will describe the update process itself and consider the errors in parallel, in order to save time on Google search or wait for a response from the forums.

Important!

Before you start upgrading the site, be sure to make a copy file System and MySQL databases!

Or cut the update on copies of your site.. I do it on the newly created subdomain and on a copied database. You must not forget to change the settings to the Copied database in the configuration.php file. It would be quite good to lead a separate log file Servers to then understand why instead of site white screen .

IMPORTANT 2!

Before you start upgrading the site, you need to make sure that extensions (components, modules, plug-ins), mounted on the site can be supported by a new version of Joomla 3. All installed extensions need to be updated separately, in each case individually.

We believe that you have already done the foregoing.

I will describe the renewal of the update when something went wrong with me. I want to refresh site on Joomla 2.5.14 to version 3.5. It presents the jCOMMENTS components and several third-party modules.

So, the first thing we update all extensions installed on the site to the latest versions..

First, I need to update the version of Joomla to the latter in the 2.5 lineup - this version of Joomla 2.5.28. (Note that if you are updated from version lower than 2.5.28 at once by 3.x, you will most likely get a dead site.)

We are saved, we go to expansion -\u003e Extension Manager -\u003e Updates

We update what can be updated (for example, 2 extensions could not be updated).

To do this, select the update settings from the drop-down list. Joomla distributions with long support periods.

If after that did not appear the found updates, we go to the Extensions Manager -\u003e Updates and Clean Cash. Then check the updates again. I had an update of Joomla 2.5.28, which was achieved ... By the way, if in the end it did not work out, but rather it is so, you can download the Joomla update file to version 2.5.28 and updated manually ...

To do this, download the package you need, and pour files on FTP with replacement.

So, press the "Install Update" button ... We are waiting for a bit ... As a result, a joyful message should appear "Your site has been successfully updated. Joomla version 2.5.28." OK!

Then we go to the extension manager -\u003e control and turn off all the components, modules and plugins that are installed independently. I disconnected everything as regards JComments, there was a non-standard captcha, the plugin sourcer and something else;)

If Joomla does not immediately find an update, again we repeat the cache cleaning procedure in the extension manager. We return to the control panel - we see that the Joomla 3.5 update is found.

Come in "in the button" and click Install update

We watch it ...

After installing the Joomla update, I was thrown into the admission page to the admin panel, and instead of the site itself - the white screen! Oh God! This is afraid of every site! That is why everyone says - do not do on the work site updates, do them on copies of the site! Make backups!

Well, nothing terrible, respectively, "muzzle" site was not displayed because the template of the site is not supported by the third jum. Anyway, I was going to change it to another.

We go to the admin, in the template manager, put any standard ... The entire site is displayed, the content is on the spot - further the case of the technique!

A couple of days after the update to Joomla 3.5 revealed a jamb! After some time, the site began to fall out 500 error to restart it, it was necessary to restart the entire server (Apache). After viewing the logs, it turned out that the Sourcer plugin is guilty of this, which allowed to place an arbitrary PHP and JavaScript code in the text of the material. I had to turn it off. The error in the logs was like this:

[: error] php Fatal Error: Cannot Redeclare class nncache in /www/site.com/plugins/System/NNFramework/helpers/cache.php on line 14,

In addition, I revealed that after upgrading to Joomla 3.5, the Save and "Save and Close" buttons do not work in the site admin. I helped me in this case combination keys Ctrl. + F5 ...

Update JComments 2.3.0 to JComments 3.0.5

Now about the jCOMMENTS components. To lose his data, I really didn't want to be very much - too much people have compiled articles.

I had a standard template, so I simply deleted the version of JComments 2.3.0 through the expansion manager and installed a freshly signed JCommentS 3.0.5 package. Everything! Comments returned to their places.

Link to the logo refers to the current page, and not to the main

The next very common mistake, which is found in many (but not everyone), who updated to version 3.5 - the site logo has ceased to refer to the main page, but instead, refers to current page Site. The exit was found may be not the most elegant, but working. Let's hope that when the new update is released, the developers will already determine this bug.

So a solution:

We need to fix the SEF plugin file. This file is located here.

/Your.site/Plugins/System/Sef/Sef.php.

IN this file, Change in 93 row, at the very end of the sign "+" on "*". It should work out

It was: $ regex \u003d "# \\ s +". $ ATTRIBUTE. "" (?! / | ". $ protocols." | \\ # | \\ ") ([^"] +) "# M"; It became: $ regex \u003d "# \\ s +". $ ATTRIBUTE. "" (?! / | ". $ protocols." | \\ # | \\ ") ([^"] *) "# M";

My first attempt to update the site to Joomla 3.7 led to an error plg_quickon_phpversioncheck. Why it turned out and how without error to upgrade to Joomla 3.7 in this article.

Let me remind you.You will see a message about the need to update the system if you have the plug-in "The icon panel - notification of new versions of Joomla!", Id \u003d 437.

About the error plg_quickicon_phpversioncheck.

On the one hand, everything is simple. This error denotes that I use a not supported version of PHP on the hosting server.

On the other hand, not everything is clear. I have PHP 5.4.26 on my server. Prior to the update, this version of PHP has arranged, and for Joomla 3.7, it turns out, you need a newer version of PHP?

To understand the problem, go to the page " Technical requirements for installations Joomla» ( https://downloads.joomla.org/ru/technical-requirements-ru.).

This page is updated March 20, 2017. The page information was not changed, for Joomla, including Joomla 3.7, the minimum version of PHP 5.3 is required, and PHP 5.6 or PHP 7 is recommended.

Apparently, the cause of the PLG_QUICKICON_PHPVERSionCHECK error in the insufficient version of PHP. It remains to change the version of PHP 5.4.26. On the server and after restoring the site from the backup, to update again.

class \u003d "Eliadunit"\u003e

Update by FTP.

For the experiment, I will update without changing the PHP version by FTP. For this:

  • Download here ( https://downloads.joomla.org/ru/cms/joomla3/3-7-0) Joomla file! 3.7.0 Upgrade Package (.zip);
  • I unpack the downloaded archive;
  • Checking the CHMOD rights for the Configuration.php file of the system, they must be at least 644;
  • By downloading the update archive on top of the old, on FTP in "Replace more new" mode.
  • I look the result, as expected, the update failed.

conclusions

Note: Another update server passed without complications in automatic mode. Let me remind you how to do it:

Automatic update Joomla

  • Clean the cache site;
  • Make backup site;
  • If you are using non-verified extensions of little-known authors, disconnect them on the Extension tab \u003e\u003e\u003e Management;
  • Click the Update tab (Components \u003e\u003e\u003e Joomla Update!);
  • Update the system in mode automatic update with a record "directly";
  • A successful update system will inform the green stripe;

Checking extensions, turn them on one. This is useful if any extension will conflict with the new version of the system.

Another error

After the update, the "traditional error" jumped: Fatal Error: Call to a Member Function GetTag () on a non-object in /librursees/cms/application/site.php on line 456. This error is expressed with a white screen after writing a new article or editing old. It does not appear everywhere, fixed so.

From the author: Greetings to you, dear friend. Control system content Joomla During its existence, it is very actively developing and improved, in terms of functionality and convenience of work, which provides for the regular release of new versions of this CMS. So, a novice developer may have a completely legitimate question - how to update Joomla to the last relevant version. Therefore, in this article I will try to answer this question.

To begin with, I would like to note that you constantly need to follow the updates and, if possible, update the site to the last topical version (by the way, it concerns not only sites created on CMS Joomla). Since new versions may contain important security updates, as well as correcting various mistakes, or optimizing the operation of the entire system as a whole. Therefore, if you want to support your site in good working condition, it is necessary to update it.

Important note: If the site is already designed and enacted - I strongly recommend it before the update, make a backup copy of the site, to avoid loss of content or the working capacity of CMS. Of course, the update is a fairly simple process, but still, the replacement and rewriting of some files, and therefore errors may occur. If you are still very new to work with the above CMS, and do not know how a backup site is created - our CMS Joomla course will be useful.

In this article we will talk about how to update Jumlu 3, because to update earlier versions, you will need to use additional tools.

Check version of Joomla

First of all, you need to check the version used by CMS, which means that the need to install updates. To do this, go to the admin panel and if you use not the current version - on main page, Immediately a message will be displayed about the need for updates:

If you are only developing a site, there are no access to the Internet on the Internet, then to determine the version used by CMS, go to the "System Information" link from the "System" menu:

And define the CMS version:

If the versions do not match - the update is required.

How to update joomla 3 in automatic mode?

So, let's look at how to update Joomla 3 in automatic mode. To do this, go to the admin panel, then the "Components" of the main menu item and go to the "Update Joomla!" Link :

Modern trends and approaches in web development

Learn a rapid growth algorithm from scratch in the website building

At the same time, we fall on the update manager page, where by clicking on the "Install Update" button you will run the CMS update process. But before that, make sure that the extensions you use are compatible with the version being installed.

After successfully updated, on the screen you will see the following post:

How to update joomla manually?

Now let's talk about how to update the Joomla manually. Manual update Provides for downloading a special Joomla update package, and install it. This will update the CMS version.

To do this, go to the official site in the downloads section and go to the link "Upgrade Packages Joomla! 3 Upgrade Packages ":

Next download package of updates in format zip archive And install in CMS Joomla using extension manager. Again I remind you before updating, make sure that the extensions used are compatible with the new version:

After updating, we can check the results of our work and make sure that Joomla is updated:

Now, as you see, the question is how to upgrade Jumlu, it is exhausted for you. At the same time, the update process does not affect the settings and the installed extensions.

This article is completed. Successful coding and to new meetings!

Modern trends and approaches in web development

Learn a rapid growth algorithm from scratch in the website building

According to the conveyance of the wipers and Konovalov, the Joomla ruler 3x is updated with one click of the button in the administrative panel. Disappointing, "in one click" only a worn tank over the toilet works, and for Update CMS will have to find logic and fantasy on the bottom of the mind. I will not look into matter, why need an update, I will only say that it is a useful and important site for the safety of the site.

There is nothing to do for, today I updated one site with Joomla 3.5.1 at 3.6.5, for which it took 15 minutes. Something is a lot for one click. Having ears, below I will give a couple of tips and recommendations for updating the engine, as well as tell which CMS files are updated during the upgrade.

What files are updated

When updating the engine, the CMS kernel files are replaced, that is, those files that the Joomla itself. If you installed third-party plugins and modules, then their update does not affect. No problem? There is, since the normal secharine will always give the will of the imagination of the mind and change some system files To optimize the engine as an interest.

For example, my edits were introduced into:

  1. cSS template,
  2. File Default.php at Components / COM_CONTENT / Views / Article / TMPL /.

Somewhere the rules of styles, somewhere spit output headlines, since the default version caused my mental cramps.

When updating these files, as well as the Favonka, will be replaced by "native", so they will have to restore them (backup in hand).

Update error

For UPDATE, outgoing connections to the site should be enabled through the Jumlow administrator. As they turn on the spice web can be seen on the screen at the top, on other hosts knock in support.

Filter retreat - if outgoing connections are enabled by default, then after updating the Joomla, turn off them - this step towards security. For example, a plugin of similar materials RelatedNews spoils the life of a bundle of hidden links to the left sites if the connections are allowed. Its workers made a loading through PHP links, but they are hidden in the styles of the component, the eye does not cut, and the site is coffin.

  1. Included outgoing connections
  2. Updated the site,
  3. Picky a couple the necessary files from backup,
  4. Turn off the connection.

Lucky, but who can come in handy.

So, if the outgoing traffic is disabled, then when trying to update, a bjak appears:

Update: Unable to open the site update # 1 "Joomla kernel!", URL: https://update.joomla.org/core/list.xml

Go to hosting (write the host), turn on connectivity and calmly updated (components - Joomla updates).

Restore the desired files

If you use a default engine, then do not restore anything, if the hands grow out of the political correct space, and the files you change under the Goals of SEO, then restore them from the backup. It is easier to do this from a backup on hosting. If the hoster is harsh, but the poured, and the backups do not, then spit him in the face Make a backup before upgrading yourself and restore from it.

So you have a website on Joomla 3.4.x, which you need to upgrade to latest version (At the time of writing, this version is 3.8.0).

It seems that everything should be easier to have nowhere, download the packages of updates and gradually roll one by one by periodically correcting the database with Joomla tools, but not everything is so simple. There is one underwater pebble (or then a dozen), but let's in order, and so we have a site on Joomla 3.4.x and what's next ...

Be sure to make backup site files and databases!
Since there is always something can go not so as conceived)

Step 1. Update Joomla 3.4.x to version 3.4.5


Stage 2. Update Joomla 3.4.5 to Joomla 3.5.1

  1. We go link and swing patch Joomla! 3.5.1 Upgrade Package (.zip)
  2. Next, repeat the paragraphs 2-5 from step 1

Stage 3. Update Joomla 3.5.1 to Joomla 3.6.0
(the most extensive stage of the update)

  1. We go link and swing patch Joomla! 3.6.0 UPGRADE PACKAGE (.zip)
  2. Next, you need to unpack this archive on your PC and pour the received files to your FTP hosting with the file replacement.
  3. Go to "Expansion-\u003e Extension Manager" and in the left menu, select a "database" and again we see that our database is outdated
  4. Click the "Fit" button.
  5. After you updated the Joomla to version 3.6.0, you must install the update component and other updates.

    For this go "Extensions-\u003e Expansion Manager-\u003e Update (UPDATE)" And click the button "Find updates"As a result, we obtain a list of required updates. Here we need to choose updates for:
    • Joomla! Update Component Update.
    • Weblinks Extension Package.
  6. First update Joomla! Update Component Update. and only then Weblinks Extension Package. You can also update Language package.
  7. Now let's go "Extensions-\u003e Expansion Manager-\u003e Installation (Install)" And we will see such a picture:

    and if you click on the link Plugin Manager. You will most likely see an empty list of plugins. Let's fix it for this:
  8. Again moving "Extensions-\u003e Expansion Manager-\u003e Installation (Install)" and proceed by reference "Plugin Manager" In a message about the absence of installation plugins and now here we will see a list of the required plug-ins.
  9. We put the ticks opposite plugins: " Installer - Install From", "FOLDER INSTALLER - INSTALL FROM", "Upload Installer - Install From URL"And press the button" Enable".
    Now coming on "Extensions-\u003e Expansion Manager-\u003e Installation (Install)" We will see already familiar to us laying with different installation options.
  10. We make a backup of the site and database files.

So, now we have the ability to install patches directly from the admin without having to pour files via FTP.

Stage 4. Update Joomla 3.6.0 to Joomla 3.6.5


Stage 5. Update Joomla 3.6.5 to Joomla 3.7.5
(Also no less extensive update stage than the third)


At this stage, the Joomla update is already starting to warn us that our version of PHP 5.4-5.6 is outdated and recommends switching to a newer PHP7 version.

Step 4. Update Joomla 3.7.5 to Joomla 3.8.0
(final stage of updates)


ATTENTION!

Go to more fresh version of PHP7 Not only
will increase the stability of your site to all sorts of hacks,
but approximately in 2 and more times increase its speed!

Some extensions of your site can issue warnings after switching to a new version, but with the edit of such minor errors to cope very easily. Just score a mistake in google search And you will quickly find the right decision.

author: