Menu

error on posting to the databse

llew
2001-10-04
2001-10-05
  • llew

    llew - 2001-10-04

    if I make a change to the details or add a new user I get the following error :

    Error: select username from register where (regid=)
    DB Error: syntax error

    I think this is some sort if erro related to the index being out of sync.

    Any idea's ?

     
    • Adam Thomas

      Adam Thomas - 2001-10-05

      That would be a bug. Just posted a new release in which its fixed. If you'd rather just change the version you have working edit lines 125-126 of the file editApp.php to look like this:

      function app_postcommit_hook($fields, $names, $types, $values, $tabelname, $tablekey, $regid, &$sql) {

      Note the change from $record_id to $regid.

      There are some other bugs too so you may want to install the new version soon.

      -adam

       

Log in to post a comment.

MongoDB Logo MongoDB