Re: [sqlite] Disk I/O errors

2019-02-24 Thread Rowan Worth
On Sun, 24 Feb 2019 at 01:55, Tim Streater wrote: > (sorry for the duplicate - vibrating finger). > > I have a hosted web site using the SQLite functions from PHP. The page > where PHP is used was failing, and on investigation this is because an > SQLite function called from within PHP is now

Re: [sqlite] Disk I/O errors

2019-02-24 Thread Jesse Rittner
No idea how you would call it from PHP, but the sqlite3_system_errno function may also be of use for determining the underlying cause of the SQLITE_IOERR error code. https://www.sqlite.org/c3ref/system_errno.html -- Sent from: http://sqlite.1065341.n5.nabble.com/

Re: [sqlite] Disk I/O errors

2019-02-23 Thread Tim Streater
On 23 Feb 2019, at 19:30, Simon Slavin wrote: > On 23 Feb 2019, at 6:41pm, Tim Streater wrote: > >> The PHP interface to SQLite doesn't appear to give me access to the extended >> codes, unfortunately. > > I used to do SQLite from PHP myself. Hold on ... > > Bah. I agree with you. There

Re: [sqlite] Disk I/O errors

2019-02-23 Thread Dan Kennedy
On 24/2/62 00:55, Tim Streater wrote: (sorry for the duplicate - vibrating finger). I have a hosted web site using the SQLite functions from PHP. The page where PHP is used was failing, and on investigation this is because an SQLite function called from within PHP is now returning: Code: 10

Re: [sqlite] Disk I/O errors

2019-02-23 Thread Simon Slavin
On 23 Feb 2019, at 6:41pm, Tim Streater wrote: > The PHP interface to SQLite doesn't appear to give me access to the extended > codes, unfortunately. I used to do SQLite from PHP myself. Hold on ... Bah. I agree with you. There doesn't seem to be any way to do it. You can't even extend

Re: [sqlite] Disk I/O errors

2019-02-23 Thread Tim Streater
On 23 Feb 2019, at 18:10, Simon Slavin wrote: > On 23 Feb 2019, at 5:55pm, Tim Streater wrote: > >> I have a hosted web site using the SQLite functions from PHP. The page where >> PHP is used was failing, and on investigation this is because an SQLite >> function called from within PHP is now

Re: [sqlite] Disk I/O errors

2019-02-23 Thread Simon Slavin
On 23 Feb 2019, at 5:55pm, Tim Streater wrote: > I have a hosted web site using the SQLite functions from PHP. The page where > PHP is used was failing, and on investigation this is because an SQLite > function called from within PHP is now returning: > > Code: 10 (SQLITE_IOERR) > Msg: disk

[sqlite] Disk I/O errors

2019-02-23 Thread Tim Streater
(sorry for the duplicate - vibrating finger). I have a hosted web site using the SQLite functions from PHP. The page where PHP is used was failing, and on investigation this is because an SQLite function called from within PHP is now returning: Code: 10 (SQLITE_IOERR) Msg: disk I/O error I

[sqlite] Disk I/O errors

2019-02-23 Thread Tim Streater
I have a hosted web site using the SQLite functions from PHP. The page where PHP is used was failing, and on investigation this -- Cheers -- Tim ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org