php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 18 = ?
Subscribe to this entry?

 
 [2003-09-15 04:35 UTC] dv at allyoucanthink dot de
Description:
------------
file: DB/sqlite.php
lineno: 671

sqlite_error_string expects int error_code as param, not resource db handle


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-30 09:24 UTC] danielc@php.net
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 http://pear.php.net/bugs/report.php?package=DB

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 13:01:27 2024 UTC