FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » fud_delete_user() produces SQL error?
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
fud_delete_user() produces SQL error? [message #35478] Mon, 15 January 2007 15:29 Go to previous message
maarten is currently offline  maarten   United States
Messages: 7
Registered: January 2007
Karma:
Junior Member
add to buddy list
ignore all messages by this user
Does fud_delete_user() in fudapi.inc.php work for other people?

When I call it, I get the following SQL error:
FUDforum2misc/include/theme/default/db.inc:72
FUDforum2misc/include/users_adm.inc:25
FUDforum2misc/scripts/fudapi.inc.php:949
FUDforum2misc/FUDtester.php:73
) 1054: Unknown column 'Object' in 'where clause'
Query: DELETE FROM fud26_mod WHERE user_id IN(Object)

I've tried passing both array(5) and just 5 into fud_delete_user(), makes no difference, problem seems internal.

Looks like fud_delete_user() uses _fud_simple_fetch_query(), which uses db_rowobj() which is returning an object instead of an array as expected by the rest of the code?

Zanks,

/Maarten.

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: FUDforum and valid HTML
Next Topic: getting the GLOBALS needed for fudapi
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Dec 06 03:17:10 EST 2024

Total time taken to generate the page: 0.08187 seconds