From:             master-bx at counterstrike dot de
Operating system: Windows XP SP2 Professional
PHP version:      5.0.4
PHP Bug Type:     SQLite related
Bug description:  CGI Error on using a wrong SQL Table-Name

Description:
------------
When sending a query to SQLite whith Table-Names that doesn't exist there
is no Error Message from Php or SQLite, but CGI seems to crash and Apache
shows a 500 error-page.

Reproduce code:
---------------
<?php
$query = "SELECT abcd.test FROM abcd ORDER BY ab.test";
$data = sqlite_query($con, $query);
$result = sqlite_fetch_array($data,SQLITE_ASSOC);
var_dump($result);
?>

Expected result:
----------------
any error reported by sqlite and/or php

Actual result:
--------------
cgi crashes and apache shows error-page 500

-- 
Edit bug report at http://bugs.php.net/?id=33499&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33499&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33499&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33499&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33499&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33499&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33499&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33499&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33499&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33499&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33499&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33499&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33499&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33499&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33499&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33499&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33499&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33499&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33499&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33499&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33499&r=mysqlcfg

Reply via email to