From:             arthur at mclean dot ws
Operating system: Linux
PHP version:      5.0.3
PHP Bug Type:     Unknown/Other Function
Bug description:  Bug Recurrance: #30147: Uncaught exception 'SQLiteException' 
appears randomly

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).


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

Reply via email to