Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Mike L, Bjab, Gizmo, Dunny, SteveS), 20 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 255
Top Posters (30 Days)
Ruben 62
SD 54
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Iann128 14
Stan 14
Mark S 13
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
Topic Options
#197637 - 09/18/07 03:31 PM [Fixed 7.3]7.2.2. Watch List Bug
MarkD Offline
stranger
Registered: 03/24/05
Posts: 4
after i add a forum or user to a watch list i get this error when i try to select "my watch lists" link.

We encountered a problem. The reason reported was
Script: E:\www\markdriver\forums\scripts\tab_forums.inc.php
Line#: 113
SQL Error: 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 8
SQL Error #: 1064
Query: select t.TOPIC_ID,t.POST_ID,t.USER_ID,t.TOPIC_SUBJECT,t.TOPIC_ICON,t.TOPIC_CREATED_TIME,u.USER_DISPLAY_NAME,t.TOPIC_LAST_REPLY_TIME,t.FORUM_ID from ubbt_TOPICS as t, ubbt_USERS as u where TOPIC_IS_APPROVED = '1' and t.USER_ID = u.USER_ID and t.FORUM_ID IN ( '1' ) order by t.TOPIC_LAST_REPLY_TIME desc limit


Edited by Sirdude (11/09/07 01:02 AM)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#197646 - 09/18/07 04:45 PM Re: 7.2.2. Watch List Bug [Re: MarkD]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
It looks like the limit clause is missing. That comes from your Topics per page setting in your profile. Try going into your preferences and make sure you have a valid number in the topics per page setting.
Top
#200925 - 11/09/07 01:01 AM Re: 7.2.2. Watch List Bug [Re: Rick]
SD Online   partay
Registered: 04/19/07
Posts: 4031
Loc: SoCal, USA
Now fixed to not allow a null in 7.3 \:\)
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#206223 - 02/10/08 03:29 AM Re: 7.2.2. Watch List Bug [Re: SD]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

What about Watched Topics even in 7.3b3 still not emailing notices? :/
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#206225 - 02/10/08 08:54 AM Re: 7.2.2. Watch List Bug [Re: jgeoff]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
Allen has been experiancing weird issues with it for a while now at the other site...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#215531 - 07/16/08 06:07 PM Re: 7.2.2. Watch List Bug [Re: Gizmo]
ThomasM Offline
stranger
Registered: 12/24/03
Posts: 16
Loc: Jersey Shore, NJ
I'm having this same problem in 7.3.1.

Whats the fix?

i tried changing the ubbt_forums.forum_default_topic_age to NULL, 1, 365, still no joy.

Mysql ver 4.1.10

Thanks
_________________________
~~Its only a bad shooting when the wrong people get shot~~
Top
#216198 - 08/03/08 03:02 AM Re: 7.2.2. Watch List Bug [Re: ThomasM]
ThomasM Offline
stranger
Registered: 12/24/03
Posts: 16
Loc: Jersey Shore, NJ
Looks like i fixed mine. The limit statement is not complete.

Rather than figuring out why, i just removed it.

\scripts\tab_forums.inc.php

Line 112 removed $limit_clause
_________________________
~~Its only a bad shooting when the wrong people get shot~~
Top
#216199 - 08/03/08 03:11 AM Re: 7.2.2. Watch List Bug [Re: ThomasM]
SD Online   partay
Registered: 04/19/07
Posts: 4031
Loc: SoCal, USA
it's caused because the user doesn't have a topics per page value set and tab_forums.inc.php assumes so..

ideally, it should check to see if it's defined.. if not, then grab the global config value.. if even that (for some reason) ain't happening, then there should be a catchall of 25 or whatever.

this occurs elsewhere too frown

you can 'fix it' without modifying code, by simply going into your preferences, selecting a value and saving..
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Edit Post
by Bert
01:19 PM
A positive note
by SteveS
09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10213 Members
36 Forums
33667 Topics
180917 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image