mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50464
[Bug 1771698] Re: SITEOUTOFSYNC already defined
** Changed in: mahara
Status: Fix Committed => Fix Released
--
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:
Fix Released
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
References