View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11827Bug reportsSurvey participants (Tokens)public2016-10-24 13:27
Reporterdrodero Assigned Toc_schmitz  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary11827: Email bounce processing fails on PHP 7
Description

When you try to start email bounce processing, the "pop up" window appears with a loading image, but it doesn't dissapears.

It calls the web (i.e.):

/index.php/admin/tokens/sa/bounceproces
sing/surveyid/798454?YII_CSRF_TOKEN=70bba79f8024c292c045ee4c55dea25866713f5a

Where you get a Internal Server Error: Call to undefined functino split()

Additional Information

In file:

/application/controllers/admin/tokens.php

In line 107 you have:

@list($hostname, $port) = split(':', $hostname);

If you change split for explode, it works properly in PHP7.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Versión 2.06lts Build 160801
I will donate to the project if issue is resolvedNo
BrowserAll
Database type & versionMySQL 5.7.13
Server OS (if known)Ubuntu 16.04.2
Webserver software & version (if known)Apache 2.4.7
PHP Version7.0.12

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2016-10-24 12:12

administrator   ~41530

Last edited: 2016-10-24 12:28

Correct, split is removed in PHP 7. Use explode instead?

http://php.net/manual/en/function.split.php

c_schmitz

c_schmitz

2016-10-24 13:13

administrator   ~41531

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

c_schmitz

c_schmitz

2016-10-24 13:27

administrator   ~41532

New version released

Related Changesets

LimeSurvey: 2.06lts 55adc402

2016-10-24 15:13

c_schmitz


Details Diff
Fixed issue 11827: Email bounce processing fails on PHP 7 Affected Issues
11827
mod - application/controllers/admin/tokens.php Diff File

Issue History

Date Modified Username Field Change
2016-10-24 11:10 drodero New Issue
2016-10-24 12:12 ollehar Note Added: 41530
2016-10-24 12:28 ollehar Note Edited: 41530
2016-10-24 13:13 c_schmitz Assigned To => c_schmitz
2016-10-24 13:13 c_schmitz Status new => assigned
2016-10-24 13:13 c_schmitz Changeset attached => LimeSurvey 2.06lts 55adc402
2016-10-24 13:13 c_schmitz Note Added: 41531
2016-10-24 13:13 c_schmitz Resolution open => fixed
2016-10-24 13:14 c_schmitz Status assigned => resolved
2016-10-24 13:14 c_schmitz Fixed in Version => 2.06+
2016-10-24 13:27 c_schmitz Note Added: 41532
2016-10-24 13:27 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)