mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24528
[Bug 1428918] A change has been merged
Reviewed: https://reviews.mahara.org/4365
Committed: http://gitorious.org/mahara/mahara/commit/958b9401fb0e43910984209f8582f28951629ec1
Submitter: Ghada El-Zoghbi (ghada@xxxxxxxxxxxxxxx)
Branch: master
commit 958b9401fb0e43910984209f8582f28951629ec1
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date: Fri Mar 6 15:07:51 2015 +1300
Bug 1428918: Don't bother with opening & closing session, in CLI
Repeated calls to session_write_close() during CLI, are causing
problems for Behat (for some reason). Since the CLI doesn't actually
do anything with these session calls anyway, let's just skip it.
Change-Id: I0c6142d2fd3df203b7635fb9c0bae13fd4ec854a
--
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/1428918
Title:
session_write_close() errors during Behat
Status in Mahara ePortfolio:
New
Bug description:
The session changes that we made for the Bug 1352028 bulk loader
status bar (closing the session after each update) cause the Behat CLI
installer script to throw a whole lot of the following PHP warning:
PHP Warning: session_write_close(): open(/home/aaronw/dataroot/mahara/behat/sessions/7/4/3/sess_743cc5981da7bf0026f59d27bbb2adf5, O_RDWR) failed: No such file or directory (2) in /home/aaronw/www/mahara/htdocs/auth/session.php on line 309
ensure session!
/home/aaronw/dataroot/mahara/behat/sessions
743cc5981da7bf0026f59d27bbb2adf5
PHP Stack trace:
PHP 1. {main}() /home/aaronw/www/mahara/htdocs/testing/frameworks/behat/cli/util.php:0
PHP 2. BehatTestingUtil::install_site() /home/aaronw/www/mahara/htdocs/testing/frameworks/behat/cli/util.php:91
PHP 3. upgrade_mahara() /home/aaronw/www/mahara/htdocs/testing/frameworks/behat/classes/util.php:85
PHP 4. log_info() /home/aaronw/www/mahara/htdocs/lib/mahara.php:218
PHP 5. log_message() /home/aaronw/www/mahara/htdocs/lib/errors.php:85
PHP 6. Session->add_info_msg() /home/aaronw/www/mahara/htdocs/lib/errors.php:206
PHP 7. Session->ro_session() /home/aaronw/www/mahara/htdocs/auth/session.php:204
PHP 8. session_write_close() /home/aaronw/www/mahara/htdocs/auth/session.php:309
PHP 9. error() /home/aaronw/www/mahara/htdocs/auth/session.php:309
PHP 10. log_message() /home/aaronw/www/mahara/htdocs/lib/errors.php:441
PHP 11. Session->add_error_msg() /home/aaronw/www/mahara/htdocs/lib/errors.php:206
PHP 12. Session->ro_session() /home/aaronw/www/mahara/htdocs/auth/session.php:221
PHP 13. session_write_close() /home/aaronw/www/mahara/htdocs/auth/session.php:309
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1428918/+subscriptions
References