Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Good Morning...

Over the weekend we moved our threads board to a new Linux box to deal with the out of disk space discussed here last week.
All went very well...we moved the currently used version 6.1.1 to a new install of 6.1.1 (heeding the advice to not upgrade at the same time as a transfer) and we will run that for a week and then upgrade to latest/greatest.
We have one known issue at this time and it's really not a big deal but I thought I'd post it just to see what's up.
If we open the "edit user profile" screen of a newly registered user who has been approved, but not yet added to a group, all is functional but we get a mysql error as shown at the end of this post.
Searching the knowledge base here, Josh has posted various fixes around the same theme, namely to run the query below
---
REPAIR TABLE
w3t_whatevertable
---
So, am I dealing with some table corruption here or just a "less than graceful" handling of a db query?

Thanks
Steve


Here's the Error

SQL ERROR: Unable to do_query: SELECT Bo_Title,Bo_Keyword,Bo_Cat FROM w3t_Boards WHERE () ORDER BY Bo_Title
You have an error in your SQL syntax near ') ORDER BY Bo_Title ' at line 4Subscription status for the forums this user has access to.
(S - Subscribe ; U - Unsubscribe)

Board S U Board S U

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/force/ubbthreads/mysql.inc.php on line 121

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It looks like maybe the U_Groups field isn't there for this particular user. Can you run the following query for that user and report what you get back?

SELECT U_Groups FROM w3t_Users WHERE U_Username='username'

-------------------
Rick Baker
UBBThreads developer


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Another error
by Baldeagle - 10/07/2024 9:08 PM
Is this a cookie issue?
by Baldeagle - 10/05/2024 2:01 PM
Search button not there
by ehill - 10/02/2024 2:56 PM
Change the Order of the buttons in a post
by Unixspot - 09/19/2024 10:04 PM
Purging logs does not work
by Baldeagle - 09/12/2024 5:16 PM
Who's Online Now
1 members (Gizmo), 648 guests, and 53 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)