Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (isaac, Geoff, Gizmo), 58 guests, and 413 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,861
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 48
Gizmo 36
Ruben 16
Geoff 8
Morgan 8
Latest Photos
Test
BSA photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
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
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 04:01 AM
02/26/09 04: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 05:19 AM
02/26/09 05: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
Anyway to Reset a Members password in ControlPanel
by peter gariepy. 02/16/18 12:11 AM
My forums will not send emails
by peter gariepy. 02/16/18 12:08 AM
error when trying to email everyone
by . 02/11/18 06:02 AM
imageMagick test
by Morgan. 02/10/18 09:03 AM
New Install Problem
by Broadwing. 02/09/18 10:05 PM
Forum Statistics
Forums36
Topics35,073
Posts190,952
Members12,056
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1.1