← Back to team overview

mahara-contributors team mailing list archive

[Bug 1771698] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/8864

-- 
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


References