Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (JAISP), 164 guests, and 284 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Basil
Basil
New Mexico
Posts: 732
Joined: August 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 23
Ruben 15
isaac 10
Morgan 7
Alento 4
SteveS 3
JPG 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
[FIXED for 7.5.1] [7.5] delete a user problem #223174
02/26/09 03:36 AM
02/26/09 03:36 AM
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 04:01 AM
02/26/09 04:01 AM
R
Rick  Offline
Former Developer
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 05:19 AM
02/26/09 05:19 AM
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
Evan Scamman
Recent Topics
Repliers can change thread title
by Baldeagle. 11/12/18 08:49 PM
Tabs In Header
by AstroCat. 11/11/18 08:33 AM
Mindraven
by SteveS. 11/09/18 07:12 PM
Censor List
by Larry Miller. 11/08/18 02:53 PM
The table 'ubbt_topic_views' is full
by Metamatic. 11/01/18 07:12 PM
Forum Statistics
Forums36
Topics35,165
Posts191,597
Members12,113
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2