PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Problem with new update

s2Member Plugin. A Membership plugin for WordPress®.

Problem with new update

Postby alargeau » October 3rd, 2011, 5:04 am

Hello everyone,

I just updated to the new version of S2Member and I got this on my website:
Fatal error: Cannot break/continue 1 level in /homez.332/lamicale/fr/wp-content/plugins/s2member/includes/classes/no-cache.inc.php(156) : eval()'d code on line 1

The website is down and I don't know why...

Thanks for your help.
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Problem with new update

Postby halifaxious » October 3rd, 2011, 7:11 am

I fixed this with the following steps:

a) turn off all plugins so Fatal Error doesn't prevent step b.
b) change permissions on ABSPATH. "wp-content/plugins/s2member/includes/classes/no-cache.inc.php so I can edit it directly if the perms are set to only allow the webserver write access.
c) edit no-cache.inc.php
d) turn plugins back on.

I use the following in my themes/functions.php file when I need to change permissions:

Code: Select all
add_action('init','ASH_fixperms');
function ASH_fixperms(){
   chmod(ABSPATH. "wp-content/plugins/s2member/includes/classes/no-cache.inc.php",0666);
}


The replacement for line 156 of can be:

Code: Select all
                        foreach (headers_list () as $header){ /* No-cache headers already sent? We need to check here. */
                           if (stripos ($header, "no-cache") !== false){ /* No-cache headers already sent? */
                              $no_cache_headers_already_sent = true;
                              break; 
                           }
                        }
User avatar
halifaxious
Registered User
Registered User
 
Posts: 11
Joined: May 13, 2011

Re: Problem with new update

Postby alargeau » October 3rd, 2011, 7:13 am

Thanks!!
Well, I saw you had the same problem. But I can't access the admin panel anymore. How did you turn off the plugins then?

Edit: sorry, I saw the link afterwards. Thanks!
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Problem with new update

Postby alargeau » October 3rd, 2011, 9:33 am

I fixed the problem by replacing the current version by the previous one. That's all. Now I'm waiting for a bug fix.
User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Problem with new update

Postby SocialCowgirl » October 3rd, 2011, 9:39 am

Where did you get the previous version ... having same problem
User avatar
SocialCowgirl
Registered User
Registered User
 
Posts: 9
Joined: October 3, 2011

Re: Problem with new update

Postby alargeau » October 3rd, 2011, 9:42 am

User avatar
alargeau
Experienced User
Experienced User
 
Posts: 31
Joined: November 15, 2010

Re: Problem with new update

Postby SocialCowgirl » October 3rd, 2011, 11:40 am

Didn't work for me ... Now I get error "In order to load the s2Member Pro Module, you need the s2Member Framework, v111002+"
User avatar
SocialCowgirl
Registered User
Registered User
 
Posts: 9
Joined: October 3, 2011

Re: Problem with new update

Postby Cristián Lávaque » October 3rd, 2011, 12:04 pm

Login to your s2Member.com account and then you can get the previous version of the Pro add-on: http://www.s2member.com/?s2member_file_ ... 110927.zip

I've emailed Jason about the problem, he'll fix this soon. Thanks for the reports and your patience, we're very sorry you had this trouble.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with new update

Postby sausalitoyachtclub » October 3rd, 2011, 12:15 pm

Thanks halifaxious, that worked for me.

