Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Top poster SQL syntax error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

King_toga
Starting Member

9 Posts

Posted - 30 May 2003 :  09:12:56  Show Profile
Hey fella's

I'm back :)

I Just moded my forum with the top poster functionality. Everything seems to be in order, bet when i click the 'top poster' link, the engine returns following error:

ADODB. Recordset. 1 error '80004005'

SQLState: 42000
Native Error Code: 1064
[TCX][MyODBC]You have an error in your SQL syntax near 'SELECT R_AUTHOR, MEMBER_ID, M_NAME, M_DATE, M_POSTS, M_TITLE, M_LEVEL, M_LASTPOS' at line 1

/forum/members_top_poster.asp, line 150


I can't figure that one out !

here's the code: http://www.henrikm.dk/forum/members_top_poster.txt

Regards The King of Toga

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 31 May 2003 :  12:52:40  Show Profile
hi~ King_toga,

i'm afraid this small mod may not compatiable with MySQL database.
the sql query use some UNION stuff.. and as i know, MySQL seem did'nt support this UNION feature.

really no idea how to fix this problem.. i did'nt have too much knowledge to database. the main point of this mod take from a sql string made by ruirib in this post.
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=28936

and i have to admit that... i still don't understand very well about UNION in sql query.

i think maybe there is another alternative solution in MySQL can be replacement for doing this UNION job. i just don't know... hope someone else knowing MySQL can help us about this.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07