Welcome, Guest
Username: Password: Remember me

TOPIC: cannot set user permissions in 1.92 rc5

cannot set user permissions in 1.92 rc5 2 years 7 months ago #75139

  • mmirasol
  • mmirasol's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Karma: 0
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=

LimeSurvey build number: 120225
Database & DB-Version: mysql Ver 14.14 Distrib 5.1.49
Operating System (Server): 2.6.35-32-server GNU/Linux Ubuntu Server x86
Webserver software & version: Apache/2.2.16 (Ubuntu)
PHP Version: PHP 5.3.3-1ubuntu9.10
The administrator has disabled public write access.

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75144

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
Thanks for the note and bug report. It has been fixed so will won't be an issue in the stable release.
The administrator has disabled public write access.

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75178

  • mmirasol
  • mmirasol's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Karma: 0
Hi Tom,

Just downloaded rc5 again but I'm still seeing the same error after saving permissions and clicking continue. Please let me know if the rc5 release is updated. Thanks.

Btw, I also observed that the admin user does not appear on the user list in the rc5 release. Is this by design?
Last Edit: 2 years 7 months ago by mmirasol.
The administrator has disabled public write access.

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75179

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
This bug is in the 1.92 RC5 release. If you have access to the source code, you can patch it by deleting one line - see patch github.com/LimeSurvey/LimeSurvey/commit/...d325f01ff44ae23a13e6
The administrator has disabled public write access.
The following user(s) said Thank You: mmirasol

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75181

  • mmirasol
  • mmirasol's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Karma: 0
I see, thanks. =)
The administrator has disabled public write access.

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75220

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
mmirasol wrote:
I see, thanks. =)
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75324

  • mmirasol
  • mmirasol's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Karma: 0
I would really love to, Mazi. I will talk to my boss about it. My name is Mark Mirasol from Shorecloud Corp. We are a starting company offering offshore services and support and we are very much interested in helping you develop lime as a product that can be used by programmers and non-programmers alike.

We have some ideas we would like to share with you and found some bugs in release Version 1.91+ Build 120226 and 1.92 RC5 Build 120225. Please let me know how best we can work together on this.
The administrator has disabled public write access.

Re: cannot set user permissions in 1.92 rc5 2 years 7 months ago #75484

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Thanks for considering a cooperation.

The best way to report bugs is to simply add a new ticket for each issue at our bugtracker.

As for new features, have a look at docs.limesurvey.org/How+to+contribute+new+features

You can discuss details at our chat (docs.limesurvey.org/How+to+contribute+new+features), there are also weekly developer meetings which we could use to discuss your suggestions, or you can post them at our developer mailing list: sourceforge.net/mail/?group_id=74605

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.125 seconds
Donation Image