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.
Plugin Enable Problem
![SilverSix311](https://us.v-cdn.net/5018160/uploads/userpics/454/n2TEBFBF9JZI1.jpg)
Hey guys i'm running 2.1.11 and i just got the whole site up and running. Now the problem i am running into is that the config.php file doesn't seem to want to be written to when i make a change. I can manually enable a plugin form the config file with nano in root, however when i make a change on Vanilla itself, the changes are never written, thus the changes are never made on the site. Any help would be appreciated on this.
Debian 8.1 Minimal
Vanilla 2.1.11
0
Best Answer
-
vrijvlinder MVP
@SilverSix311 said:
I own the server. This is running out of my house.Owning the server is not the same as Ownership of the files. It still needs to be set up even if it is your own computer.
5
Answers
Make sure the config.php has write permissions. Disable all the plugins you had enabled by putting FALSE instead of TRUE in the config and try again in the dashboard after deleting the .ini files in the cache .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
So i made sure that the file had write permissions and the issue is still happening.
-rwxrwxr-x 1 www-data www-data 6735 Jul 3 18:59 config.php
I ran chmod 777 on the file and the file reverts back to "-rwxrwxr-x"
Im not really sure what to do from here.
Also i deleted all the ini files from the cache folder and the same thing seems to be happening.
You need to contact your host so they can fix your permissions. File permissions is one thing and owner user permissions is another.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I own the server. This is running out of my house.
Sometimes you cannot enable a plugin because it has errors. Sometimes you can enable them and didn't notice that you did because of some caching issues. If you cannot write to your configuration, than the setup would have failed.
Enable some plugin in the dashboard and then take a look later on if that functionality is available. If you can, Whitelist the configuration so that it doesn't get cached (from opcache - I'm not speaking of vanilla cache )
Owning the server is not the same as Ownership of the files. It still needs to be set up even if it is your own computer.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Sorry i think that was a miscommunication. I meant i have ownership of the server and i can change anything if need be. I changed the ownership of the file to root to see if that would do anything, and it still wasn't working correctly. Is the www-data not what its supposed to be?
Thanks for the help guys, my friend was helping me and we got it working.![:) :)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/smile.png)