View Issue Details

This bug affects 1 person(s).
 16
IDProjectCategoryView StatusLast Update
09766Bug reportsSurvey participants (Tokens)public2015-07-24 11:44
ReporterTartiflette Assigned ToDenisChenu  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09766: Blank page when trying to initialise tokens & when trying to use the plugin manager
Description

When trying to use the pluginmanager, or when i try to initialise the tokens in the tokens manager, i get a blank page, and nothing loads.
Everything else works fine (Creating a survey, a group, adding an user, a contact, creating a group of user, etc...)

Steps To Reproduce

1-Click on the plugin manager

OR

2-Click on a survey already created
-Click on the tokens manager button
-Click on the initialise tokens button

OR

3-Create a survey
-Before putting it online, click on the intitialise token button

Additional Information

phpinfo : http://10.1.1.17/info.php

TagsNo tags attached.
Attached Files
Screens.rar (183,511 bytes)
Bug heat16
Complete LimeSurvey version number (& build)limesurvey206plus-build1506
I will donate to the project if issue is resolvedNo
BrowserI tested with IE, Chrome & Firefox
Database type & versionMySQL 5.1.73
Server OS (if known)CentOs 6.6
Webserver software & version (if known)Apache 2.2.15
PHP Version5.3.3

Relationships

related to 09706 closedc_schmitz Undocumented changed in PHP version required for Limesurvey 2.06 150612 

Users monitoring this issue

cegar, gabe

Activities

Tartiflette

Tartiflette

2015-07-09 11:34

reporter   ~32662

I deleted limsurvey 2.06 and installed limesurvey 2.05, it resolved my problems.

Everything works fine now.

DenisChenu

DenisChenu

2015-07-09 14:42

developer   ~32663

phpinfo is from a address is in private non-routable range.

Can you save it at HTML ?

Maybe some "PHP5.5/5.3" issue.

silverlime

silverlime

2015-07-15 09:35

reporter   ~32691

same problem here with 2.06 and PHP 5.3.29; i tried php 5.6.5 > this works

ptramonti

ptramonti

2015-07-15 12:09

reporter   ~32695

Same problem with 2.06 and PHP 5.3.
I solved blank page on token with this:
https://github.com/LimeSurvey/LimeSurvey/commit/c90606ec2221efc1f86fcfa90d105cce52b33bc8

I also solved the problem on Plugin Manager page with this:
/application/core/plugins/AuthLDAP/AuthLDAP.php
on line 249 and 268 changing:
[...];
with:
array(...);

DenisChenu

DenisChenu

2015-07-15 12:12

developer   ~32696

@ptramonti : thanks for information, then this one is already fixed in GIT version. We need a release ...

ptramonti

ptramonti

2015-07-15 12:31

reporter   ~32699

Yes, the problem on the token page is already fixed in GIT version.
But it must still be solved the problem on Plugin Manager page... the problem is the same, on the array definition (line 249 and 268 of AuthLDAP.php plugin).
Correcting in this way I solved the problem.

DenisChenu

DenisChenu

2015-07-15 12:32

developer   ~32700

Hi,

Can you make a little pull request ?

Denis

cegar

cegar

2015-07-16 13:57

reporter   ~32707

Last edited: 2015-07-17 10:35

Same problem here initializing tokens. With debug = 1 this message is printed in the blank page:

Parse error: syntax error, unexpected '[' in /srv/www/enquisas/htdocs/application/models/Token.php on line 209

This is line 209 of Token.php $itresult = $this->updateByPk($tkrow['tid'], ['token' => $newtoken]);

I think I have found the cause of the problem: The "short" declaration of the array using [] is not supported by php versions previous to 5.4 (I am also using 5.3.3).

It seems to work changing that line and using this declaration instead of the original one: $itresult = $this->updateByPk($tkrow['tid'], array('token' => $newtoken));

Edit: it is the same solution that ptramonti comments on note https://bugs.limesurvey.org/view.php?id=9766#c32695

Edit: related to this bug, solved but not yet released: https://bugs.limesurvey.org/view.php?id=9706

DenisChenu

DenisChenu

2015-07-17 10:38

developer   ~32710

@ptramonti have the fix, pull request in some time. Don't know for release.

DenisChenu

DenisChenu

2015-07-17 10:53

developer   ~32711

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15572

DenisChenu

DenisChenu

2015-07-17 10:56

developer   ~32712

Fixed in GIT/master Tahnbks to @ptramonti

Token fix is already done here : https://github.com/LimeSurvey/LimeSurvey/commit/c90606ec2221efc1f86fcfa90d105cce52b33bc8

c_schmitz

c_schmitz

2015-07-24 11:44

administrator   ~32785

Version 2.06 Build 150723 released

Related Changesets

LimeSurvey: master 4e745860

2015-07-17 08:45:51

ptramonti

Details Diff
Fixed issue 09766: Blank page when trying to use the plugin manager

This solves the problem with the blank page when you open the Plugin Manager.
https://bugs.limesurvey.org/view.php?id=9766
Affected Issues
09766
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

LimeSurvey: master 45316f00

2015-07-17 08:53:09

DenisChenu

Details Diff
Merge pull request #347 from ptramonti/patch-1

Fixed issue 09766: Blank page when trying to use the plugin manager
Affected Issues
09766
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

Issue History

Date Modified Username Field Change
2015-07-08 14:59 Tartiflette New Issue
2015-07-08 14:59 Tartiflette File Added: Screens.rar
2015-07-09 11:34 Tartiflette Note Added: 32662
2015-07-09 14:42 DenisChenu Note Added: 32663
2015-07-15 09:35 silverlime Note Added: 32691
2015-07-15 12:09 ptramonti Note Added: 32695
2015-07-15 12:12 DenisChenu Note Added: 32696
2015-07-15 12:31 ptramonti Note Added: 32699
2015-07-15 12:32 DenisChenu Note Added: 32700
2015-07-16 13:47 gabe Issue Monitored: gabe
2015-07-16 13:57 cegar Note Added: 32707
2015-07-16 13:58 cegar Note Edited: 32707
2015-07-17 10:16 cegar Issue Monitored: cegar
2015-07-17 10:17 cegar Note Edited: 32707
2015-07-17 10:17 cegar Note Edited: 32707
2015-07-17 10:35 cegar Note Edited: 32707
2015-07-17 10:38 DenisChenu Note Added: 32710
2015-07-17 10:53 ptramonti Changeset attached => LimeSurvey master 4e745860
2015-07-17 10:53 DenisChenu Changeset attached => LimeSurvey master 45316f00
2015-07-17 10:53 DenisChenu Note Added: 32711
2015-07-17 10:53 DenisChenu Assigned To => DenisChenu
2015-07-17 10:53 DenisChenu Resolution open => fixed
2015-07-17 10:56 DenisChenu Note Added: 32712
2015-07-17 10:56 DenisChenu Status new => resolved
2015-07-17 10:56 DenisChenu Fixed in Version => 2.06+
2015-07-17 10:57 DenisChenu Status resolved => confirmed
2015-07-17 10:57 DenisChenu Relationship added related to 09706
2015-07-17 10:57 DenisChenu Status confirmed => resolved
2015-07-24 11:44 c_schmitz Note Added: 32785
2015-07-24 11:44 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)
2021-08-03 04:54 guest Bug heat 12 => 16