Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (isaac, Gizmo), 55 guests, and 374 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
jgeoff
jgeoff
NJ
Posts: 1,944
Joined: August 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 16
Morgan 13
isaac 13
Ruben 9
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
[FIXED for 7.5.1] [7.5] delete a user problem #223174
02/26/09 04:36 AM
02/26/09 04:36 AM
Joined: Jun 2006
Posts: 1,148
Berlin, Germany
Zarzal Offline OP
old hand
Zarzal  Offline OP
old hand
Joined: Jun 2006
Posts: 1,148
Berlin, Germany
I try to delete a user in the control panel and get:

Tried to replace 2 placeholders with 1 replaces. That's bad. Here's the query: delete from ubbt_PROFILE_COMMENTS where PROFILE_ID = ? or USER_ID = ?

The user seems to be gone.

How can I fix this?


my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
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."
Re: [7.5] delete a user problem [Re: Zarzal] #223176
02/26/09 05:01 AM
02/26/09 05:01 AM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Line 219 of admin/dodeleteuser.php, you'll see this:

PHP Code

	delete from {$config['TABLE_PREFIX']}PROFILE_COMMENTS
	where PROFILE_ID = ?
	or USER_ID = ?
 


Change that, to this:

PHP Code

	delete from {$config['TABLE_PREFIX']}PROFILE_COMMENTS
	where USER_ID = ?
 

Re: [7.5] delete a user problem [Re: Rick] #223179
02/26/09 06:19 AM
02/26/09 06:19 AM
Joined: Jun 2006
Posts: 1,148
Berlin, Germany
Zarzal Offline OP
old hand
Zarzal  Offline OP
old hand
Joined: Jun 2006
Posts: 1,148
Berlin, Germany
that seems to fix my problem, thanks


my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Fixing Margins on Introduction? HELP!
by Lisanne. 05/26/18 05:37 PM
https http
by sundance. 05/22/18 05:46 PM
Want to Delete All Old Private Messages
by BellaOnline. 05/19/18 02:00 AM
How to remove Shout Chat
by Outdoorking. 05/17/18 08:37 AM
I am trying to put a banner ad on email template.
by sundance. 05/14/18 01:59 PM
Forum Statistics
Forums36
Topics35,116
Posts191,280
Members12,075
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)