Hello! Friday I updated to Drupal 7.12 from 7.10. All seemed fine.

Today, I went to login to the site and continue my work.
I can get to the login dialogue via /?q=user and /user
I enter the login info and it seems like it's working except that I am not brought to the admin pages or any page for that matter except the "site in maintenance mode" page.

Regular access for the site content works, but I just can't get into ANY administration interface.
I have tried a number of clean urls to get into the admin interface but to no avail.
I cannot get to status/reports.

This is the second time I have had to upgrade my previous 6.x site to 7.x. On the second effort everything went well.

I backed up the site and DB on friday after testing that I could logout and log back in.

I tried a password reset, but when I clicked the link in the email that was generated I get an "acces denied" page.

I'm really stuck here, any ideas?

Comments

Anonymous’s picture

Did you try www.example.com/update.php before logging in?

audster’s picture

Yes and it ran fine.

There weren't any updates to process, but I ran it anyway.

BTW I have drush going so if there is info I can pull from there, I'm game, just newish to Drush.

Also, a little detail, when I am in the login dialogue, I can see the site links but they just take you to a maintenance mode screen.
(BTW, URL when logged in, is thesite.com/test/users/username (where test is a subdirectory of the install)
shouldn't it be thesite.com/test/admin or ?q=admin insert_puzzled_look_here )

I have tried setting maintenance mode to OFF in index.php, no joy.
I have cleared all caches with drush, no joy.

Last night I restored the site files and the db from the backup just so as to not scramble anything anymore... so at least we can always start again from the state I found it in.

Here's the drush ws report, hopefully this gives a clue.

%drush ws
 Id    Date          Severi  Type    Message
                     ty
 5783  07/Feb 09:13  notice  php     Notice: Undefined property: stdClass::$cache in
                                     DrupalDatabaseCache->prepareItem() (line 422 of
                                     /usr/www/users/bobpcw/test/includes/cache.inc).
 5782  07/Feb 09:13  notice  user    Session opened for audra.
 5781  07/Feb 09:11  notice  php     Notice: Undefined property: stdClass::$cache in
                                     DrupalDatabaseCache->prepareItem() (line 422 of
                                     /usr/www/users/bobpcw/test/includes/cache.inc).
 5780  07/Feb 09:11  notice  user    Session opened for audra.
 5779  07/Feb 09:10  notice  cron    Cron run completed.
 5778  06/Feb 16:07  notice  cron    Cron run completed.
 5777  02/Feb 16:49  notice  cron    Cron run completed.
 5776  02/Feb 16:47  info    system  date_all_day module enabled.
 5775  02/Feb 16:47  info    system  date_all_day module installed.
 5774  02/Feb 16:47  notice  cron    Cron run completed.

Thanks for your input!

Anonymous’s picture

I haven't tried Drush yet for updating--so I know very little about it. I just finished sorting out a bunch of errors with my update from 7.8 to 7.12 and I realized that I did not transfer all of the core files that were needed for the site to function correctly (and those that I did transfer were duplicated) and I misplaced a bunch of files. Are you set on updating with Drush?

Maybe you should just try with your FTP...like Filezilla. It can take a little bit of time, but I feel like it's less complicated. I'm new to Drupal too, but I've had a difficult time using command line shells. There also appear to be some issues with updating with certain versions of Drush. http://drupal.org/node/1170362

If you use your FTP it will be easier to compare what you have installed currently on your site with the update that you downloaded.

(BTW, URL when logged in, is thesite.com/test/users/username (where test is a subdirectory of the install)
shouldn't it be thesite.com/test/admin or ?q=admin insert_puzzled_look_here )

I'm not really sure. When I'm logged in as an admin, I see test/node.
Are you actually able to log into the site?

Are you using the /user path to reach the login dialogue?

audster’s picture

yep, using/user.

well I've mostly been using Drush to just get, unzip, and enable modules. Not for actual updating. (I'm too new at it and too afraid! to use it for updating, but I did get brave and use it to upddate the core to 7.12.

The thing that puzzles me is that everything was fine when I last left the site and now it's moshed. I'm wondering if the browser cache had something to do with that?

So are you suggesting that I manually grab the 7.12 version and ftp it to the install and then run update.php again?

Thanks for hanging with me here, I'm sorely in need of help!

Anonymous’s picture

I would have guessed the browser cache had something to do with it too. I've wanted to use Drush for updating, but I'm just too intimidated by it! Try the update with FTP and let me know how it goes. :-)

Also, be forewarned, there's an issue going on with the update notification system not recognizing the update to 7.12 even though it successfully updated.

http://drupal.org/node/1429768

I'm sure it will be sorted out soon though...

audster’s picture

I'm officially giving up. It will be faster for me to just do a clean install of 7.12 and manually add the very limited content that I have.

arg.

:|

I just want to move this site to 7.x because it is going to grow quite a bit, so I thought best to get it on 7 now before we start adding massive amounts of content and user interaction.

sigh.

Anonymous’s picture

Just remember to backup all of your data!

audster’s picture

:)

yes. don't panic! unless of course you failed to make a backup!

Cmajor’s picture

I too had this problem after updating core from 7.10 to 7.12 via FTP (not drush), but it seems to be working now. Am not exactly sure what helped, but this is what I did trying to fix the problem:

Cleared browser cache
Restored previous .htaccess file from backup

I still couldn't get to Configuration, but was able to get to the Modules menu. There I disabled "Overlay" module and cleared browser cache once again.

After doing that I was able to access all admin interface pages.

audster’s picture

I had to just start again, but I hope your post really helps someone else out!

Thanks for posting it!

And anyone else, if you have this issue and solve it, please, for the sake of your fellow drupalers post it!!

robdubparker’s picture

I ran into this same problem. The only way I was able to fix this was by turning off the "minimum cache lifetime" (set to none) under the performance settings. Hope this helps.

bryancasler’s picture

Thanks, worked for me

stongo’s picture

This was causing the error for me, too

aceman8’s picture

So for anyone who has this issue I have sorted it out as well.
I did 2 things:
1. I disabled the overlay under modules though I am not so sure this is needed to be done.
2. I emptied all the cache under performance and unticked all "bandwidth optimization" boxes. This is what I think was causing the update to "fail" as I had them all ticked.

Good luck!

audster’s picture

I'm curious to ask to those posters that solved this by disabling the overlay, clearing caches etc, how did you get in to disable them? I had no access to the admin interface so I couldn't do it from there...

I use Drush now so I could have done these tips from there, but for the folks that aren't using drush...

Can you please post your instructions for future drupalers that need to know?

Thanks!!

:)