← Back to team overview

mahara-contributors team mailing list archive

[Bug 1594642] Re: missing sessionpath

 

Hi Robert,

We're running into the same issue for 16.04.

[WAR] 58 (lib/errors.php:532) An exception was thrown of class RuntimeException. 
[WAR] 58 (lib/errors.php:532) THIS IS BAD and should be changed to something extending MaharaException,
[WAR] 58 (lib/errors.php:532) unless the exception is from a third party library.
[WAR] 58 (lib/errors.php:532) Original trace follows
[WAR] 58 (auth/session.php:552) Directory name must not be empty.
Call stack (most recent first):
* RecursiveDirectoryIterator->__construct("") at /var/www/site/auth/session.php:552
* remove_all_sessions() at /var/www/site/admin/cli/close_site.php:47

A nonrecoverable error occurred. This probably means you have
encountered a bug in the system===== Exit Code ===== 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/1594642

Title:
  missing sessionpath

Status in Mahara:
  Fix Committed

Bug description:
  On latest master: commit 522312544d6a7e44ce83b37394db817df3c7d070

  I get this error when I try and close the site

  [WAR] 2c (lib/errors.php:508) An exception was thrown of class RuntimeException.
  THIS IS BAD and should be changed to something extending MaharaException,
  unless the exception is from a third party library.
  Original trace follows
  [WAR] 2c (auth/session.php:552) Directory name must not be empty.
  Call stack (most recent first):

      RecursiveDirectoryIterator->__construct("") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/auth/session.php:552
      remove_all_sessions() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/admin/index.php:106
      close_site_submit(object(Pieform), array(size 3)) at Unknown:0
      call_user_func_array("close_site_submit", array(size 2)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/pieforms/pieform.php:540
      Pieform->__construct(array(size 3)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/pieforms/pieform.php:161
      Pieform::process(array(size 3)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/mahara.php:4494
      pieform(array(size 3)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/admin/index.php:61

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


References