You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created by: Lindsey DiLoreto ([email protected]) on 2015/03/11 04:48:18 +0000
Votes at time of UserVoice import: 2
Occasionally, for various reasons, I'll be working on a site where the DB info isn't correct, or the DB is empty, or MySQL is unavailable. Since Craft can't connect to the database (for whatever reason), it will redirect you to /admin/install.
So I do the obvious thing and fix my DB credentials. Or load up the SQL file which I accidentally skipped. Or turn on MySQL. In theory, everything should immediately go "back to normal", right?
Not exactly. Remember, when Craft couldn't find the DB, it redirected to /admin/install. And now that the DB is reconnected, we're still looking at the /admin/install page. So instead of seeing the page I was originally trying to view, we're stuck looking at a 404 "Page not found" error on /admin/install.
I know it's a minor complaint, but... Can we have Craft redirect to the previously viewed page (or at least the Dashboard) once Craft realizes that the DB connection is valid, and there's no need to run the installer?
This discussion was converted from issue #1203 on July 13, 2021 04:02.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Occasionally, for various reasons, I'll be working on a site where the DB info isn't correct, or the DB is empty, or MySQL is unavailable. Since Craft can't connect to the database (for whatever reason), it will redirect you to
/admin/install
.So I do the obvious thing and fix my DB credentials. Or load up the SQL file which I accidentally skipped. Or turn on MySQL. In theory, everything should immediately go "back to normal", right?
Not exactly. Remember, when Craft couldn't find the DB, it redirected to
/admin/install
. And now that the DB is reconnected, we're still looking at the/admin/install
page. So instead of seeing the page I was originally trying to view, we're stuck looking at a 404 "Page not found" error on/admin/install
.I know it's a minor complaint, but... Can we have Craft redirect to the previously viewed page (or at least the Dashboard) once Craft realizes that the DB connection is valid, and there's no need to run the installer?
Beta Was this translation helpful? Give feedback.
All reactions