Project

General

Profile

Actions

Bug #818

closed

Clean php warning when there is no session in the database

Added by Eric Hou over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
Web interface
Target version:
Start date:
08/17/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
Appion/Leginon 2.0.2
Show in known bugs:
No
Workaround:

Description

After brand new installation for myamiweb. imageviewer and 3wviewer show php warning because the foreach statement need to take an array of sessions but there are no session in the database at that time.

Thanks.

Actions #1

Updated by Eric Hou over 14 years ago

  • Status changed from New to Assigned
  • % Done changed from 0 to 100
Actions #2

Updated by Eric Hou over 14 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Eric Hou to Amber Herold
  • Priority changed from Normal to High

to test:
just use a brand new database on leginondb and projectdb. Go to /imageviewer.php and /3wviewer.php, you should not see any php error.

Thanks.

Eric

Actions #3

Updated by Amber Herold over 14 years ago

  • Status changed from In Code Review to In Test
Actions #4

Updated by Amber Herold about 14 years ago

  • Status changed from In Test to Closed

tests pass.

Actions

Also available in: Atom PDF