Re: [sqlite] Accessibility dependend on command and folder

2008-06-11 Thread maximi
Great Guys! Big Thanks to all of you! I just set the directory of the calling script to writable and everythings working fine now. and as you suggested: would be great to have an appropriate error-message... Max Fechner Dennis Cote wrote: > > D. Richard Hipp wrote: >> >> Better error

Re: [sqlite] Accessibility dependend on command and folder

2008-06-11 Thread Dennis Cote
D. Richard Hipp wrote: > > Better error messages are always a good idea. But implementing them, > especially this one, can be much harder than you might expect. > Suggested patches are welcomed. ;-) > Point taken. :-) This actually looks like it might be fairly simple to me. Add a new

Re: [sqlite] Accessibility dependend on command and folder

2008-06-11 Thread D. Richard Hipp
On Jun 11, 2008, at 10:07 AM, Dennis Cote wrote: > D. Richard Hipp wrote: >>> i always get the error "unable to open database file", error number >>> is 14 >>> >> >> Probably it is unable to open a temporary file in /tmp or /var/tmp or >> wherever temporary files are suppose to live on your

Re: [sqlite] Accessibility dependend on command and folder

2008-06-11 Thread Dennis Cote
D. Richard Hipp wrote: >> i always get the error "unable to open database file", error number >> is 14 >> > > Probably it is unable to open a temporary file in /tmp or /var/tmp or > wherever temporary files are suppose to live on your system. > This situation seems to come up fairly often.

Re: [sqlite] Accessibility dependend on command and folder

2008-06-10 Thread D. Richard Hipp
On Jun 10, 2008, at 5:24 PM, maximi wrote: > > Hi > im using php in a webapp to access a sqlite database. now since > hours i'm > confronted with a weird error: > > i can access my database just fine, as long as i use commands as > simple as > "select * from testtable where a='b'" > as soon