Updating modx evolution to the latest version. Updating Modx Revolution to the latest version. Downloading the latest version of MODX Evolution

Kind time of the day, dear readers. Today I will show you how to update your MODX Evolution system to the latest version. In my example, I will be upgrading from 1.0.5 to 1.0.14. I have already updated my sites to the latest versions but ran into a problem with 1.0.14. To be honest, I don’t remember which one. Many where I was looking detailed instructions to update it to this version, but I never found it. In the process of updating a site that needed it, I wrote this article. We will act step by step:

1. Making backups of files and databases

The best thing to do backups through the panel of your hosting company, since they create an archive and files are not lost there, but through ftp clients files may get lost

2. Download the latest version of MODX Evolution

Here is the official page of the most recent version Modx evo... Click on the button " Traditional", the download of the archive will start. Unpack the files to the desktop

3. Rename system folders

Renaming folders assets and manager v assets_old and manager_old respectively. We do this in order to once again do not upload these folders and files back if something goes wrong during the update process.

4. Save the config.inc.php file

Save the file to the desktop config.inc.php which lies in the folder manager (well, now manager_old) / includes our site

5. Upload files to the server

From the downloaded archive, fill in the folders assets, manager, install and files index.php and index-ajax.php to the root of our site on Modx Evolution. Files index.php and index-ajax.php replace.

6. Fill in the manager folder config.inc.php file

V new folder manager you need to upload the configuration file config.inc.php with our database connection settings to make it clear to the MODX installer that we are doing an update and not a fresh install

7. Open the site and click install

We open home page our website and click on the link install now

8. Follow the update instructions

We will see the initial installation page of MODX Evolution version 1.0.14 (dated June 5, 2014), select Russian and click on (next)

9. Choose Update existing installation

Since we uploaded to the folder manager config file config.inc.php, we will already have it automatically selected "Update"

10. Installing all add-ons

We leave everything as it is here, unless you renamed snippets and plugins. If so, do not update, those additions that have made significant changes

11. Agree to the terms of the license and proceed with the installation


The program will check the capabilities of your server, and you need to agree to the license terms and click the button "Install"

11. Installation completed successfully


The installer will inform you about what has been updated and what has been installed. On the item "delete the folder and installation program files from my site" put a check mark (although it will be on by default) and click the "Close" button

12. Go to the admin panel


We see the long-awaited form for entering the admin panel, only with an updated design. We are happy. We go with the same username and password

12. We go to the site

We go to the site itself and see a not very pleasant picture. MODX swears "MODX encountered the following error while attempting to parse the requested resource:"... We are not upset, everything is fine, we just don't have some additions that we installed in addition to standard plugins and snippets in the assets folder, since it is new.

13. We upload add-ons from assets_old to assets

Download the folder to the desktop assets_old... Open a new folder on the site assets / snippets and check it against the assets_old / snippets folder. We check each snippet in the assets_old folder, and if any is not in the assets folder, upload it there. I got this picture

We do the same with plugins and modules. We go into the folder assets_old / plugins and check it against the folder assets / plugins, similarly with modules: assets_old / modules / with assets / modules... What is missing - fill in.

14. Images and site files

Similarly to snippets, modules and plugins, upload images and files from the assets_old / images and assets_old / files folders to assets / images and assets / files, respectively.

P.S. If you have in your folder assets there were some other files or folders, they also need to be copied to new assets... I only had files in images and files

15. We open the site and rejoice

The update was successful and in just 15 steps... Folders manager_old and assets_old can be deleted. You have received an updated design of the admin panel, improved work of scripts and system plugins, accelerated work CMS MODX Evolution and the most important thing HIGHER SECURITY compared to previous versions and especially 1.0.5.

P.S. Refinement of snippets and plugins

If all of your spippets and plugins have never been changed, then you have nothing to worry about, but most of them change snippets such as ajaxSearch or ditto... This primarily concerns the editor TinyMCE, as on all sites that I updated, this editor does not work correctly. I will make small articles and explain how to cope with this or that problem. The first article will be more convenient than TinyMCE (in my opinion).

We also make minor changes in other add-ons.

  • Go to Elements - Manage elements - Plugins - TransAlias ​​- Configuration... Select in the item Trans table - russian... Otherwise, we will generate aliases (url) in Cyrillic, but we do not need this. We need pseudonyms to be translated into the Latin alphabet.
  • If you changed before the update css forms search ajaxSearch, then most likely you changed the chunks of this snippet. Therefore, if your search has moved out, then simply replace all chunks from the old site. Address: assets / snippets / ajaxSearch / templates

