I am running 6.9, trying to upgrade to 6.12. For some reason, I am not able to change my site mode to "offline" under the Site Maintenance category. When I run update.php, the correct first screen comes up and I am able to successfully get to the page where you select your updates. The updates are automatically selected. I hit "continue", and it loops me back to the first screen. Then, if I go back to the domain www.site.com, I am able to still see the site, still get to the User Login page, but not able to see the Navigation menu for administering the website (using the admin account of course). I havent been able to find any info on this anywhere. Can someone please point me in the right direction?

Comments

Netzarim’s picture

I have been attempting to run update.php on Drupal 6.12. The script goes along through showing me all the updates that need to be made, then when I continue the next page never loads and it redirects to the frontpage. I am not seeing anything in any logs.

I redid the 6.12 upgrade... ie. I copied sites/* over to a fresh install of 6.12 (nullifying any performance mods)... I did keep .htaccess... I wonder if the latest patch to boost changed that and this is what's causing the problem? Checking...

Nope, not it... Clueless in Dallas...

Netzarim’s picture

I have been going through the updates needed and doing them manually until I can figure out why this occurring. The new CCK module update though is confusing to extract the SQL table/data changes from the Schema definition. Still working on it.... Would prefer to run update.php, but it is still landing on the frontpage before processing the SQL.

096754’s picture

Apparently it's working for everyone else....

I might just go back to 6.9...

zvikico’s picture

Pretty much same symptoms (update from 6.10 to 6.12).
Let me know if you do solve it eventually...

tavish’s picture

I found that for my install it was a variation in the php variable "variables_order". This affects the order of a few things, but most specifically to Drupal, the order of the $_REQUEST superglobal. If your value has $_GET overriding $_POST then your update.php will redirect you to the front_page value instead of the update.php?op=Update page.

I hope this helps you.

--Tavish

Quint’s picture

good find, Tavish

drupalfever’s picture

I followed what I think was your suggestion.
Following is a list of what I did:

1) I opened the "php.ini" file and searched for the word "variables_order".

2) On my file it was set with the following value:
variables_order = "GPCS"

3) From what I understood, each letter on the value GPCS represented a function. G represented $_GET and P represented $_POST.

4) So I switched the letters as follows:
variables_order = "PGCS"

5) Then I restarted Apache.

The problem remains the same. Every time I try to run update.php I am redirected to the main page.

I have:

Drupal core 6.22
Apache Version 2.2.17 (Win32)
PHP Version 5.2.14
MySQL Version 5.0.51a

This is my development environment running on a VirtualBox.

Any help would be appreciated.

dpolant’s picture

This saved me a lot of time, thanks.

However I chose to just turn maintenance mode off instead of altering my php settings, and then update.php just worked.

- Dan