php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33155 Bug Recurrance: #30147: Uncaught exception 'SQLiteException' appears randomly
Submitted: 2005-05-26 20:46 UTC Modified: 2005-05-26 20:51 UTC
From: arthur at mclean dot ws Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.0.3 OS: Linux
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: arthur at mclean dot ws
New email:
PHP Version: OS:

 

 [2005-05-26 20:46 UTC] arthur at mclean dot ws
Description:
------------
I seem to have run into a recurrance of bug #30147. The only difference I can tell is that we are running 5.0.3, and this bug was reported for version 5.0.

The trigger for this bug was checking for variables in a way that woudld throw an E_NOTICE or an E_STRICT error:
if($_POST['update']){...

Oddly, even if submitting the form, and thus having the $_POST variable, the error would sometimes still happen.

But replaced with:
if(isset($_POST['update'])){...

And the bug went away.

We've been working on this site for about 5 months now without seeing this bug (and the first line of code has been their since the beginning). The particular file that threw the SQLiteExceptionError was using a function that made use of SQLite, but the error reported was in the main file (the if statement above), not in the included class file. Hitting reload a few times would make it go away for a little while. It's appearence seemed truly random.

The only recent change we made to the site was to increase the max uploaded file size in php.ini to 8M, and the mysql max query string size to 11 Megs (in my.cnf).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-26 20:51 UTC] tony2001@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 23:00:01 2025 UTC