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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 Active Topic error?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 20 November 2017 :  13:17:17  Show Profile  Visit HuwR's Homepage  Reply with Quote
Controller: Topic
Action: Active
Exception: Incorrect syntax near the keyword 'WHERE'.

MVC .net dev/test site | MVC .net running on Raspberry Pi

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 20 November 2017 :  21:46:09  Show Profile  Visit HuwR's Homepage  Reply with Quote
odd, not erring now, strange

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 22 November 2017 :  09:25:33  Show Profile  Visit HuwR's Homepage  Reply with Quote
ran some tracing as I just got the error again, will dig out the code and find out why it has gone weird


exec sp_executesql N'SELECT  COUNT(*) FROM FORUM_TOPICS t LEFT JOIN FORUM_FORUM Forum ON t.FORUM_ID = Forum.FORUM_ID LEFT JOIN FORUM_MEMBERS a ON a.MEMBER_ID = t.T_AUTHOR LEFT JOIN FORUM_MEMBERS lpa ON lpa.MEMBER_ID = t.T_LAST_POST_AUTHOR WHERE (T_STATUS < 99 OR T_AUTHOR=@0 OR T_UREPLIES>0)AND ( t.T_LAST_POST>''20171122091836'')ORDER BY T_LAST_POST DESCWHERE (t.CAT_ID IN(2,6,5,4,10,1,14,17,7,9))',N'@0 int',@0=1311
go

looks like petapoco has done something odd with the count query for paging

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 22 November 2017 :  09:27:19  Show Profile  Visit HuwR's Homepage  Reply with Quote
note for self, It Appears to be related to groups

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 22 November 2017 :  18:54:01  Show Profile  Visit HuwR's Homepage  Reply with Quote
fixed here

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07