|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25539 DB::Sqlite::->sqliteRaiseError(), wron param in call of sqlite_error_string
Submitted: 2003-09-15 04:35 UTC Modified: 2005-03-30 09:24 UTC
From: dv at allyoucanthink dot de Assigned: danielc (profile)
Status: Not a bug Package: PEAR related
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2003-09-15 04:35 UTC] dv at allyoucanthink dot de
file: DB/sqlite.php
lineno: 671

sqlite_error_string expects int error_code as param, not resource db handle


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-30 09:24 UTC]
If you are talking about the sqlite.php file from PEAR's DB package, you have two problems.

First, the file you have is out of date.  The latest version of PEAR DB is 1.7.5.  Please upgrade.

Second, you filed the bug via PHP's bug system rather than PEAR's.  So, if after upgrading, you still experience this problem, make a new bug report at

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Feb 26 13:01:27 2020 UTC