I've been setup as an administrator of an existing Drupal based site. I can login fine and access various admin menus. How do I tell what version of Drupal is installed? I've search Drupal.org but I can't seem to find anything relevant.

Ben in DC
PublicMailbox at benslade dot.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

Comments

tostinni’s picture

Check this file at the root of your site, it has the version number.

bslade’s picture

I don't see any file name in your posting. Did you accidentally leave it out?

Also, what exactly do you mean by "check"? Access via the web? or via FTP? I only have web access right now.

PublicMailbox@benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

bertboerland’s picture

look for the changelog.txt file as mentioned in topic of parents parent.

--
groets
bertb

--
groets
bert boerland

kbahey’s picture

He meant :

Go to the directory where Drupal is installed (via ssh or FTP or file manager)

Check for a file called CHANGELOG.txt

It should have the version.

Or you can try yourwebsitedomainname.com/CHANGELOG.txt

--
Consulting: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

bslade’s picture

The server says "not found" for changelog.txt upper or lowercase. I'll just have to get ftp access to figure this out. IMHO, it really should be part of the module title in the admin->modules section (for each module)

PublicMailbox at benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

sepeck’s picture

Why? You can only use 4.5 modules with 4.5.x Drupal and 4.6 modules with 4.6.x Drupal.

It has been this way for a long time.

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

bslade’s picture

I'm admin'ing a site which is giving me a column not found error for an event volunteering function. See here for a screen shot. I had clicked on the 'Approve" when I got the error:

user error: Unknown column 'cs_wanted' in 'field list'
query: SELECT cs_wanted FROM cs_volunteer 
WHERE eid = 451 
in /home/sites/site17/web/includes/database.mysql.inc 
on line 125.

I wanted to know the Drupal version because I was investigating whether the unix admin for the site might have upgraded the module php files without upgrading the corresponding tables.

Further investigation shows that there is a "volunteer" table with the "wanted" column, so I guess I don't need to know the version of Drupal anymore, just why I'm getting this error. I'll post a separate message about this question.

PublicMailbox@benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

tostinni’s picture

Hum that's bad if you don't have Changelog.txt, it's easier.
Well you can investigate the code to see what version you got.
Basically, if you have a 4.5.x version, you should have a conf.php in the include directory. If it's a 4.6.x version you should have a sites directory in the root.
Then for sub version, that's harder, think about downloading files and make a diff with a version you dl through Drupal.org.
At the end, if you get a custom version (with some changes made by the old admin), well, good luck with your diff ;)

For your volunteer problem, it's what you're saying, it seems that you use a 4.6 version with the volunteer 4.5 mysql schema. Just upgrade your volunteer schema and it would work.

shashikant_chauhan’s picture

goto " www.yoursite.com/admin/reports/status " from browser.
i.e. from menu goto Administer > Reports > Status report
It will not only display drupal version but PHP,JQuery,Mysql version also

DocDJ-forum’s picture

I would like to display the version numbers for Drupal, PHP and MySQL on my website's home page, where it says "powered by Drupal". I want Drupal to extract that info from the system when the home page is loaded. I don't want to type it in every time I do an upgrade. Where can I get some info on how to modify my homepage to do that?

regards,
DJ

jaypan’s picture

Hackers can use this information to make it easier to hack your site.

Contact me to contract me for D7 -> D10/11 migrations.

DocDJ-forum’s picture

I suppose I don't need the MySQL & PHP versions, since they are available via PHPmyAdmin, but I would still like to display the Drupal version. Is there a way to do that?

regards,
DJ

josedsilva’s picture

Check includes/bootstrap.inc

DocDJ-forum’s picture

nothing in includes/bootstrap.inc about the Drupal version#. Only the PHP version#.

regards,
DJ

mikaelz’s picture

With file access (FTP) check modules/system/system.module (D6) or drupal/core/lib/Drupal.php (D8)

Or query database:

SELECT `info`
FROM `system`
WHERE `filename` = 'modules/system/system.module'