Support Center

Brief guide on how to update the Drupal core in Drupal 7

Last Updated: Mar 28, 2018 04:09PM EEST

If you are using Drupal 8 please check the corresponding article:
http://support.morethanthemes.com/customer/portal/articles/2931137

Backup

  • Backup everything, both files and database.
  • Just in case, make sure you backed up everything =) (besides, it's always a good idea).​

Update Drupal core

All the following procedure is also documented at the following article "Drupal's Upgrading form previous versions" on Drupal.org - http://drupal.org/upgrade
  • Locate the root folder of your site. This is Drupal's root folder, where the index.php file is located.
  • Copy the {your theme name} profile folder /profiles/{your theme name} to another location of your file system. You will need this folder at the next steps*.
  • Delete all Drupal files and folders except the /sites folder.
  • Copy all Drupal files and folders from the latest Drupal core 7.x except the /sites folder.
  • *Copy again the {your theme name} profile folder under /profiles folder, because in Drupal 7, profile is treated as a normal module.
  • Login to your Drupal installation as administration user, your site should still work usual.
  • Run the update.php file calling a url like http://www.example.com/update.php or http://www.example.com/test_site/update.php, if your site is located under a subdirectory.
  • You just finished with the update​​

Notices

In you configuration page, maybe you will receive the following notices (minor notices) regarding the installation profile:

Notice: Undefined index: name in system_requirements() (line 39 of \modules\system\system.install).
Notice: Undefined index: version in system_requirements() (line 41 of \modules\system\system.install).


You should know that this is a known Drupal issue and appears after updating a Drupal installation with profile (http://drupal.org/node/1170362 - http://drupal.org/node/1170360). The {your theme name} profile was marked with a status of 0. In order to resolve this issue, you should change the status of {your theme name}.profile module to 1 via phpMyAdmin. 

Just find the {your theme name}.profile module row entry in the system table, edit this and change status from 0 to 1. Verify that you have copied the {your theme name} profile folder under /profiles/ folder, because in Drupal 7, profile is treated as a normal module. Finally, you should clear all caches through Administration » Configuration » Performance » Clear all caches.


In case this article leaves any of your questions or concerns unanswered, please feel welcome to email us or post a public question.

​More than (just) Themes
http://www.morethanthemes.com/

Contact Us

[email protected]
http://assets1.desk.com/
false
morethanthemes
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete