mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48413
[Bug 1771698] [NEW] SITEOUTOFSYNC already defined
Public bug reported:
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/lib/version.php
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('SITEOUTOFSYNC' ...); in some if
(defined('SITEOUTOFSYNC')) { ... } wrappers
** Affects: mahara
Importance: Low
Status: In Progress
** Changed in: mahara
Importance: Undecided => Low
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Milestone: None => 18.10.0
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1771698
Title:
SITEOUTOFSYNC already defined
Status in Mahara:
In Progress
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/lib/version.php
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('SITEOUTOFSYNC' ...); in some if
(defined('SITEOUTOFSYNC')) { ... } wrappers
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1771698/+subscriptions
Follow ups