View Issue Details

This bug affects 1 person(s).
 16
IDProjectCategoryView StatusLast Update
05198Bug reportsSurvey takingpublic2011-06-05 22:59
Reporteruser14164Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91 
Fixed in Version1.91+ 
Summary05198: Php errors during invitation processing
Description

Hi,

I installed LS Version 1.91 Build 10089 recently under centos 5.6 :

  • Apache/2.2.3
  • PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)Copyright (c) 1997-2009 The PHP Group / Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

When I run function.array-shift I get a php warning :

Warning: array_shift() [function.array-shift]: The argument should be an array in /var/www/clients/client1/web30/web/admin/tokens.php on line 1646.

TagsNo tags attached.
Bug heat16
Complete LimeSurvey version number (& build)10089
I will donate to the project if issue is resolvedNo
BrowserAll
Database type & versionmysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1
Server OS (if known)CentOS release 5.6 (Final)
Webserver software & version (if known)Apache/2.2.3
PHP VersionPHP 5.2.10

Relationships

has duplicate 05227 closedc_schmitz Warning: array_shift() [function.array-shift]: The argument should be an array in E:{link}\limesurvey\admin\tok 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-05-29 08:54

administrator   ~15155

I am sorry but I don't understand the error description.
What exactly are you trying to do when you get the described error message?

persmash

persmash

2011-05-29 11:49

reporter   ~15157

Last edited: 2011-06-01 18:03

I'm also gettin this error.
While I'm trying to send token based e-mail to participants, I got this error.
But there is no problem with mails. Everything seems OK.
I only wonder about what this error is and what it is about.

Edit: I've updated to 10120 and there is no error right now.
Edit 2: I've sent new survey and same error again.

wimc

wimc

2011-05-31 07:44

reporter   ~15179

Getting the same error after upgrading to 10120 (from 1.90)

It happened on the first screen when sending out email invitations, one line for each message sent out:
"Warning: array_shift() [function.array-shift]: The argument should be an array in /home4/limesurvey_191/admin/tokens.php on line 1646"

It did not happen in the second batch, and I will check when sending out more invitations later today.

mot

mot

2011-05-31 14:40

reporter   ~15182

I think I've experienced this warning as well, if I run over it again, I'll take a look. Might be later today even with some token tests.

user8838

2011-06-02 14:44

  ~15250

I'm also experiencing this issue.
$tokenids seems to be NULL; it's supposed to be initialized at

line 31 in tokens.php:
if (!isset($tokenids)) {$tokenids=returnglobal('tids');}

So this suggests 'tids' is NULL. Hope someone can take a look at it soon!

Regards,

c_schmitz

c_schmitz

2011-06-02 20:45

administrator   ~15265

Fixed in rev 10178

c_schmitz

c_schmitz

2011-06-05 22:59

administrator   ~15317

New 1.91+ version released

Issue History

Date Modified Username Field Change
2011-05-25 15:36 user14164 New Issue
2011-05-25 18:31 c_schmitz Assigned To => c_schmitz
2011-05-25 18:31 c_schmitz Status new => assigned
2011-05-29 08:54 c_schmitz Note Added: 15155
2011-05-29 08:54 c_schmitz Status assigned => feedback
2011-05-29 11:49 persmash Note Added: 15157
2011-05-29 11:51 persmash Note Edited: 15157
2011-05-31 07:44 wimc Note Added: 15179
2011-05-31 14:40 mot Note Added: 15182
2011-06-01 18:03 persmash Note Edited: 15157
2011-06-02 12:04 c_schmitz Relationship added has duplicate 05227
2011-06-02 14:44 user8838 Note Added: 15250
2011-06-02 20:45 c_schmitz Note Added: 15265
2011-06-02 20:45 c_schmitz Status feedback => resolved
2011-06-02 20:45 c_schmitz Fixed in Version => 1.91+
2011-06-02 20:45 c_schmitz Resolution open => fixed
2011-06-05 22:59 c_schmitz Note Added: 15317
2011-06-05 22:59 c_schmitz Status resolved => closed