Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Solved] why this notification (Your config.php file is not writable.)

ChanuxChanux Admin of Geek.lk ✭✭
edited April 2012 in Vanilla 2.0 - 2.8

when i log my vanilla it is displaying Your config.php file is not writable.
Find out how to fix this »

why it is and how can i fix it. help plz

Answers

  • Options
    422422 Developer MVP

    Locate it and chmod to 777

    There was an error rendering this rich post.

  • Options
    ChanuxChanux Admin of Geek.lk ✭✭

    could you explain please...

  • Options
    ChanuxChanux Admin of Geek.lk ✭✭

    oh thanx @422 its working now. this is the solution

    if your Vanilla Statistics are currently disabled

    Your config.php file appears to be read-only. This means that Vanilla will be unable to automatically register your forum's InstallationID and InstallationSecret.
    To solve this problem, assign file mode 777 to your conf/config.php file.

  • Options

    Giving config.php 777 permissions is way more permissions than are needed! This means the file can be read, written, and executed globally. You should use lesser permissions like 755 if possible.

    If you continue to have problems after running chmod 755, you may need to verify the file is "owned" by the correct user. In my case, the file could only be interacted with properly if it was owned by the same user that PHP was running under, which in my case was www-data. The command to change ownership is chown www-data:www-data config.php.

Sign In or Register to comment.