Home › Forums › Community Forum › New Update just crashed my site!
This topic contains 12 replies, has 4 voices. Last updated by Jason (Lead Developer) 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Feb 14th, 2012 at 10:51 pm #5142 | |
|
|
I received a notice on my Plugins page a few minutes ago and auto-installed the latest update for S2Member. It went through the complete installation process successfully. Then I clicked on “Return to Plugins Page,” and I got a “500 Internal Server Error.” |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Feb 14th, 2012 at 11:38 pm #5154 | |
|
|
Okay, I just saw your response to Leslie Lewis’ post about the same problem. I pasted the substitute code into my .htaccess file and was able to get back into my admin pages. |
|
Posted: Wednesday Feb 15th, 2012 at 6:34 pm #5284 | |
|
|
Hi John, You should be safe to update the Pro module. There are no known issues with the Pro update. If you’re worried about anything, please make a backup before upgrading. |
|
Posted: Monday Feb 20th, 2012 at 4:22 pm #5720 | |
|
|
This issue was corrected in the release of s2Member v120219.
See: http://www.s2member.com/changelog/#s2-changes-v120219 There is also a video tutorial that covers this issue here: |
|
Posted: Monday Feb 20th, 2012 at 5:38 pm #5737 | |
|
|
Hi Jason, My client is running on Dreamhost where they still use Apache 1.3 (as far as we can tell – we’re awaiting their response to a query about this). They installed 120213 this morning and the site crashed due to the GZIP exclusion lines in the .htaccess file. I commented those lines out and the site came back up. Then, a few minutes ago, they upgraded to s2Member Framework 120219 and it put those lines back, and the site crashed again. They called me and I commented them out (again), and the site came back up (again). So, it appears that whatever you did with version 120219 to make it compatible with Apache 1.3, does not work. Please advise. Thank you very much – Best Regards, Marty Hirsch |
|
Posted: Wednesday Feb 22nd, 2012 at 12:16 pm #5959 | |
|
|
Hi Martin, Could you share any more details about the server configuration (perhaps the exact version of Apache 1.3). I personally tested the latest version of s2Member (v120219) on my server, running Apache 1.3.42, and I have no problems. |
|
Posted: Wednesday Feb 22nd, 2012 at 1:18 pm #5978 | |
|
|
Hi – we’re still awaiting a word from Dreamhost about the Apache version. However, to me the salient point seems to be the text in the .htaccess file. I had commented out the GZIP exclusion lines, and the site was working. When we installed s2Member Framework v. 120219, it PUT THOSE LINES BACK IN – and this is what made the site crash.
Was it the author’s intention to have the s2Member Framework v. 120219 installation cause that text to be ADDED TO THE .htaccess FILE – even though it has no significance with Apache 1.3, and is known to make it crash? Or was it NOT intended? Could it be that the installation attempts to detect the Apache version, and this detection FAILED in the configuration used by Dreamhost? Thanks for looking into these issues. It appears that Apache 1.3 cannot be ignored in future installations. |
|
Posted: Thursday Feb 23rd, 2012 at 2:06 pm #6142 | |
|
|
Hi Martin, The update corrects the code added to the .htaccess file, but it does still insert the code, so what you saw was correct behavior. However, the code that the update inserts was slightly modified to be compatible with Apache 1.3x. I compared the code in my .htaccess file (added by the lastest version of s2Member) and it differs from the code you shared above. Here’s my .htaccess file:
The above code does not cause problems for me on Apache 1.3. But notice how the line that starts with RewriteCond %{QUERY_STRING} (^|\?|&) differs from the code you shared. The code you shared is incompatible with Apache 1.3. Could you please double-check the .htaccess file to make sure the code does in fact match the incompatible snippet you shared? |
|
Posted: Thursday Feb 23rd, 2012 at 8:19 pm #6224 | |
|
|
According to Dreamhost, we are on Apache v2.2.17. The complete version line is: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8g mod_fastcgi/2.4.6 mod_fcgid/2.3.4 Both of the latest updates of s2Member Framework (120218 and 120219) inserted the above lines in our .htaccess file and in both cases, this caused the site to crash completely (no page would load) until I commented them out. This would appear to be a problem. |
|
Posted: Friday Feb 24th, 2012 at 12:51 pm #6285 | |
|
|
Thank you for the information, Martin. I’m escalating this back to Jason so he can take a look. |
|
Posted: Monday Feb 27th, 2012 at 5:01 pm #6564 | |
|
|
Thanks for the heads up on this thread. Our approach on this, in the release of s2Member v120219 was to update the .htaccess rule for compatibility with Apache v1.x as well. Removing this section of the .htaccess file seems to resolve the issue. Making s2Member compatible with both Apache 1.x and Apache 2.x. Instead of: See also: s2Member® Unified Changelog » v120219 Installing s2Member v120219 should resolve this for you automatically. If the problem remains, please update your .htaccess file manually. Please make sure you have this section in your .htaccess file.
|
|
Posted: Tuesday Feb 28th, 2012 at 12:59 am #6634 | |
|
|
Hi Jason, After installing both s@Member Framework version 18, and later version 19, the site crashed, and I had to comment out whatever had been inserted into the .htaccess file to bring it back each time. However, I now manually entered the exact code posted above, and the site is still alive. I hope future updates do not cause the same issue. They are running Apache 2.2.17 on a Dreamhost shared server. Thanks and Best Regards, Marty |
|
Posted: Tuesday Feb 28th, 2012 at 2:12 am #6646 | |
|
|
Hi Martin. Thanks for keeping us updated. Each time s2Member is upgraded, it will make an attempt to update it’s snippet inside your .htaccess file. In order for s2Member to accomplish this automatically for you, two things need to be possible. 1. Your .htaccess file needs to be writable by the server itself, so that s2Member can update this file for you automatically. In other words, set permissions to 666 or higher on the .htaccess file please. 2. The snippet inside your .htaccess file, needs to be wrapped inside these hash tags.
|
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.