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

Home » FUDforum Development » Bug Reports » SQL Error Deleting User
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
SQL Error Deleting User [message #4400] Thu, 25 July 2002 19:43 Go to next message
jhillyerd is currently offline  jhillyerd   United States
Messages: 2
Registered: July 2002
Location: Bothell, WA
Karma: 0
Junior Member
I get the following error when I try to delete a user:

Quote:


query failed: %( UPDATE fud21_forum SET moderators=TRIM(BOTH ' ' FROM REPLACE(moderators, '3 test', '')) )% because %( LAST_ERROR: ERROR: Function 'replace(text, unknown, unknown)' does not exist Unable to identify a function that satisfies the given argument types You may need to add explicit typecasts )%Query Failed: UPDATE fud21_forum SET moderators=TRIM(BOTH ' ' FROM REPLACE(moderators, '3 test', ''))
Reason: LAST_ERROR: ERROR: Function 'replace(text, unknown, unknown)' does not exist Unable to identify a function that satisfies the given argument types You may need to add explicit typecasts



I am using FUDforum 2.2.3 on PHP 4.2.2 with PostgreSQL 7.2

Thanks for any help you can give me.

-james
Re: SQL Error Deleting User [message #4406 is a reply to message #4400] Fri, 26 July 2002 00:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Its a bug, apparently PGSQL does not have a replace function, I'll find an alternative and send you a patch.

FUDforum Core Developer
Re: SQL Error Deleting User [message #4411 is a reply to message #4400] Fri, 26 July 2002 03:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Replace the file you have with the one attached, rebuild the templates and try again, it should work now.

FUDforum Core Developer
Re: SQL Error Deleting User [message #4415 is a reply to message #4411] Fri, 26 July 2002 06:46 Go to previous message
jhillyerd is currently offline  jhillyerd   United States
Messages: 2
Registered: July 2002
Location: Bothell, WA
Karma: 0
Junior Member
Cool that worked! Very Happy

I've only been playing with FUD for a couple of days, but I must say it's amazing!

-james
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FUDForum Header
Next Topic: Error with right to change messages
Goto Forum:
  

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

Current Time: Sat Nov 23 13:15:17 GMT 2024

Total time taken to generate the page: 0.02722 seconds