Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 1999
Posts: 132
Member
Member
Offline
Joined: Nov 1999
Posts: 132
This may be due to a misconfiguration on our part...we're just barely starting to test out the program. Also, I haven't read through the backlog of bug reports, so this might be a known issue. I'm just throwing this out there in case it helps.

With that in mind....



i deleted a thread, and before an automatic reload cleared it, I got this weird message atop the page:


SQL ERROR: Unable to do_query: UPDATE w3t_Boards SET Bo_Total = Bo_Total - 2, Bo_Threads = Bo_Threads - 1, Bo_Poster = '', Bo_LastNumber = , Bo_LastMain = WHERE Bo_Keyword = 'Cookware'
You have an error in your SQL syntax near ' Bo_LastMain = WHERE Bo_Keyword = 'Cookware' ' at line 6
Threads expired.
All threads you marked to expire have been purged from the database.

Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
This one pops up when you delete the very last thread in a forum. It tries to recalculate the last post for the forum but since it can't find it, it generates the error. Still working on a fix.


UBB.threads Developer
Joined: Mar 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Mar 2002
Posts: 15
I just stepped into this also deleting the only thread in a forum. Now the count for the forum is off having a count of one where there isn't one. Any suggestions on how to fix the count ?
Thanks.
Greg

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
You'll need to know the board keyword to fix. Basically if you need to fix the count and you know the total # of threads and posts you can use the following SQL command:

UPDATE w3t_Boards SET Bo_Threads='#ofthreads', Bo_Total='#ofposts' WHERE Bo_Keyword='boardkeyword'


UBB.threads Developer

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)