frontendusers module SQL syntax error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
biffze

frontendusers module SQL syntax error

Post by biffze »

I've just installed the frontendusers module and I've got the following error message when I click on the "Users", "Admin" and "Preferences" tab:

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 '-1' at line 1
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: frontendusers module SQL syntax error

Post by calguy1000 »

This is fixed in svn.

and here's the fix for everybody till I can find time to cut releases of everything:

on or about line 4136
Change:

Code: Select all

$curlimit = $this->GetPreference('current_limit', -1);
to

Code: Select all

$curlimit = $this->GetPreference('current_limit', 100);
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
sebi03

Re: frontendusers module SQL syntax error

Post by sebi03 »

thank you much for your fast response!
greggyp

Re: frontendusers module SQL syntax error

Post by greggyp »

I, too, would like to thank the author for his response, which, while fast, needn't have been to have helped me! And only on the 2nd page of the forum (which is convienient for everyone, since I'd have no doubt given up by then tenth page, and done what everyone else does and re-post the problem for no-doubt the 5-trillionth time).

So, in a convoluted way, thanks!
Locked

Return to “Modules/Add-Ons”