Print Page | Close Window

A Bug in Version 7.6!

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8040
Printed Date: 06 April 2026 at 9:13pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: A Bug in Version 7.6!
Posted By: test49
Subject: A Bug in Version 7.6!
Date Posted: 12 December 2003 at 12:37pm

Hi,

I was just going to search for a username when I got this errormessage after pressing the search button:

Microsoft OLE DB Provider for SQL Server error '80040e14'

ORDER BY items must appear in the select list if SELECT DISTINCT is specified.

/forum/search.asp, line 356

I was using this forums search function here on webwiz.net!

I wrote "Test49" in the search field, selected "Usernames" from the dropdown menu, chosed "search in All forums" and sort by; "Topic starter date"

What's wrong? I tested it out on Invisionportal.com too, and the same happend there.

Regards
Chris




Replies:
Posted By: dj air
Date Posted: 12 December 2003 at 1:02pm

Bruce this only happens when you have search in username and sort by topic start date.. with any value

its not only in V7.6 its also V7.7alpha



Posted By: pedigree
Date Posted: 13 December 2003 at 9:10am

infact, most of the searching doesnt work correctly.

Line 227 in search.asp should read

strSQLResultsQuery = "SELECT " & strDbTable & "Topic.Start_date, " & strDbTable & "Topic.Topic_ID, " & strDbTable & "Topic.Forum_ID, " & strDbTable & "Topic.Poll_ID, " & strDbTable & "Topic.No_of_views, " & strDbTable & "Topic.Subject "

instead of

strSQLResultsQuery = "SELECT " & strDbTable & "Topic.Topic_ID, " & strDbTable & "Topic.Forum_ID, " & strDbTable & "Topic.Poll_ID, " & strDbTable & "Topic.No_of_views, " & strDbTable & "Topic.Subject "



Posted By: test49
Date Posted: 13 December 2003 at 9:35am

Borg,

I would suggest that you fix the search page completely before the release of version 7.7

Regards
Chris



Posted By: test49
Date Posted: 15 December 2003 at 5:48am

Pedigree,

Are you saying that most of the search function is a uncompleted task?

Regards
Chris



Posted By: thekiwi
Date Posted: 15 December 2003 at 1:22pm
Originally posted by test49 test49 wrote:

Pedigree,

Are you saying that most of the search function is a uncompleted task?

Regards
Chris

No ... from my tests it only affects a search where you select "username" and then sort by a field which isn't part of that "select" statement, eg. Topic Start Date



-------------
Cheers
TheKiwi
http://www.infobahn.co.nz - Internet Infobahn - website design and hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net