Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - A Bug in Version 7.6!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

A Bug in Version 7.6!

 Post Reply Post Reply
Author
test49 View Drop Down
Newbie
Newbie


Joined: 08 September 2003
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote test49 Quote  Post ReplyReply Direct Link To This Post Topic: A Bug in Version 7.6!
    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



Edited by test49
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
pedigree View Drop Down
Newbie
Newbie


Joined: 26 September 2003
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote pedigree Quote  Post ReplyReply Direct Link To This Post 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 "



Edited by pedigree
Back to Top
test49 View Drop Down
Newbie
Newbie


Joined: 08 September 2003
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote test49 Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
test49 View Drop Down
Newbie
Newbie


Joined: 08 September 2003
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote test49 Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2003 at 5:48am

Pedigree,

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

Regards
Chris

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.