View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05334Bug reportsOtherpublic2011-07-22 16:23
Reportermedicnick Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05334: PHP error upon sending invitations
Description

Upon clicking the send invitations button in the email template view the following error message is provided: "PHP Warning: array_combine(): Both parameters should have an equal number of elements in E:{PATH}\limesurvey\common_functions.php on line 7015
PHP Warning: array_merge(): Argument #1 is not an array in E:{PATH}\limesurvey\common_functions.php on line 7016"

It appears that the invitations did actually get sent as expected.

Here are lines 7013-7017:
[CODE]
if ($onlyAttributes===false)
{
$basic_attrs_and_names=array_combine($basic_attrs,$basic_attrs_names);
return array_merge($basic_attrs_and_names,$extra_attrs_and_names);
}
[/CODE]

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)10465
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMSSQL 2008 R2
Server OS (if known)Windows NT WEB708 6.0 build 6002
Webserver software & version (if known)IIS 7.0
PHP Version5.2.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-07-10 14:34

administrator   ~15711

Last edited: 2011-07-10 14:36

I am sorry, but that is not version 10465. I have completely different code in these lines. Please do a full manual update to the latest version (10453), try again and report back.

c_schmitz

c_schmitz

2011-07-10 14:41

administrator   ~15713

Anyway, i was able to find it. You should still check, something is off with your version.

medicnick

medicnick

2011-07-10 18:59

reporter   ~15719

Thanks. Yes, I have optimized the js_header and css_header references to be more efficient in common_functions so it changes the line numbers.

c_schmitz

c_schmitz

2011-07-22 16:23

administrator   ~15839

New 1.91+ version released

Issue History

Date Modified Username Field Change
2011-07-10 03:59 medicnick New Issue
2011-07-10 14:34 c_schmitz Note Added: 15711
2011-07-10 14:34 c_schmitz Assigned To => c_schmitz
2011-07-10 14:34 c_schmitz Status new => feedback
2011-07-10 14:36 c_schmitz Note Edited: 15711
2011-07-10 14:41 c_schmitz Note Added: 15713
2011-07-10 14:41 c_schmitz Status feedback => resolved
2011-07-10 14:41 c_schmitz Fixed in Version => 1.91+
2011-07-10 14:41 c_schmitz Resolution open => fixed
2011-07-10 18:59 medicnick Note Added: 15719
2011-07-22 16:23 c_schmitz Note Added: 15839
2011-07-22 16:23 c_schmitz Status resolved => closed