Re: [sqlite] File is encrypted or not a database - checked header which is OK

2012-08-02 Thread Wim Paulussen
Thanks Dan, It was related to having 2 different versions of sqlite in PHP running, one being 3.6.15, the other 3.7.7.1. I must have set journal_mode to WAL on the local copy, which was not recognized on the production server. After setting journal_mode to DELETE, the production side

Re: [sqlite] File is encrypted or not a database - checked header which is OK

2012-08-02 Thread Dan Kennedy
On 08/02/2012 02:43 PM, Wim Paulussen wrote: I have a database giving me the dreaded 'File is encryptes or not a database' command. I checked for the 'SQlite format 3' part, which is present. All other databases in the same directory work as expected, there are no journal files present, so I

[sqlite] File is encrypted or not a database - checked header which is OK

2012-08-02 Thread Wim Paulussen
I have a database giving me the dreaded 'File is encryptes or not a database' command. I checked for the 'SQlite format 3' part, which is present. All other databases in the same directory work as expected, there are no journal files present, so I am at a loss how to get this solved. Anyone