Closed (works as designed)
Project:
Drupal core
Version:
6.22
Component:
install system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2011 at 17:47 UTC
Updated:
11 Jan 2012 at 18:24 UTC
Since I installed the last update, in admin/reports/updates/list there is an ongoning warning that I should install 6.22. I have done so several times but the message keeps appearing.
In sites/all/modules I also have a a drupal-6.20 folder. I tried removing this folder but then I get a fatal error. After restoring from backup the problems remain. My site is functioning normally apart from the question to download 6.22 again.
Marijke
Comments
Comment #1
urbanus commentedComment #2
dpearcefl commentedWhat version shows in the status report (/admin/reports/status)? What is the fatal error message you get when you remove this subfolder?
Comment #3
dpearcefl commentedYou don't assign things to yourself unless you are taking responsibility for solving your own problem.
Comment #4
urbanus commented@ dpearceMN:
Version 6.20
fatal error message: Well I do not want to reproduce this at this time, yesterday the site was published for my client so I do not want any downtime right now.
What do you mean bij your last remark .... ?
Marijke
Comment #5
dpearcefl commentedIf you don't want to help me help you, I'm going to postpone this issue. After a certain number of days, I will close this ticket. Sorry, but resources are limited.
"You don't assign things to yourself unless you are taking responsibility for solving your own problem."
When you opened the ticket, you assigned the ticket to yourself. That field is used to select a person who is volunteering to resolve your issue. So you (who is reporting the problem and by definition unable to resolve the issue) assigning yourself (to resolve the issue) doesn't make sense.
Comment #6
urbanus commentedI'm very sorry, this is the first time I reported an issue and I did not know I made this mistake. By the way when I look at the field "Assigned" it says "Unassigned". Ofcourse I want help, otherwise I wouldn't have start the issue. So, again: I apologize for not following the rules. What do you want me to do, do I have to report a new issue?
Comment #7
dpearcefl commentedNo you are reporting this problem the right way. But if you are not able to work on this problem now, we can't help you.
If you want to answer my questions in #2, we could get a little further down the road.
Comment #8
heine commentedThis is not a bug; you have 6.20 modules installed, and those are used.
What you need to do is to restore the original installation on a test server and then
- remove the drupal-6.20 directory from sites/all/modules
- go into the database and edit any paths of modules and themes in the table
systemthat point to sites/all/modules/drupal-6.20/[etc] to [etc] alone.eg for the node module change
sites/all/modules/drupal-6.20/modules/node/node.module to
modules/node/node.module
Comment #9
urbanus commentedHello,
The fatal error message is:
"Fatal error: Call to undefined function user_access() in ...../sites/all/modules/admin_menu/admin_menu.module on line 82"
I was able to reproduce it by renaming the directory ..../sites/all/modules/drupal-6.20 for a few seconds.
I may try Heine's possible solution tomorrow, thank you for it.
Marijke
Comment #10
urbanus commentedSolved (finally).
Solution:
- make a copy of the drupal-6.20 directory from sites/all/modules to your desktop
- remove the drupal-6.20 directory from sites/all/modules
- go into the "system" database and edit any paths of modules and themes in the table system that point to sites/all/modules/drupal-6.20/[etc] to [etc] alone. (33 entries)
- also edit any left 6.20 to 6.22 (33 entries)
- run update.php
This is a bug, but you can fix it yourself.
Marijke
Comment #11
urbanus commentedComment #12
Cyberflyer commentedI have Drupal 6.22 core code in place and ran all the update procedure as usual.
The status report says I am not secure and the Updates Available page says I am running 6.19.
I know that is not the case but Drupal does not. There are also bugs along the general line of 'unable to access' various modules, which are clearly there.
Nothing has changed from my installation, other than the update to 6.22.
There is no "drupal-6.20 directory" in sites/all/modules.
And I can find no paths in the System table of the DB with 6.20 in the name or info fields.
So I can't make sense of the 'fix'.
What am I missing?
This is driving me nuts.
Comment #13
Cyberflyer commentedThis is not fixed. At least not on my system.
Has anyone found a fix that will work?
Comment #14
heine commentedThere's no bug here.
Comment #15
brian_c commented(Edited title as I think this will show up better in search results, also I think "Works as designed" is more appropriate here than "Won't fix")
I just ran into this too, I needed to fix a site that had been upgraded improperly; someone had copied all of the core modules into /sites/all/modules. (So I had sites/all/modules/block, sites/all/modules/blog, etc etc)
This makes it impossible to actually update core, as the older core modules in /sites/all/modules will take precedence over anything in /modules (this is a feature that allows users to cleanly override core modules, if necessary, without hacking the originals)
So to fix this situation (essentially a generalized re-stating of the steps in #10 above):
(you'll of course need to replace '6.8' and '6.22' according to the specific versions you are dealing with)