Hi Ryan! Thanks for the quick replay :)
The config file is writeable by the fcgid process user, I can confirm this because I'm able to change other settings (namely the Admin/BasicSettings) and the trac.ini file gets modified correctly. I also tried to give rwX permissions to everyone on the entire directory tree but still the same error, so I think it is not a file permission related issue ....at least not an issue concerning the trac installation files. 2017-03-08 4:33 GMT+01:00 RjOllos <[email protected]>: > > > On Tuesday, March 7, 2017 at 3:36:33 PM UTC-8, marco.jem wrote: >> >> Hi all! >> I deployed Trac 1.2 in my environment (Debian Linux 8.7 + Apache2 >> 2.4.10-10+deb8u8 + fcgid 1:2.3.9-1+b1) with multi project configuration, >> everything is working fine but the Plugin Administration section. >> >> Every time I click on "Apply" button I get the following error >> >> Error: Bad Request >> Missing or invalid form token. Do you have cookies enabled? >> >> Trac own log report: >> >> Trac[main] DEBUG: Dispatching <RequestWithSession "POST >> '/admin/general/plugin'"> >> Trac[main] DEBUG: Chosen handler is <Component >> trac.admin.web_ui.AdminModule> >> Trac[main] WARNING: [my ip] HTTPBadRequest: 400 Bad Request (Missing or >> invalid form token. Do you have cookies enabled?) >> >> while nothing shows up on Apache error log. >> >> Also FireBug report "Error 400 Bad Request" on POST request. >> >> Please note that: >> >> 1) as per FireBug the cookie trac_form_token is correctly set and passed >> to the server with the POST request >> >> 2) the field __FORM_TOKEN is present in the POST request and has the >> same value as the cookie trac_form_token >> >> 3) when running trac in stand alone daemon mode (tracd) everithing work >> as expected >> >> 4) when trac is deployed via WSGI a similar problem arouse with Plugin >> Administration when applying changes, the problem is "POST >> Content-Length exceeds the limit" >> >> 5) no other error is reported on apache error log or trac log or anywhere >> else >> >> >> Anyone else faced a similar problem? >> >> I would like to be able to install and setup new plugins as well as >> configure the main trac features. >> >> Thanks in advance!! >> > > > When you submit changes from /admin/general/plugin trac.ini will be > modified. Does the user under which the web server runs (probably www-data) > have write access to trac.ini and the parent directories? > > - Ryan > > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/trac-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
