I have made a complete mess of an upgrade by getting myself locked out. I put old system into maintenance mode but logged out before doing the upgrade of all the modules. When I found myself unable to log in, even using the ?q=user advice from this forum, I decided that I would in desperation delete the database and start again.
I deleted database and created a new empty database; I ran the install script and went through the usual setup questions until it gave me 'congratulations install successful; visit your front page'
Imagine my horror, when I clicked on the link, only to be presented with 'Site under maintenance. come back later'.
This is the message I originally left on the original site.
How is it possible? I am now unable to get into the site to create any content.

Please, folks - any useful suggestions?

Comments

godfreynix’s picture

I found a thread in the forum where it described this situation and the solution was to use phpmysql to empty the session table. I have done this but I am still unable to get anything other than the maintenance mode message.

I cannot find any record in the variable table relating to maintenance mode.

I cannot log in to administer the site or put any content in it. I am totally stuck.

godfreynix’s picture

Ha, funny ha. Friend (really?!) had created a page 'index.htm' which was taking precedence over index.php at the web server. So I could run install.php and update.php but every request that omitted the page name took the default static page. No surprise then that whatever I did with settings or the database made no difference.
My solution was to remove index.htm

Sorry to waste anyone's time. Just goes to show we need to check everything without any assumptions. As it is said, never assume because it makes an ASS out of U and ME.