mysql error: You have an error in your SQL syntax
Hi everyone.
I have a TikiWiki installation with the following version numbers:
TikiWiki - 1.8
PHP - 4.3.3
MySQL - 4.0.18-standard
Everything looked good until I tried to add some users. I turned off access without registration. The users that are members of the registered group can't log in at all. They just get redirected to the login page.
When I allow people to come in without registration the users can properly log in again. This is unfortunately not acceptible because we need to have the wiki site secured for only appropriate people.
I also tried logging into TikiWiki as admin (which works) and then switching to another user that was previously created.
When I do I get the following message:
Warning: 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 in query:
select `email` from `users_users` where binary `login` = ?
in /xxxxxxxxx/xxxxxxx/xxxxxx/lib/tikidblib.php on line 125
Values:
Array ( 0 => )
$result is false
$result is empty
Any thoughts on why? Or if I can tweak something to make it work?
Thanks.
mcp