View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14254 | Bug reports | Survey editing | public | 2018-11-14 14:57 | 2020-03-06 00:54 |
Reporter | riqcles | Assigned To | |||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 3.13.x | ||||
Summary | 14254: Quotas with AJAX == Php Notice | ||||
Description | Hello, when creating quotas, after activating the questionnaire we get a php (debug a 2) error that appears if AJAX is disabled. I put the quiz for the tests. I add the log trace I had. | ||||
Steps To Reproduce | import the questionnaire | ||||
Additional Information | Informations système
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | Version 3.15.3+181108 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox | ||||
Database type & version | Postgresql 9.4 | ||||
Server OS (if known) | Centos 7 | ||||
Webserver software & version (if known) | apache 2.4 | ||||
PHP Version | php 5.6 | ||||
related to | 14616 | closed | Disable AJAXMode by default or deactivate AJAXMode completly |
Theme vanilla -> ajax mis à "Non" (option de thème). PHP notice Undefined variable: clienttoken /applis/limesurvey3/application/controllers/survey/index.php(242) 230 } Stack Trace 19 public $oTemplate; #1 71 { #2 303 { #3 281 @see runAction #4 260 { #5 277 { #6 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) #7 180 public function run() #8 189 require_once APPPATH . 'core/LSYii_Application' . EXT; |
|
Ajax activé : PHP Error [500] Undefined variable: clienttoken (/applis/limesurvey3/application/controllers/survey/index.php:242) #0 /applis/limesurvey3/framework/base/CApplication.php(834): CErrorHandler->handle() |
|
I think you must :
|
|
I try by the menu : http://192.168.56.113/limesurvey3/index.php/627969?newtest=Y&lang=fr and by the quick link http://192.168.56.113/limesurvey3/index.php/627969?lang=fr same error |
|
I can't fix : you have a session timeout somewhere … I fix the issue with «Undefined variable: clienttoken» but i can not reproduce on last 3.15.4 version . |
|
Yes, but i can't reproduce . I fix the PHP Warning issue : https://github.com/LimeSurvey/LimeSurvey/commit/049517fb28925db461dab6942db229873071982f |
|
ok i see this night :) |
|
@riqcles, is this still an issue with the latest version? |
|
@riqcles, any updates? |
|
Sorry for the time. Same issue |
|
With AJAX or not : PHP notice Undefined index: s_lang /applis/apache-2.4.33/htdocs/limesurveyfuture/application/helpers/frontend_helper.php(758) 746 $thissurvey = getSurveyInfo($surveyid, $sLangCode); Stack Trace 657 { #1 524 + Is the survey finished? #2 099 if (!isset($_SESSION[$this->LEMsessid]['step'])) { #3 |
|
I see this for the template : Material (see the snapshot) |
|
I just tested with a blank database and I do not have the problem. You can close the bug if I am the only one to have this problem. |
|
I can reproduce this issue. At our survey we set a screen out quota with a limit of 0 for answer "yes". With Ajax mode activated I got redirected to the survey start page when clicking next. With disabled Ajax mode everything works as expected. |
|
It looks like the URL I set (to the panel provider) gets called but afterwards the survey seems to re-load. |
|
We already have this issue , and it's not the same issue. If you still have it in last version : report a new issue. |
|
@DenisChenu, can you point me to that ticket? I just tested with the latest version so it should be re-opened. |
|
The fix is here : https://github.com/LimeSurvey/LimeSurvey/commit/e72bafce4e84c82324588ff5b8a0962c133a9693#diff-063845c64fbc16b55aa389eaf2f6e07b Else here : this report is about quota and php notive, your is direcly linked to end url (and redirection) |
|
This version of LimeSurvey is not longer supported. Please check so that the issue is fixed in a more recent version of LimeSurvey. If it's not, reopen this bug report. Thank you. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-11-14 14:57 | riqcles | New Issue | |
2018-11-14 14:57 | riqcles | File Added: V3_boucle_limesurvey_survey_627969.lss | |
2018-11-14 14:57 | riqcles | Note Added: 49656 | |
2018-11-14 14:58 | riqcles | Note Added: 49657 | |
2018-11-14 14:58 | DenisChenu | Note Added: 49658 | |
2018-11-14 15:00 | DenisChenu | Assigned To | => DenisChenu |
2018-11-14 15:00 | DenisChenu | Status | new => assigned |
2018-11-14 15:02 | riqcles | Note Added: 49659 | |
2018-11-14 15:04 | DenisChenu | Assigned To | DenisChenu => |
2018-11-14 15:04 | DenisChenu | Status | assigned => new |
2018-11-14 15:04 | DenisChenu | Note Added: 49660 | |
2018-11-14 15:34 | DenisChenu | Note Added: 49661 | |
2018-11-14 15:39 | riqcles | Note Added: 49662 | |
2019-02-20 09:51 | Mazi | Note Added: 50646 | |
2019-03-08 12:11 | cdorin | Status | new => feedback |
2019-03-08 12:11 | cdorin | Note Added: 50843 | |
2019-03-18 16:25 | riqcles | Note Added: 51035 | |
2019-03-18 16:25 | riqcles | Status | feedback => new |
2019-03-18 16:26 | riqcles | Note Added: 51036 | |
2019-03-18 16:26 | riqcles | Note Added: 51037 | |
2019-03-18 16:27 | riqcles | File Added: 2019-03-18 16_23_00-limesurvey_Quotas_Templates.png | |
2019-03-19 14:16 | riqcles | Note Added: 51053 | |
2019-04-04 15:21 | Mazi | Assigned To | => Mazi |
2019-04-04 15:21 | Mazi | Status | new => acknowledged |
2019-04-04 15:21 | Mazi | Note Added: 51340 | |
2019-04-04 15:22 | Mazi | Priority | none => high |
2019-04-04 15:22 | Mazi | Reproducibility | have not tried => always |
2019-04-04 15:23 | Mazi | Assigned To | Mazi => markusfluer |
2019-04-04 15:24 | Mazi | Relationship added | related to 14616 |
2019-04-04 15:26 | Mazi | File Added: Screenshot_4.png | |
2019-04-04 15:27 | Mazi | Note Added: 51342 | |
2019-04-04 15:31 | DenisChenu | Note Added: 51343 | |
2019-04-04 16:04 | Mazi | Note Added: 51346 | |
2019-04-04 17:06 | DenisChenu | Note Added: 51351 | |
2019-09-23 12:18 | c_schmitz | Status | acknowledged => confirmed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2020-03-06 00:54 | c_schmitz | Status | confirmed => closed |
2020-03-06 00:54 | c_schmitz | Resolution | open => unable to reproduce |
2020-03-06 00:54 | c_schmitz | Note Added: 56345 |