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

Home » FUDforum Development » Bug Reports » admin rights - error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
admin rights - error [message #16649] Tue, 10 February 2004 18:06 Go to next message
Sebastian_T is currently offline  Sebastian_T   Poland
Messages: 33
Registered: January 2004
Location: Warsaw, Poland
Karma: 0
Member
heh, another one, similar to previous...

when tried to change an user privileges to administrators', have such error:

Warning: pg_query(): Query failed: ERROR: Unable to identify an operator '&~' for types 'integer' and 'integer' You will have to retype this query using an explicit cast . in /usr/local/apache/htdocs/forum.blizniaki.net/forum/include/theme/default/db .inc on line 139 (/usr/local/apache/htdocs/forum.blizniaki.net/forum/include/theme/default/d b.inc:139
/usr/local/apache/htdocs/forum.blizniaki.net/adm/admuser.php:159
) : ERROR: Unable to identify an operator '&~' for types 'integer' and 'integer' You will have to retype this query using an explicit cast
Query: UPDATE fud23_users SET users_opt=(users_opt &~ 524288) | 1048576 WHERE id=280 Server Version:
[Referring Page] http://forum.blizniaki.net/adm/admuser.php?act=admin&usr_id=280&SQ= 6f5d93741e367c526865309579835fdf



TIA Smile


Sebastian
Re: admin rights - error [message #16650 is a reply to message #16649] Tue, 10 February 2004 18:09 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is something that I had already fixed, you can fix the problem by adding a space between & and ~.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Error in maillist.php,v 1.38
Next Topic: v2.6.0 FONT tag replaced with FACE
Goto Forum:
  

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

Current Time: Fri Nov 29 19:06:36 GMT 2024

Total time taken to generate the page: 0.02110 seconds