{"id":51889,"date":"2015-08-11T01:42:47","date_gmt":"2015-08-11T05:42:47","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=51889"},"modified":"2016-02-24T02:36:08","modified_gmt":"2016-02-24T07:36:08","slug":"drupal-7-x-how-to-perform-database-update","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/drupal-7-x-how-to-perform-database-update.html","title":{"rendered":"Drupal 7.x. How to perform database update"},"content":{"rendered":"<p>\r\n<p>Our support team is glad to present our new guide for <strong>performing Drupal database update<\/strong>.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=P-S4Y6jCIg0?width=1280&amp;height=720\" rel=\"prettyPhoto\">Drupal 7.x. How to perform database update<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p> Please go to your <strong> FTP or Hosting CPanel Filemanager <\/strong> and open site root folder there (public_html, www, etc.). In our case that&#8217;s <strong>&#8220;drupal_new&#8221;<\/strong> folder: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_1-300x132.png\" alt=\"30.Drupal.How_to_update_database_1\" width=\"300\" height=\"132\" class=\"aligncenter size-medium wp-image-51890\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_1-300x132.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_1-150x66.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_1-1024x451.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_1.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Navigate to <strong> sites\/default<\/strong> directory and locate <strong> settings.php <\/strong> file there. Open it for editing:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_2-300x147.png\" alt=\"30.Drupal.How_to_update_database_2\" width=\"300\" height=\"147\" class=\"aligncenter size-medium wp-image-51891\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_2-300x147.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_2-150x74.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_2-1024x503.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_2.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Locate line of code that says the following:<\/p>\r\n<pre class=\"brush:php\">$update_free_access=FALSE;<\/pre>\r\n<p>Change it to:<\/p>\r\n<pre class=\"brush:php\">$update_free_access=TRUE;<\/pre>\r\n<p>to allow access to update script. Save changes applied.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_3-300x147.png\" alt=\"30.Drupal.How_to_update_database_3\" width=\"300\" height=\"147\" class=\"aligncenter size-medium wp-image-51892\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_3-300x147.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_3-150x74.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_3-1024x503.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_3.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Open your browser and type <strong>http:\/\/yourwebsiteurl\/drupal_new\/update.php <\/strong> in address bar (where http:\/\/yourwebsiteurl\/drupal_new\/ stands for your site address).\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click on <strong>Continue <\/strong> button if you&#8217;re ready with site backup. You may check <a target=\"_blank\" href=\"\/help\/phpmyadmin-how-to-backup-a-database.html\"> this detailed guide <\/a> on how to backup your data:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_4-300x163.png\" alt=\"30.Drupal.How_to_update_database_4\" width=\"300\" height=\"163\" class=\"aligncenter size-medium wp-image-51893\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_4-300x163.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_4-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_4-1024x558.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_4.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Click on <strong>Apply pending updates <\/strong> button:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_5-300x163.png\" alt=\"30.Drupal.How_to_update_database_5\" width=\"300\" height=\"163\" class=\"aligncenter size-medium wp-image-51894\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_5-300x163.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_5-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_5-1024x558.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/08\/30.Drupal.How_to_update_database_5.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Go back to <strong> sites\/default<\/strong> directory to edit <strong> settings.php <\/strong> file once again. Change <strong>TRUE<\/strong> back to <strong>FALSE<\/strong> same way as previously, please.\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>Feel free to visit your website now. Next you can login to site admin panel and go to <strong>Reports &#8211;> Available Updates<\/strong> section. In case all the steps were performed properly you will see that Drupal core and modules are up to date, you have successfully applied all the available updates.\r\n\t\t<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Thanks for reading this article! Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=P-S4Y6jCIg0?width=1280&amp;height=720\" rel=\"prettyPhoto\">Drupal 7.x. How to perform database update<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Our support team is glad to present you our new guide for <strong>performing Drupal database update<\/strong>.<\/p>\n","protected":false},"author":59,"featured_media":51897,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[723],"tags":[545,593,610],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/51889"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=51889"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/51889\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/51897"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=51889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=51889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=51889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}