Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 120
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 120
I got the following message when I tried to approve a display name change request.

====

INSERT INTO ubbt_PRIVATE_MESSAGE_TOPICS {TOPIC_TIME,TOPIC_REPLIES,TOPIC_SUBJECT,USER_ID,TOPIC_LAST_REPLY_TIME) values ( 1169332718 , 0 , 'Display name change approved.' , 2 , 1169332718 )

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 '{TOPIC_TIME,TOPIC_REPLIES,TOPIC_SUBJECT,USER_ID,TOPIC_LAST_REPLY_TIME) value' at line 2

====

Username toy
Current Display Name toy
Requested Display Name toy

Last edited by Rick; 01/22/2007 9:20 PM.
Joined: Dec 2003
Posts: 120
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 120
A update - it DID get changed after the approval, but I'm still seeing him in the request list.

Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
Originally Posted by Rick
Quick fix. Line 1882 of libs/ubbthreads.inc.php. It has:

{TOPIC_TIME,TOPIC_REPLIES.....

That should be:

(TOPIC_TIME,TOPIC_REPLIES.....

It's just a matter of changing the curly brace to a parenthesis.

Joined: Dec 2003
Posts: 120
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 120
Cheers mate!

Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
no worried smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)