Thank you all for your attention and success in your work! I hope this article will help you in updating the site for MODX Evolution

A week ago, a fresh release was released MODX Revolution under version 2.7.0. Its release was a good reason for writing instructions on how to update this popular content management system. I'll make a reservation right away that we will update MODX Revolution manually, without the help of any plugins.

MODX Revolution still does not have a mechanism for installing updates in a couple of mouse clicks. You can, of course, get out of the situation by installing a special plugin. But today we'll be looking at updating MODX Revolution without installing add-ons.

MODX Revolution 2.7.0 has the following system requirements:

  • PHP 5.5 or higher;
  • MySQL 5.5 or higher, MariaDB 10.1 or higher, Percona Server 5.6 or higher (optional);
  • Apache 2.2 or higher, nginx 1.8 or higher (optional);

Attention!

Be sure to do backup site before updating.

But before the backup, it is advisable to clear the site cache. This is done in the menu Control.

After that, we make a backup copy of the site. Clearing the cache and terminating sessions before updating is necessary in any case, whether you are doing a backup or not.

Download the latest version of the CMS from the official website. We need a version called Advanced Distribution... You can download it on the page at this link. This version is stripped down from the standard version.

We upload files to the server, replacing the current ones. After that, go to the page / setup /... The first step is to choose a language.

The installation wizard will start.

Select option Update existing installation ... If you want to change site parameters such as database connection, control panel path or kernel path, select Extended update.

The installation wizard will conduct pre-installation tests after which you can start the installation directly. After its successful completion, you will see the following message:

After the MODX Revolution update completes, you will again encounter a message stating that the kernel directory is in open access... You can read how to fix this in.

Kind time of the day, dear readers. Today I will show you how to update your MODX Evolution system to the latest version. In my example, I will be upgrading from 1.0.5 to 1.0.14. I have already updated my sites to the latest versions but ran into a problem with 1.0.14. To be honest, I don’t remember which one. Many where I looked for detailed instructions for updating this particular version, but I could not find it. In the process of updating a site that needed it, I wrote this article. We will act step by step:

1. Making backups of files and databases

The best thing to do backups through the panel of your hosting company, since they create an archive and files are not lost there, but through ftp clients files can be lost

2. Download the latest version of MODX Evolution

Here is the official page for the most recent version of Modx Evo. Click on the " Traditional", the download of the archive will start. Unpack the files to the desktop

3. Rename system folders

Renaming folders assets and manager v assets_old and manager_old respectively. We do this in order not to once again fill these folders and files back if something goes wrong during the update process.

4. Save the config.inc.php file

Save the file to the desktop config.inc.php which lies in the folder manager (well, now manager_old) / includes our site

5. Upload files to the server

From the downloaded archive, fill in the folders assets, manager, install and files index.php and index-ajax.php to the root of our site on Modx Evolution. Files index.php and index-ajax.php replace.

6. Fill in the manager folder config.inc.php file

In the new folder manager you need to upload the configuration file config.inc.php with our database connection settings to make it clear to the MODX installer that we are doing an update and not a fresh install

7. Open the site and click install

Open the main page of our site and click on the link install now

8. Follow the update instructions

We will see the initial installation page of MODX Evolution version 1.0.14 (dated June 5, 2014), select Russian and click on (next)

9. Choose Update existing installation

Since we uploaded to the folder manager config file config.inc.php, we will already have it automatically selected "Update"

10. Installing all add-ons

We leave everything as it is here, unless you renamed snippets and plugins. If so, do not update, those additions that have made significant changes

11. Agree to the terms of the license and proceed with the installation


The program will check the capabilities of your server, and you need to agree to the license terms and click the button "Install"

11. Installation completed successfully


The installer will inform you about what has been updated and what has been installed. On the item "delete the folder and installation program files from my site" put a check mark (although it will be on by default) and click the "Close" button

12. Go to the admin panel


We see the long-awaited form for entering the admin panel, only with an updated design. We are happy. We go with the same username and password

12. We go to the site

