RSS

LuxCal Forum

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

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Add user problem - Please help
Posted:  20 Nov 2014 03:47   Last Edited By: Roel B.
This is a new V3.2.3 install (tried re-installing also) Every-time i click the button to add a new user i get a blank page with his error: SQL error. See 'logs/mysql.log'

it says this:

2014-11-24T03:03:19+01:00
Script name: /calandar/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 ideas??sad
Posted:  25 Nov 2014 19:13   Last Edited By: Roel B.
This error is caused by the fact that the PHP installation on your server has 'register_globals' turned on.
This is not recommended as you can read here PHP register_globals.

Try adding a .htaccess file to the calendar root directory with the following content:

# Switch off register_globals (see: http://php.net/manual/en/security.globals.php)
php_flag register_globals off

IndexIgnore *


If this doesn't help let us know and I will try to help you further.
Roel