Save erros on manager settings page

When i trie to save any change on settings page, i get this error: DB Connection fail: SQLSTATE[HY000]: General error: 14 unable to open database file

I check the config.php file and the db path file is correct: $SQLITEDB="/usr/local/fop2/fop2settings.db";

Below the file permissions:
-rw-rw-rw- 1 root root 12K Ago 31 08:47 fop2settings.db

Others changes work normally.

Any help?

Comments

  • I have the same problem.
    My system is running vanilla asterisk.

    I tried to give the proper permission to this file and directory but without success.

    The asterisk is running as root user (I know is not recomended)

    Does anyone can help us?
  • Check the *directory* permissions (/usr/local/fop2). The apache user/group must be able to read/execute that directory.

    Best regards,
  • Admin,
    Thanks for your reply, now it works fine.
  • Thanks... given www-data owner of the db file works for me.
Sign In or Register to comment.