RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Unable to Add/Edit Users ver 3.2.3
Posted:  07 Apr 2015 17:44
Upgraded from 2.7 to 3.2.3 and everything speared to be ok until I tried to add a new user

Every time I try to add/edit a user I get the same error -

I have copied the info from the MySQL log here

2015-04-07T16:22:15+01:00
Script name: /vcalendar/index.php
MySQL error: 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
Query string: SELECT user_name, email, privs FROM [db]users WHERE user_id =


Any help would be greatly appreciated

Cheers

Jay
Posted:  07 Apr 2015 18:36   Last Edited By: Roel B.
To whoever it concerns:

Jay found out that the problem described above was caused by the fact that the Register Globals feature was set to ON on the webserver.

The Register Globals feature created a security threat and therefore this feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

If you are running a PHP version less than 5.3.0, it is very important that Register Globals are switched OFF!

Roel