Very strange that this has just started happening.
I recently upgraded a site to 0.13 and all worked well for about a week, then when any admin user logs in, the browser is redirected to /install/upgrade.php
- the whole install dir was deleted after the upgrade so it's bringing up the 404 page.
Thing is that the user is being logged in correctly- if the user manually types the /admin URL into the browser after being redirected to the upgrade URL they can get in fine.
I've also tried clearing the cache.
Any ideas?
Thanks,
C*
Successful admin login redirects to install/upgrade.php
Successful admin login redirects to install/upgrade.php
Last edited by chilsta on Fri Jun 09, 2006 11:21 am, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Successful admin login redirects to install/upgrade.php
I think this redirect happens if the database schema is not up to date, it attempts to upgrade the schema... this was a feature put in recently. However, it looks like the install directory got nuked before the schema got upgraded.
However, we'll see about putting some more checks in there for the next version.
However, we'll see about putting some more checks in there for the next version.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
stopsatgreen
- Power Poster

- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
Re: Successful admin login redirects to install/upgrade.php
I also have this problem. Is there a way to fix it?
Re: Successful admin login redirects to install/upgrade.php
You could reupload install directory and see if it tries to upgrade again, let it do its upgrade (please do a backup first just in case) then remove install dir (or chmod 000 it)
Re: Successful admin login redirects to install/upgrade.php
Replaced /install dir and indeed, on logging into admin was redirected to upgrade.php again, which detected that the schema was out of date.
I let it upgrade, deleted /install and all appears to be working well now.
(Could've sworn I ran upgrade.php when upgrading to 0.13 and it went through the same process successfully... weird).
Thanks for your help.
C*
I let it upgrade, deleted /install and all appears to be working well now.
(Could've sworn I ran upgrade.php when upgrading to 0.13 and it went through the same process successfully... weird).
Thanks for your help.
C*
