mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48418
[Bug 1771698] A change has been merged
Reviewed: https://reviews.mahara.org/8864
Committed: https://git.mahara.org/mahara/mahara/commit/9e15f3614fb7cb210eac0ff50c67c4c477f2406c
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch: master
commit 9e15f3614fb7cb210eac0ff50c67c4c477f2406c
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Thu May 17 11:42:52 2018 +1200
Bug 1771698: Check if SITEOUTOFSYNC is already defined
behatnotneeded
Change-Id: Ib646a8348e4533ff15b333eb839cf33ea085ec28
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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 Committed
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