Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 18 2013 @ 05:55 PM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Help sql error
   
cansas
 01/25/02 08:17AM (Read 1287 times)  
+----
Newbie

Status: offline


Registered: 01/25/02
Posts: 4
I noticed this help request from November, but coul not find a resolution. When editing or creating new stories from a remote machine I get the following error "1064 You have an error in your SQL syntax near '' at line 1" In the error log the following appears "SQL in question: SELECT username FROM users WHERE uid = " I can edit on the host machine, but this is not a good solution. Any ideas? Using geeklog-1.3.1. P.S. I have a another machine with the same install that works perfectly.

 
Profile Email Website
 Quote
Tony
 01/25/02 10:40AM  
AAAAA
Admin

Status: offline


Registered: 12/17/01
Posts: 405
For the account in question do this. Get the uid for that user:

SELECT uid FROM users WHERE username = 'yourusername';

The do:

SELECT count(*) FROM userprefs WHERE uid = 'idfromabove'

If you get 0 let me know and insert a record into the userprefs table for that user and it should start working for you.

-----
The reason people blame things on previous generations is that there's only one other choice.

The reason people blame things on previous generations is that there's only one other choice.
 
Profile Email Website
 Quote
cansas
 01/25/02 11:30AM  
+----
Newbie

Status: offline


Registered: 01/25/02
Posts: 4
"Got 1" - userprefs exists - this occurs with a clean install admin user also.

 
Profile Email Website
 Quote
cansas
 01/25/02 01:17PM  
+----
Newbie

Status: offline


Registered: 01/25/02
Posts: 4
I had either a permissions or host error going.

Thanks.

 
Profile Email Website
 Quote
cansas
 01/28/02 02:58PM  
+----
Newbie

Status: offline


Registered: 01/25/02
Posts: 4
having same problem again. Very puzzling.

 
Profile Email Website
 Quote
dlcheetham
 04/12/02 09:42PM  
+----
Newbie

Status: offline


Registered: 04/04/02
Posts: 7
Did you ever get to the bottom of this problem ?

I get it when I try to edit topics....

 
Profile Email Website
 Quote
Content generated in: 0.98 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content