Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite3 issues #52

Open
SubrataM3 opened this issue Jul 3, 2019 · 0 comments
Open

Sqlite3 issues #52

SubrataM3 opened this issue Jul 3, 2019 · 0 comments
Labels

Comments

@SubrataM3
Copy link

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.

@Samnan Samnan added the fix label Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants