View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
05855Bug reportsOtherpublic2012-03-03 02:25
Reportermmirasol Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92RC4 
Target Version1.92Fixed in Version1.92 
Summary05855: when creating new user: Warning: htmlspecialchars() expects parameter 1 to be string
Description

Sorry, I don't see a dropdown for release rc5 so I chose rc4 instead. I just downloaded the code to try it out but I got this error after creating a new user, then clicking set user permissions.

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/limedev/admin/userrighthandling.php on line 448 Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/limedev/admin/userrighthandling.php on line 448 Warning: array_map(): Argument #2 should be an array in /var/www/limedev/admin/userrighthandling.php on line 452 Warning: array_map(): Argument #2 should be an array in /var/www/limedev/admin/userrighthandling.php on line 517 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1:SELECT users_name FROM lime_users WHERE uid=

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)12022
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64)
Server OS (if known)2.6.35-32-server GNU/Linux Ubuntu Server x86
Webserver software & version (if known)Apache/2.2.16 (Ubuntu)
PHP VersionPHP 5.3.3-1ubuntu9.10

Relationships

has duplicate 05873 closedTMSWhite Create/Edit users screen disabled after upgrade from 1.92RC4 

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-02-26 01:12

reporter   ~17633

Fixed in revision https://github.com/LimeSurvey/LimeSurvey/commit/c62fe0d667e6ebb3b90ad325f01ff44ae23a13e6

c_schmitz

c_schmitz

2012-03-03 02:25

administrator   ~17725

1.92 released

Issue History

Date Modified Username Field Change
2012-02-25 22:38 mmirasol New Issue
2012-02-26 01:12 TMSWhite Note Added: 17633
2012-02-26 01:12 TMSWhite Status new => resolved
2012-02-26 01:12 TMSWhite Resolution open => fixed
2012-02-26 01:12 TMSWhite Assigned To => TMSWhite
2012-02-26 10:18 c_schmitz Fixed in Version => 1.92
2012-03-01 16:09 TMSWhite Target Version => 1.92
2012-03-01 16:09 TMSWhite Summary Version 1.92 RC5 Build 120225 => when creating new user: Warning: htmlspecialchars() expects parameter 1 to be string
2012-03-03 02:25 c_schmitz Note Added: 17725
2012-03-03 02:25 c_schmitz Status resolved => closed
2012-03-05 13:37 TMSWhite Relationship added has duplicate 05873