We go to the site itself and see a not very pleasant picture. MODX swears "MODX encountered the following error while attempting to parse the requested resource:"... We are not upset, everything is fine, we just don't have some additions that we installed in addition to standard plugins and snippets in the assets folder, since it is new.

13. We upload add-ons from assets_old to assets

Download the folder to the desktop assets_old... Open a new folder on the site assets / snippets and check it against the assets_old / snippets folder. We check each snippet in the assets_old folder, and if any is not in the assets folder, upload it there. I got this picture

We do the same with plugins and modules. We go into the folder assets_old / plugins and check it against the folder assets / plugins, similarly with modules: assets_old / modules / with assets / modules... What is missing - fill in.

14. Images and site files

Similarly to snippets, modules and plugins, upload images and files from the assets_old / images and assets_old / files folders to assets / images and assets / files, respectively.

P.S. If you have in your folder assets there were some other files or folders, they also need to be copied to new assets... I only had files in images and files

15. We open the site and rejoice

The update was successful and in just 15 steps... Folders manager_old and assets_old can be deleted. You got an updated admin panel design, improved scripts and system plugins, faster work CMS MODX Evolution and the most important thing HIGHER SECURITY in comparison with previous versions and especially 1.0.5.

P.S. Refinement of snippets and plugins

If all of your spippets and plugins have never been changed, then you have nothing to worry about, but most of them change snippets such as ajaxSearch or ditto... This primarily concerns the editor TinyMCE, as on all sites that I updated, this editor does not work correctly. I will make small articles and explain how to cope with this or that problem. The first article will be more convenient than TinyMCE (in my opinion).

We also make minor changes in other add-ons.

  • Go to Elements - Manage elements - Plugins - TransAlias ​​- Configuration... Select in the item Trans table - russian... Otherwise, we will generate aliases (url) in Cyrillic, but we do not need this. We need pseudonyms to be translated into the Latin alphabet.
  • If you changed the css of the search form before the update ajaxSearch, then most likely you changed the chunks of this snippet. Therefore, if your search has moved out, then simply replace all chunks from the old site. Address: assets / snippets / ajaxSearch / templates

Thank you all for your attention and success in your work! I hope this article will help you in updating the site for MODX Evolution

Unfortunately, the MODX Revolution content management system does not provide the ability to update the CMS with the click of a button, as is done in Wordpress and many other engines.

Therefore, at the initial stage of work, inexperienced users have difficulties keeping the CMS up to date. And to update it is vital (for the site, of course) is necessary.

IMPORTANT! Before starting the system update, be sure to make a backup copy of both the site files and the database. When unsuccessful update you can always return to the initial state.

The MODX Revolution update process is not much different from its clean install to the server. The only thing to remember is that you must not delete or overwrite the file. core / config / config.inc.php.

1. Downloading the MODX installation package

We go to the official site modx.com in the section " Download"And download the installation package. This section contains the standard version of the installer ( Traditional). Extended version ( Advanced) a little deeper - https://modx.com/download/other-downloads. Choose the appropriate package for your CMS.

2. Clearing the site cache

In the administrative panel of the site, select “ Management - Clear site cache».

After clearing the cache, we end all sessions: " Control - End all sessions»

3. Uploading files to the server

We upload the unpacked files of the installation package to our server. For package Advanced folders are called core and setup... There are only two of them. For the standard package ( Traditional) there are a little more folders.

Files can be uploaded both through the ftp client and using the hosting control panel. If you do this through the control panel, you can download the archive directly, and unpack it on the server. It will come out faster this way. Deleting cache files through the control panel will also save you time.

4. Starting the update process

In order to update our engine, we do the same as when we started from scratch. Go to the address site.ru/setup, and then recall the installation instructions. The only difference is that the option is not selected " New installation ", a " Upgrading an existing installation».

5. Checking the update

At the end of the process, check if the version number has changed in the administrative interface. If everything went well, update the previously installed add-ons. Naturally, only those that require updating.

Make sure that setup files removed from the server. This happens in automatic mode at the last stage of the installation, provided that the checkbox for uninstalling the installation package is not unchecked, but it is better to play it safe and double-check it additionally.

Developer Bob Ray has created an add-on to make it easier to update Revo. More details about this add-on can be found on the page "". This is the name it has.

To speed up your sites on MODX Revolution, it is recommended to go to using PHP 7. In some cases, the difference is visible even with the naked eye. The server response time also decreases, according to some sources, almost three times.