Menu

#6 Updating a row fails

open
nobody
None
5
2010-11-17
2010-11-17
sassospicco
No

I am not able to edit a row, for two reasons:
1) phpSQLiteAdmin confuses $_GET and $_POST in row_edit.php, causing a "Table needs a primary key identifier." to be displayed.
2) SPSQLite class incorrectly truncates column names: "column" becomes "olumn".
I am attaching a patch. Have a look.

Discussion

  • sassospicco

    sassospicco - 2010-11-17

    No, wait. The first point should have been:
    1) phpSQLiteAdmin resets the current DB, redirecting the user to phpsla.sqlite.

     
  • sassospicco

    sassospicco - 2010-11-17

    Fix both problems

     

Log in to post a comment.