oauth2-demo-php icon indicating copy to clipboard operation
oauth2-demo-php copied to clipboard

SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

Open sasa-b opened this issue 7 years ago • 8 comments

Hey you have an error in your demo app, when I tried the implicit authorization this happened.

P.S. The docs on your site are amazing, thanks for all the good work.

screen shot 2018-02-03 at 3 49 06 pm

sasa-b avatar Feb 03 '18 14:02 sasa-b

same issue here, for demo site

pandababa avatar Feb 11 '18 05:02 pandababa

+1

balessan avatar Feb 11 '18 10:02 balessan

+1

+1

horsebuzz avatar Apr 16 '18 07:04 horsebuzz

same issue here, for demo site

KnadKA avatar May 30 '18 13:05 KnadKA

I had this issue when i was editing the oauth.sqlite file ... because i unintend put an "lock" in my table.

you can also check the permissions on your directory .... i'm pretty shure that's not this application fault

samhk222 avatar Jun 14 '18 18:06 samhk222

Give ownership (chown) of the sqlite file to webserver user like www-user (apache). Alternatively, give write access (chmod) on the file to webserver user.

fr0z3nfyr avatar Sep 01 '18 05:09 fr0z3nfyr

Request to fix your demo site at least.

mac10046 avatar Oct 31 '19 07:10 mac10046