[ php-blog-Bugs-1732000 ] postgres error when saving personal settings

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Bugs item #1732000, was opened at 2007-06-06 05:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1732000&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Administrative functions
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: postgres error when saving personal settings

Initial Comment:
When I am saving personal settings via admin panel I get this error:

Warning: pg_query(): Query failed: ERROR: pg_atoi: zero-length string in /include/db/postgres.inc.php on line 210
Error in UPDATE s_authors SET userlevel = '' WHERE authorid = 1
ERROR: pg_atoi: zero-length string
array (
  0 => 
  array (
    'file' => '/include/functions_config.inc.php',
    'line' => 238,
    'function' => 'serendipity_db_query',
    'args' => 
    array (
      0 => 'UPDATE s_authors SET userlevel = \'\' WHERE authorid = 1',
    ),
  ),
  1 => 
  array (
    'file' => '/include/admin/personal.inc.php',
    'line' => 65,
    'function' => 'serendipity_set_user_var',
    'args' => 
    array (
      0 => 'userlevel',
      1 => NULL,
      2 => '1',
      3 => true,
    ),
  ),
  2 => 
  array (
    'file' => '/serendipity_admin.php',
    'line' => 160,
    'args' => 
    array (
      0 => '/include/admin/personal.inc.php',
    ),
    'function' => 'include',
  ),
) 
UPDATE s_authors SET userlevel = '' WHERE authorid = 1

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1732000&group_id=75065

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.