LuxCal Forum

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

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Error SQL error. See logs/mysql.log when try to add a user
Posted:  11 Apr 2014 08:35
I get the SQL error. See 'logs/mysql.log' message when I try to add a user. Can someone help?
Posted:  11 Apr 2014 13:43   Last Edited By: pulsar
In the log file I have this entry:

Script name: /calendar/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 =

My PHP und MySql are:

PHP 5.2
Mysql 5.5

Posted:  12 Apr 2014 12:10   Last Edited By: Roel B.
Problem solved thump_up. See solution from Roel Here