Previous Thread
Next Thread
Print Thread
Rate Thread
#258756 09/12/2003 8:26 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
I have a question about an error I have been getting in the "Error Log".

[] /ubbthreads/showflat.php

Unable to do_query: SELECT B_Main,B_Board FROM w3t_Posts WHERE B_Number = - 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 3 [/]

What is wrong? Everything seems to be running smoothly, but this error is showing up on a daily basis in the error log.

Thanks,

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
The reason for the error is that B_Number (the post number) is not given a value.

UBB.threads version?

Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]Dave_L said:
UBB.threads version? [/]
I am running version 6.3 at this time.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
You might upgrade to 6.3.2. A lot of bugs were fixed in between 6.3 and 6.3.2.

Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]Dave_L said:
You might upgrade to 6.3.2. A lot of bugs were fixed in between 6.3 and 6.3.2. [/]
I'm scared to upgrade as I have TONS of hacks installed, thanks to threadsdev, and all seems to be ok overall

Sponsored Links
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
If you use a tool like Beyond Compare to compare the clean 6.3 to the clean 6.3.2 files it should be relatively painless to make the changes manually. I've got a spreedsheet that I use to track all my changes. It has which files were changed for which hack. Something like that might be useful for applying maintanece upgrades.


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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 408
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 10
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)