Actions
Bug #776
closedaddinstrument.php can not access the function is_logged() without Login_Enabled
Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
-
Target version:
Start date:
07/26/2010
Due date:
% Done:
100%
Estimated time:
Affected Version:
Appion/Leginon 2.0.2
Show in known bugs:
No
Workaround:
Description
Something has changed recently that made dbemauth not loaded when this page is loaded.
Error message: Call to a member function is_logged() on a non-object in .../myamiweb/addinstrument.php on line 4
Updated by Anchi Cheng over 14 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Anchi Cheng to Eric Hou
- % Done changed from 0 to 100
Fixed it by requiring once dbemauth.php regardless of LOGIN_ENABLE since most functions in login.inc need it.
Updated by Eric Hou over 14 years ago
- Status changed from In Code Review to In Test
- Assignee changed from Eric Hou to Amber Herold
The fixed is good for now. We might need to consider to check the privilege level during the login system, then we don't need to check privilege on every pages.
Thanks.
Eric
Updated by Amber Herold over 14 years ago
- Status changed from In Test to Closed
- Target version set to Appion/Leginon 2.1.0
Actions