Reviewed: https://reviews.mahara.org/6884 Committed: https://git.mahara.org/mahara/mahara/commit/470e671c61c81c25739b6efb033b365f99598c47 Submitter: Robert Lyon ([email protected]) Branch: 16.04_STABLE
commit 470e671c61c81c25739b6efb033b365f99598c47 Author: Robert Lyon <[email protected]> Date: Tue Jun 21 14:14:44 2016 +1200 Bug 1594642: Problem where global $sessionpath not set When I tried closing my site I got DirectoryIterator error behatnotneeded - the patch 6609 will test this Change-Id: I35024f8e6a558ee9d009e7c2754a0026e8042b2f Signed-off-by: Robert Lyon <[email protected]> (cherry picked from commit 4a4ba6944c94d6dac448460b3a07c8d5f697ab63) -- 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 Status in Mahara 15.04 series: New Status in Mahara 15.10 series: New Status in Mahara 16.04 series: New Status in Mahara 16.10 series: 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

