← Back to team overview

mahara-contributors team mailing list archive

[Bug 1495200] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5407
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/aee374c0aa5d89cadba50a2eff2891af4ee751c0
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    15.04_STABLE

commit aee374c0aa5d89cadba50a2eff2891af4ee751c0
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Wed Sep 30 17:15:49 2015 +1300

Remove unnecessary cached form from the session

Bug 1495200 & Bug 1496681

behatnotneeded: Well, we could test this, but it would
require a 60-second wait for the session to timeout (since
the least you can set the session timeout via the UI
is 1 minute)

Change-Id: Ia5c861c16b6c893ada9d5eb2111f0b6a9aee49ad

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

Title:
  White screen when session times out

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Committed

Bug description:
  Issue with 15.10

  If you are logged into mahara and leave the site open in a browser for
  some time when you come back and try to navigate somewhere you can end
  up with a white blank screen - on refresh of page all works fine.

  The problem is this:
  PHP Fatal error:  auth_generate_login_form(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;Pieform&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition  in /home/robertl/htdocs/mahara-devel/mahara/htdocs/auth/lib.php on line 1945

  Which deals with the line:
  return get_login_form_js($SESSION->loginform->build());

  In earlier Mahara you would instead be given (via js) a popup login
  box.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1495200/+subscriptions


References