note 62927 added to function.sqlite-open

From: Date: Sun, 12 Mar 2006 15:37:57 +0000
Subject: note 62927 added to function.sqlite-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-105373@lists.php.net to get a copy of this message
I had the problem that sqlite_open('database') alway returned an “unvalid sqlite database resource” without returning false or reporting any error. I fixed the problem by passing the second “mode” parameter, which seems to be required at some platforms. ---- Server IP: 212.124.37.9 Probable Submitter: 62.214.233.95 ---- X-Spam-Status: Yes, hits=7.4 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HEAD_ILLEGAL_CHARS autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.sqlite-open.php Edit -- http://master.php.net/note/edit/62927 Del: integrated -- http://master.php.net/note/delete/62927/integrated Del: useless -- http://master.php.net/note/delete/62927/useless Del: bad code -- http://master.php.net/note/delete/62927/bad+code Del: spam -- http://master.php.net/note/delete/62927/spam Del: non-english -- http://master.php.net/note/delete/62927/non-english Del: in docs -- http://master.php.net/note/delete/62927/in+docs Del: other reasons-- http://master.php.net/note/delete/62927 Reject -- http://master.php.net/note/reject/62927 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#105373) next »