Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (SteveS, driv, A-GATE, Iann128, GregK), 42 Guests and 17 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
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 Offline
Registered: 04/19/07
Posts: 4056
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 Offline

Registered: 06/05/06
Posts: 14995
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 Offline
Registered: 04/19/07
Posts: 4056
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
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

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