SITEOUTOFSYNC already defined
Bug #1771698 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Unassigned |
Bug Description
Sometimes when testing I get this error when not in production mode
Constant SITEOUTOFSYNC already defined
This can happen if the core version in db is greater than in htdocs/
and I visit the Admin dashboard page.
This is because both init.php and admin index page both call check upgrades()
Need to wrap the define(
Changed in mahara: | |
importance: | Undecided → Low |
status: | New → In Progress |
milestone: | none → 18.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/8864