|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33499 CGI Error on using a wrong SQL Table-Name
Submitted: 2005-06-28 17:07 UTC Modified: 2005-06-28 17:46 UTC
From: master-bx at counterstrike dot de Assigned:
Status: Closed Package: SQLite related
PHP Version: 5.0.4 OS: Windows XP SP2 Professional
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: master-bx at counterstrike dot de
New email:
PHP Version: OS:


 [2005-06-28 17:07 UTC] master-bx at counterstrike dot de
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:
$query = "SELECT abcd.test FROM abcd ORDER BY ab.test";
$data = sqlite_query($con, $query);
$result = sqlite_fetch_array($data,SQLITE_ASSOC);

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

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-28 17:08 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-06-28 17:43 UTC] master-bx at counterstrike dot de
Thanks alot, the bug is fixed inside the latest snapshot.

Both Php-versions are using SQLite 2.8.14, so i think it's been a Php related bug.
 [2005-06-28 17:46 UTC]
Works fine -> closed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC