#26398 [Opn->Bgs]: DB::sqlite request for adding error control operator for function calls

From: Date: Tue, 25 Nov 2003 13:43:08 +0000
Subject: #26398 [Opn->Bgs]: DB::sqlite request for adding error control operator for function calls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50989@lists.php.net to get a copy of this message
ID: 26398 Updated by: iliaa@php.net Reported By: dimitri at vinogradov dot de -Status: Open +Status: Bogus Bug Type: SQLite related Operating System: irrelevant PHP Version: Irrelevant New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is a PEAR bug, it should be reported on: http://pear.php.net/bugs/ Previous Comments: ------------------------------------------------------------------------ [2003-11-25 06:13:05] dimitri at vinogradov dot de Just changed Category to SQLite related... (hm... no PEAR related category more ??) ------------------------------------------------------------------------ [2003-11-25 06:07:26] dimitri at vinogradov dot de Description: ------------ File: DB/sqlite.php Method: sqlite::connect Linno: 157, 160 the failed calls of touch and chmod print warnings to browser instead of raisung an PEAR error. Suggest: change (lineno 157) touch($file); to if (!@touch($file)) { return $this->raiseError($php_errormsg); } and (lineno 160) chmod($file, $mode); to if (!@chmod($file, $mode)) { return $this->raiseError($php_errormsg); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26398&edit=1

« previous php.bugs (#50989) next »