Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,534 members, 7,816,301 topics. Date: Friday, 03 May 2024 at 09:10 AM

How To Check Drupal Website Version In Cpanel - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How To Check Drupal Website Version In Cpanel (403 Views)

Drupal Website Developer Needed / How To Integrate Bulk SMS To Work In Drupal Website? / How To Upload A Database In Cpanel (2) (3) (4)

(1) (Reply)

How To Check Drupal Website Version In Cpanel by todhost(m): 3:08pm On Mar 03, 2017
Source: https://www.todhost.com/knowledgebase/789/How-to-check-Drupal-website-version-in-cPanel.html

Drupal is a very popular Content Management System (CMS) and currently powers about 2.5 percent of internet websites. The strength of Drupal can be found in some of the websites it has to its credit including the twitter.com the Whitehouse, the Economist and the University of Arizona.

Knowing your Drupal website version can be ver helpful in addressing issues. One of such issue is the Drupal white screen of Death (WSOD). A quick fix to the WSOD problem has always been to replace the files. It is good to know the version of Drupal running on your server space so that you do not run a wrong version in trying to replace the file. Running a wrong version will not solve the problem and could make things more difficult to fix.

On very few occasions, we have attempted to recover some exploited Drupal websites. One easy way to get this done had been to overwrite the files and then after things work fine, we secure the site again for the client. For you to do this successfully, you need to identify the software version that as exploited in order not to use a wrong software version for overwrite and create problems.

To be able to do this successfully, you need to identify the software version you are running and have it implemented on your website. If you are able to login to your website backend, that should be easy to knoww your software version but if you are unable to login to the backend, then you need to follow the rest of the tutorial to identify your Drupal website version.

Secondly, good server maintenance practice requires maintaining your Content Management System to run the latest updates of software version. This can be a problem in cases where there is an exploitation on your website such as a White Screen of Death. Dealing with such situations will in most cases require file overwrite and you need to run the right version to recover the website before you implement an upgrade and take steps to secure your Drpal website. Here is a guide on how you can check your software version in cPanel.

Checking Drupal Versions

The "Recommended releases" section has two versions which are both considered the latest stable versions. 7.31 and 6.33 are both adequate here.

Default cPanel configurations:

find /home/*/public_html/ -type f -iwholename "*/modules/system/system.info" -exec grep -H "version = \"" {} \;


Ok, now "How do I know the versions of ALL my Drupal installs?"

You'll see ouput similar to the following:

/home/baladon/public_html/modules/system/system.info:version = "7.9"
/home/flaviosp/public_html/openatrium/modules/system/system.info:version = "6.28"
/home/ioclaser/public_html/modules/system/system.info:version = "6.28"
/home/tamiresm/public_html/modules/system/system.info:version = "7.10"

This shows the location of the Drupal installation. /home/<CPANELUSER>/public_html/path and the version that's installed in that location.

If any of your Drpal installations are not using the most recent version of Joomla , it is very important to update it.

How to Manually Overwrite Your Drupal Files

Before you overwrite files please take note of the following:
• Delete the images folder so that all your image overwrite are retained. Except you have used custom image titles/names, you are most likely to loose the changes you made in your image folder after an override.
• Do not overwrite the logo. You can do this by deleting the logo file before you overwrite anything.
• Check any custom footer changes you made. Did you change or remove a copyright code, check in your new file before you overwrite the files.
• Check to protect any customizations you made to your files before you overwrite because you could loose all of them.

To manually overwrite your files, download the version of Drupal that you are currently running. Use an FTP software to overwrite the files. Once you do that successfully, immediately update to a most recent version that keeps you safe.

Final Advice: Always Maintain a Healthy Backup

If you keep a healthy backup, you can easily recover from a damage. Once you restore your website using your backup, you will need to take steps to protect your website from the exploitation or vulnerabilities that endangered your website. Always learn about your Drupal website CMS vulnerabilities and how you can protect yourself from them.

(1) (Reply)

I Need With Gtbank Mastercard / Sidmach Partners Microsoft To Unveil Cloud Based Smartschool Solution / Lathe Machines Suppliers In India

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.