Skip to content

Sqlite3 issues #52

Description

@SubrataM3

Hi,

Updating database records does not work on sqlite3. I have found sqlite3.php is calling sqlite_changes() which is an old (sqlite2) function. Please see error below.

"PHP message: PHP Fatal error:  Uncaught Error: Call to undefined method SQLite3Result::changes() in /srv/html/mywebsql/lib/db/sqlite3.php:145
Stack trace:
#0 /srv/html/mywebsql/lib/sqlparser.php(389): DB_Sqlite3->getAffectedRows()
#1 /srv/html/mywebsql/modules/queryall.php(29): SqlParser->parseFile(Resource id #1)
#2 /srv/html/mywebsql/lib/util.php(101): processRequest(Object(DB_Sqlite3))
#3 /srv/html/mywebsql/index.php(76): execute_request(Object(DB_Sqlite3))
#4 {main}
  thrown in /srv/html/mywebsql/lib/db/sqlite3.php on line 145"

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions