View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10199 | Bug reports | Plugins | public | 2016-01-06 13:17 | 2016-01-06 13:32 |
Reporter | DenisChenu | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 10199: Unable to use cron event | ||||
Description | Cron event don't work : error in console | ||||
Steps To Reproduce | 1st : without any plugin : 2nd with included little plugin : same think ;) | ||||
Additional Information | Tested with config-sample too. | ||||
Tags | No tags attached. | ||||
Attached Files | cronTest.php (1,355 bytes)
<?php /** * cronTest : Test cron for bug report * * @author Denis Chenu <denis@sondages.pro> * @copyright 2015 Denis Chenu <http://www.sondages.pro> * @license GPL v3 * @version 0.0.1 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ class cronTest extends PluginBase { protected $storage = 'DbStorage'; static protected $description = 'Test setting of cron'; static protected $name = 'cronTest'; private $sSessionKey; protected $settings = array( 'testInt' => array( 'type'=>'int', 'htmlOptions'=>array( 'min'=>0, ), 'label'=>"Testing int.", 'default'=>2, ), ); /** * Add function to be used in cron event */ public function init() { $this->subscribe('cron','testEcho'); } public function testEcho() { echo "test"; } } | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 151215 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | mysql 5 | ||||
Server OS (if known) | debian7/linux | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | PHP Version 5.4 | ||||
Fixed with remove clientScript from preload internal I look if we add it for "script extrension" removed now. Not needed, but next time : remind of this ;) |
|
https://github.com/LimeSurvey/LimeSurvey/commit/5c4527584214dba8a1004b189cdf76fbce212cc6 Thanks Menno ;) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-06 13:17 | DenisChenu | New Issue | |
2016-01-06 13:17 | DenisChenu | File Added: cronTest.php | |
2016-01-06 13:23 | DenisChenu | Additional Information Updated | |
2016-01-06 13:28 | DenisChenu | Note Added: 34155 | |
2016-01-06 13:30 | DenisChenu | Note Added: 34156 | |
2016-01-06 13:30 | DenisChenu | Status | new => resolved |
2016-01-06 13:30 | DenisChenu | Fixed in Version | => 2.06+ |
2016-01-06 13:30 | DenisChenu | Resolution | open => fixed |
2016-01-06 13:30 | DenisChenu | Assigned To | => mdekker |
2016-01-06 13:31 | DenisChenu | Changeset attached | => LimeSurvey master 5c452758 |
2016-01-06 13:32 | DenisChenu | Relationship added | duplicate of 10176 |
2016-01-06 13:32 | DenisChenu | Status | resolved => closed |