RE: [PHP-DB] error:attempt to write a readonly database
| From: | Graham Cossey | Date: | Thu, 28 Oct 2004 21:14:03 +0000 |
| Subject: | RE: [PHP-DB] error:attempt to write a readonly database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37074@lists.php.net to get a copy of this message | ||
[snip]
> hi
> i am getting the following error when i try to run my
> php program..i want to know wht is this error in
> general....
>
> Warning: sqlite_query(): attempt to write a readonly
> database in /home/saravall/.HTML/inv.php on line 26
> error:attempt to write a readonly database
>
[snip]
Looks like you are connecting to the database with a userid that has only
read authority.
I don't use sqlite so can't help with the specifics, but I would check that
first.
HTH
Graham