Active
Project:
Boost
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2015 at 02:55 UTC
Updated:
23 May 2018 at 20:44 UTC
Jump to comment: Most recent
Hi,
i installed the lates dev version and have drupal 7.34.
boost is working like a charm, but after i put the generated code in my .htacces file i can't save any settings or node.
when i remove the code, i can save and so, but boost is not working then.
how can i make the boost working and the enduser can save his nodes and settings whithout stumbling on the .htacces
need some help with this
Comments
Comment #1
sketman commentedI got the same problem.
After enabled and configured Boost, I cant change any single setting on the site, nothing gets saved, no new value is preserved. For nodes I cant save them neither. When hitting "Save" button on node edit form, the page just gets reloaded...
I am running Panopoly 1.30 with Panels and related stufff...
Comment #2
jorditr commentedHi. I'm stuck on the same problem. After many, many test Boost works properly, but forms are not saved anymore, both on admin area or node editing. If I remove the boost htaccess rules all forms are saved again but any page is rendered with the Boost flag at the end of the HTML code. As long as I see I'm not the only one. Anyone has any idea?
Thanks!
Comment #3
sketman commentedYes, the exactly same behavior here.
When removed rules generated by Boost module from .htaccess, the error was gone. But then the Boost module did not work, because it needs the changes in .htaccess.
I was not able to find out why, or which of new rules in .htaccess causes the error.
So I disabled this module and used Memchache module instead.
Comment #4
jorditr commentedYes, I tried to comment each line on htaccess one by one trying to find which one could be causing this wrong behaviour but I coultn't solve it. For me it's clear that on some situations Boost doesn't work, but I don't know what is affecting my site...
Comment #5
smitty commentedSame problem here! Plus: The Image Module can't create derivates any more (in watchdog: "access denied").
Found out that you get some „File does not exist“ in Apache error log too.
Good news first: This problem occurs only in the dev-version. Version 1.0 is working well.
Workaround (if you need to install the dev-version):
1. First install version 1.0 of the module. Activate Gzip. Go to admin/config/system/boost/htaccess/generator and take the proposed changes into the .htaccess file.
2. Install the dev-version. Don't change the .htaccess file!
3. Now everything should work again.
I did that and discovered, that the only difference between the .htaccess proposed by the version 1.0 of the Module and the dev-version (besides the Apache 2.4 bug workaround, which is commended out) is the GZip-compression which is missing in the dev-version because of https://www.drupal.org/node/1416214. In my case that was:
Comment #6
sketman commentedThat made it for me. Thanks a lot smitty, I followed your instructions and it works like a charm now! You rock :)
Just a note: I remained with the 1.0 version, didnt go to the dev.
Comment #7
sgorneau commentedFor me, it's this section that is breaking all form submissions (e.g. node saves, content filtering, etc.)
Comment #8
philsward commentedThis is still a major problem in the newly released boost-1.1... Going back to 1.0 until this gets resolved :-/
Comment #9
suit4 commentedUntil today I enver had any issues with Boost regarding the forms inthe admin pages not being able to save data.
smitty is right, that did the trick for me as well.
Comment #10
aitala commentedI seems to be having a similar issue saving settings and logging into a Drupal site with the 1.1 version.
I am running Apache/2.2.31
Eric
Comment #11
k3vin_nl commentedI can confirm that for my configuration adding the code from #5 fixed my problems.
Comment #12
Collins405 commentedSame problem here on latest release. No forms submit.
Comment #13
cpa2client commentedI tried smitty's solution but it did not work for me. What did work was removing the comment marks # for this Apache bug.
# # Apache 2.4 bug workaround
# # Enables caching of index/ home page
RewriteCond %{REQUEST_URI} ^/index\.php$
RewriteCond %{DOCUMENT_ROOT}/cache/%{ENV:boostpath}/%{HTTP_HOST}/\_%{QUERY_STRING}\.html -s
RewriteRule .* cache/%{ENV:boostpath}/%{HTTP_HOST}/\_%{QUERY_STRING}\.html [L,T=text/html]
Comment #14
Tommy_001 commentedThanks a lot for the suggestion on going back to version 1.0. I spent hours and hours trying to figure out why nodes couldn't be saved, forms not sent etc. I think I will stay with the 1.0 version just to be safe... It seems to work just fine.
Comment #15
garbo commentedI also had this same problem when I made a copy of my project for dev purposes. Disabling the boost module (since it's a dev site) solved the problem for me.
The strange thing is that on my live site I have no problem. I suspect it's a difference in server config that's causing the problems.
Cheers to Smitty for the work-around!
p.s.: I used Boost version 7.x-1.0+7-dev
Comment #16
gaëlg#13 worked for me.
Comment #17
james6848 commented#13 worked for me as well
Comment #18
surfgatinho commented#13 seems to have worked for me.
For the record I'm running Apache 2.2.15 not 2.4.
Comment #19
smitty commentedI just had another look into this problem, when I did the update von 1.2.
My advice: Take the code generated by the boost-Module (1.2), keep the two Apache 2.4 bug workarounds commented out and change the line
RewriteRule .* - [S=2]
into
RewriteRule .* - [S=1]
With this change, all involved problems ( the problem of this issue + https://www.drupal.org/node/2078595 + https://www.drupal.org/node/2719795) are gone!
Related issue: https://www.drupal.org/node/2814113
Comment #20
subir_ghosh#13 worked for me too!
ED: And #19 too, just as well.