Save erros on manager settings page

  1. 8 years ago

    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?

    Check the *directory* permissions (/usr/local/fop2). The apache user/group must be able to read/execute that directory.

    Best regards,

  2. 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?

  3. admin

    1 Sep 2016 Administrator Answer

    Check the *directory* permissions (/usr/local/fop2). The apache user/group must be able to read/execute that directory.

    Best regards,

  4. Admin,
    Thanks for your reply, now it works fine.

  5. Thanks... given www-data owner of the db file works for me.

or Sign Up to reply!