Welcome to Geeklog, Anonymous Thursday, January 02 2025 @ 10:54 pm EST
Geeklog Forums
Link Editor Problem, post ugrade
andyofne
Following the upgrade I get this note when I try to add a new link (I notice the link editor works fine on this site).
I've looked at the links in the database table, not sure what the heck i'm looking for but I have to tell you this is sort of frustrating. Here is the error:
1064: 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
I did several searches here looking for the 1064 error but didn't find anything with regard to the Link Editor section.
What should I be looking for? What would have been changed between the 1.35 release and the newest one?
Thanks,
andyofne
rawdata
I have no idea what the difference is between 1.35 and 1.3.7sr1, but if you're on a Windows system Blaine has a really neat utility to do file comparisons. You can download it here . If Geeklog's error log or this file comparison utility doesn't give you a clue as to what the problem is, then I recommend you insert some debugging right into the code to find out what data is being fed to the SQL statement causing it to spit out this error. You can do this by either using echo statements to send it to the screen or the function COM_errorLog to send it to the error log.
andyofne
I wasn't even aware of the error log... anyway, here is the complete error.
Sat Apr 19 20:06:05 2003 - 1064: 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 SQL in question: SELECT username FROM gl_users WHERE uid =
That WHERE uid = (nothing) is what it shows in the error log.
As I said, this is something that popped up post ugrade.
Anonymous
rawdata
andyofne
AndyM
AndyM
Anonymous
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content