Project

General

Profile

Actions

Bug #568

closed

Web tools index page need to check all the databases

Added by Eric Hou almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
05/26/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Pre-2.0
Show in known bugs:
No
Workaround:

User need to run setup wizard before start myamiweb. Setup wizard will has very complete detail error checking for user's system.


Description

Web tools index page should check db connection, db user privilege, and both databases (leginondb, project).

Right now, if there are database error, web tools home page or any pages do not show any correct error message. It just shows php error.

We need to show user how to fix the problem.

Thanks.

Actions #1

Updated by Amber Herold almost 14 years ago

  • Target version changed from Appion/Leginon 2.0.1 to Appion/Leginon 2.0.2
  • Affected Version set to Myami 2.0.1
Actions #2

Updated by Neil Voss almost 14 years ago

  • Target version changed from Appion/Leginon 2.0.2 to Appion/Leginon 2.1.0
  • Affected Version changed from Myami 2.0.1 to Pre-2.0
Actions #3

Updated by Amber Herold almost 14 years ago

  • Priority changed from Normal to High
  • Show in known bugs set to No
Actions #4

Updated by Eric Hou almost 14 years ago

  • Status changed from New to Assigned
  • Priority changed from High to Low
  • Workaround updated (diff)
Actions #5

Updated by Eric Hou almost 14 years ago

  • Priority changed from Low to High
  • Target version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.0.2
Actions #6

Updated by Eric Hou almost 14 years ago

  • Priority changed from High to Low
Actions #7

Updated by Amber Herold over 13 years ago

  • Target version changed from Appion/Leginon 2.0.2 to Appion/Leginon 2.1.0
Actions #8

Updated by Eric Hou over 13 years ago

  • Target version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.1.1
Actions #9

Updated by Eric Hou over 13 years ago

  • Priority changed from Low to Urgent
Actions #10

Updated by Eric Hou over 13 years ago

  • Deliverable set to 2.2 Bug Reduction
Actions #11

Updated by Eric Hou over 13 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Eric Hou to Anchi Cheng

added database connection checking, db user privilege, and both databases in to the login page.

to test:
put fake database information in the config.php. you will see the error message in the login page.

The message also contain a link to the setup wizard, so user can run through the wizard to fix their database problems.

Thanks.

Eric

Actions #12

Updated by Anchi Cheng almost 13 years ago

  • Status changed from In Code Review to Closed
  • Target version changed from Appion/Leginon 2.1.1 to Appion/Leginon 2.2.0

reviewed and tested

Actions

Also available in: Atom PDF