(FTP'd to site and directly edited php file and saved it.)

Thanks, Rod
User avatar
sausalitoyachtclub
Registered User
Registered User
 
Posts: 1
Joined: October 3, 2011

Re: Problem with new update

Postby SocialCowgirl » October 3rd, 2011, 12:26 pm

@Christian ... Thanks!!
User avatar
SocialCowgirl
Registered User
Registered User
 
Posts: 9
Joined: October 3, 2011

Re: Problem with new update

Postby skipshean » October 3rd, 2011, 1:25 pm

uploading the last versions to the site aren't fixing things for me, please help! I have ftp access, but that's it.

error is:

Warning: include_once(/home/aztecs99/public_html/wp-content/plugins/s2member/includes/syscon.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/aztecs99/public_html/wp-content/plugins/s2member/s2member.php on line 123

Warning: include_once() [function.include]: Failed opening '/home/aztecs99/public_html/wp-content/plugins/s2member/includes/syscon.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aztecs99/public_html/wp-content/plugins/s2member/s2member.php on line 123

Fatal error: Call to undefined function ws_plugin__s2member_configure_options_and_their_defaults() in /home/aztecs99/public_html/wp-content/plugins/s2member/s2member.php on line 140
User avatar
skipshean
Registered User
Registered User
 
Posts: 44
Joined: June 15, 2011
Location: Chicago

Re: Problem with new update

Postby biornt » October 3rd, 2011, 1:47 pm

overwriting the folder with the previous version worked for me - hoping for a fix soon.
User avatar
biornt
Registered User
Registered User
 
Posts: 6
Joined: April 16, 2011

Re: Problem with new update

Postby skipshean » October 3rd, 2011, 1:52 pm

Can I please reconfirm that the prior version number is v110927, for both pro and base?

I tried renaming the s2member and s2member-pro folders then uploading the previous version, still no luck!
User avatar
skipshean
Registered User
Registered User
 
Posts: 44
Joined: June 15, 2011
Location: Chicago

Re: Problem with new update

Postby cabrooker1 » October 3rd, 2011, 1:57 pm

Yeah, my site is down too and the FTP solution doesn't seem to be working. I found renaming "plugin" folder in FTP disables all plugins and allows me to get back into the admin part of WordPress. Then changing the "plugin" folder name back to "plug" allows all your plugins to show up in the back end of WP. Perhaps if Primothemes "releases" the prior version of the plugin as an "update," it would only then take a click to fix this (hopefully). Moreover, all of the people who haven't yet updated to the broken version won't have to go through all of this and have their site break completely too. Please help!
User avatar
cabrooker1
Registered User
Registered User
 
Posts: 2
Joined: October 3, 2011

Re: Problem with new update

Postby skipshean » October 3rd, 2011, 2:01 pm

ok, it did finally work for me -- I believe the issue is that I also use the QuickCache plugin and since I couldn't get into wordpress, I couldn't flush the cache.

when it did it automatically, then the site came back up.
User avatar
skipshean
Registered User
Registered User
 
Posts: 44
Joined: June 15, 2011
Location: Chicago

Re: Problem with new update

Postby glbrent » October 3rd, 2011, 2:49 pm

So I got mine back up and working again. Apparently, I lost some people that were interested in my site. How do we stop this kind of thing from happening in the future? Do each on of us need a test server or test install of s2member? I really can't afford my site to go down like this again.
User avatar
glbrent
Registered User
Registered User
 
Posts: 21
Joined: July 19, 2011

Re: Problem with new update

Postby Jason Caldwell » October 3rd, 2011, 3:29 pm

Thanks for these reports everyone.

s2Member v111003 will be released shortly, for the sole purpose of correcting this fatal error.
* (s2Member v111003) **Bug fix**. Fatal `eval()` error inside: `/includes/classes/no-cache.inc.php` due to an inappropriately placed call to PHP's eval() function.
Fixed in this release of s2Member v111003.
You should receive a notice to upgrade inside your Dashboard. If not, you can grab the latest release here. s2Member Pro customers can access the latest versions of both s2Member and s2Member Pro inside their accounts at s2Member.com. See: http://www.s2member.com/

* Our sincerest apologies for this inconvenience and possible down time.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Problem with new update

Postby cabrooker1 » October 3rd, 2011, 5:12 pm

This worked for me. Thanks.
User avatar
cabrooker1
Registered User
Registered User
 
Posts: 2
Joined: October 3, 2011

Re: Problem with new update

Postby biornt » October 3rd, 2011, 5:24 pm

That worked for me too, no error, and it is protecting the pages correctly now. Thanks.
User avatar
biornt
Registered User
Registered User
 
Posts: 6
Joined: April 16, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron