[Mahara-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2020-04-29 Thread Cecilia Vela Gurovic
** Changed in: mahara Status: Fix Committed => Fix Released -- 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

[Mahara-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2019-12-30 Thread Cecilia Vela Gurovic
** Changed in: mahara Status: In Progress => Fix Committed -- 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

[Mahara-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2019-11-15 Thread Kristina Hoeppner
** Changed in: mahara Status: New => In Progress ** Changed in: mahara Milestone: None => 20.04.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 --

[Mahara-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2019-11-10 Thread Mitsuhiro Yoshida
Thank you. Your patch (https://reviews.mahara.org/#/c/10578/3) works fine on my environment. -- 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-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2019-11-10 Thread Robert Lyon
Hmm, in simplesamlphp they do this check as: if (php_sapi_name() === 'cli' || defined('STDIN')) { ... } As there are a few places in mahara where we check the CLI we should make a function to check this. I'll update the patch to handle these places. - can you please test

[Mahara-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2019-11-09 Thread Mitsuhiro Yoshida
I think it's better to use isset(['REQUEST_METHOD']) instead of php_sapi_name(), because both web access and cron run returns 'cgi-fcgi' as PHP mode. File to modify: lib/cron.php Line: 40 [before] if (php_sapi_name() != 'cli' && get_config('urlsecret') !== null) { $urlsecret =

[Mahara-contributors] [Bug 1851699] Re: cron.php with '$cfg->urlsecret' dosen't work on cronjob under PHP FastCGI enviroment.

2019-11-07 Thread Mitsuhiro Yoshida
** Changed in: mahara Importance: Undecided => High -- 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