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.
Vanilla 2.1 Could not enable plugins in IIS
Igantius
New
Hello,
I have installed Vanilla 2.1 on IIS 7.5, I could not enable the plugins also my config.php is not writable even though I gave 777 permission for that conf folder and all the files in conf folder,Instead of that lot of tmp files created in that folder.
Any help will be appreciated.
Thanks
0
Comments
Hi!
What error is given when you try to enable plugins (you may have to inspect the AJAX response to get the error).
If you are unable to update any configuration, this is an issue with your server configuration. You need to make sure your php user can see and write to the
/conf
,/cache
, and/uploads
folders.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Hello,
Thanks for the reply.
When I tried to enable the plugin, there is no error message for most of the plugins, I got the following message
{"FormSaved":false,"DeliveryType":"BOOL","Data":"MQ==","InformMessages":[],"ErrorMessages":"","RedirectUrl":""}
but plugins not enabled, but for some of the third party addons I got "Internal server Error"
Regarding user permission,
I have given "Full Control" using plesk control panel for following users
1) Plesk IIS Anonymous Account (IUSR_sitename)
2) Default Plesk application pool user (IWAM_plesk(default))
Do we need to give permission to any other users?
Thanks
not sure if system calls or posix calls will work on your OS but you could try.
put this file in your forum folder and call it owners.php
<?php
then run it: http://putyourforumdomainnamehere.com/yourforumfolder/owners.php
and post the results. it will show you ownership and permissions of conf config.php and who runs the php process.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi,
Thanks for response.
When tried to above code I got the following error
"Fatal Error: Call to undefined function posix_getpwuid() "
I think POSIX extension is not available on Windows.
comment out the lines with posix in it and the line below it
e.g. line 17 and 18, 25 and 26, 40 and 41, and and 48 and 49.
you will at least get some info.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi Peregrine,
Thanks for your response
I got the following output when execute owners.php in development system(Windows/XAMPP) and server(windows/IIS7)
File owner for ./conf/config.php:
File group:
File permissions: 666
File owner for ./conf:
File group:
File permissions: 777
But in development system(Windows/XAMPP) I can enable plugins, but in server (Windows/IIS7.5) I am not able to enable plugins
try this and post the entire output:
I don't use windows servers.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi Peregrine,
Thank you once again for your response.
This is the output I got while execute your code
id:
Whoami: jehovahjireh\iwam_plesk(default) jehovahjireh\iwam_plesk(default)
File owner for ./conf/config.php: 0
File group: 0
File permissions: 666
File owner for ./conf: 0
File group: 0
File permissions: 777
the routine that is having problems on your setup is this
in vanilla/library/core/class.configuration.php around line 1199
http://stackoverflow.com/questions/10656662/running-php-on-iis-file-permissions-are-correct-but-uploads-dont-work
http://serverfault.com/questions/321388/php-files-and-folders-permissions-under-iis
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I don't use windows servers. but maybe someone else can help you further with the output and info you provided.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks peregrine. Let me check with the links given by you and let you know if this works fine. Thank you very much for your help.
Make sure that the root folder of the website also has write permissions for the IIS user. Try giving permissions for the user called
IUSR
if other users don't work.Add Pages to Vanilla with the Basic Pages app
Hello I have checked with permission, I have give 777 to root.
But still I am not able to enable plugin also, while install in the conf folder many .tmp files are created and config.php size 0. Any help will be appreciated!
Found this thread after searching. I may have clues to help with resolution - here's my current problem, which includes links to how it was solved in the past on 2.0.18.x. But I still need help in figuring out how to fix it on 2.1.6:
http://vanillaforums.org/discussion/28687/plugin-disable-enable-not-working-after-upgrade