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™

s2Member Info / s2Member Pro Info - Errors?

s2Member Plugin. A Membership plugin for WordPress®.

s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » September 24th, 2011, 2:50 pm

Hi PriMo Folks,

My developer and I got all of our earlier s2Member / s2Member Pro install issues squared away, and maybe I'm sensitive to any issues that may present themselves now, but I noticed the following errors(?) when I clicked the s2Member / s2Member Pro menu items. First, a little server info. I am running CentOS 5.6 64-bit with all the latest updates, Apache 2.2.21, PHP 5.3.8, and MySQL 5.5.16. Here are the errors:

s2Member® Module Information

Code: Select all
Warning: preg_replace_callback() [function.preg-replace-callback]: Compilation failed: POSIX collating elements are not supported at offset 90 in /home/spp/domains/salespagepress.com/public_html/wp-content/plugins/s2member/includes/_xtnls/markdown/nc-markdown.inc.php on line 810


There's like 50-100 of these errors.
s2Member® Pro Module Information

Code: Select all
Warning: preg_replace_callback() [function.preg-replace-callback]: Compilation failed: POSIX collating elements are not supported at offset 90 in /home/spp/domains/salespagepress.com/public_html/wp-content/plugins/s2member/includes/_xtnls/markdown/nc-markdown.inc.php on line 810


Any ideas?
Thanks,
Ansel
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Cristián Lávaque » September 25th, 2011, 5:15 pm

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: s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » September 25th, 2011, 11:44 pm

I'm afraid it passed all the tests. What may we try next?

Thanks,

Ansel
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » September 27th, 2011, 6:52 pm

Updating to version 110927 did not fix the problem.

Also, when I try to update s2Member Pro via that s2Member.com login box, it does not work. I get the following error:

"Automatic upgrade failed. Error #0004. Please upgrade via FTP."

What can I do to fix both problems?

Thanks,

Ansel
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » September 27th, 2011, 7:14 pm

The problem above seems to be related to this:

http://drupal.org/node/1255780

I am using PCRE v8.13
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Cristián Lávaque » September 28th, 2011, 2:33 am

Have you contacted your web host about the error? Still, I'm emailing Jason for his comments.
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: s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » September 28th, 2011, 11:04 am

Cristián Lávaque wrote:Have you contacted your web host about the error? Still, I'm emailing Jason for his comments.


I am the web host. I have root access to
my cloud VPS server. Did you read the Drupal bug report and see the link to the PCRE bug report? PCRE seems to be the problem. It will be fixed in the next release (I hope).

Ansel
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 1st, 2011, 7:07 pm

Thanks for reporting this important issue.
~ Investigating this now.
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 1st, 2011, 8:10 pm

Thanks for your patience.

I just took a look at the bug report you provided. So it seems this bug in not in the PHP Markdown library, but it's to do with a faulty PCRE. Got it. Looks like we'll need to wait for the fix then. The function preg_replace_callback() is vital to many PHP applications, so I don't think reporting this bug to the PHP Markdown team would help either. In either case, thanks for reporting this here! I'm sure it will save someone else some headaches.

Related links:
http://bugs.exim.org/show_bug.cgi?id=1136
http://michelf.com/projects/php-markdown/
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » October 6th, 2011, 1:06 am

Hi Primo Folks,

Thank you for getting back to me. Happy to help, if not for selfish reasons. :D

Any update on this item:

...when I try to update s2Member Pro via that s2Member.com login box, it does not work. I get the following error:

"Automatic upgrade failed. Error #0004. Please upgrade via FTP."


Could it be related?

Thanks,

Ansel
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 8th, 2011, 10:23 pm

Thank you for reporting this important issue.

Hmm, Error #0004 indicates that s2Member had a problem accessing directories via WP_Filesystem. Do you have s2Member installed in a non-standardized location, using symlinks, or something like that perhaps?
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby open4biz » October 9th, 2011, 1:42 am

Do you have s2Member installed in a non-standardized location, using symlinks, or something like that perhaps?


No. It's installed in the root of the public_html directory.

Perhaps I need to increase permissions for some folders?
User avatar
open4biz
Registered User
Registered User
 
Posts: 14
Joined: August 27, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby antseo » October 12th, 2011, 11:40 am

I'm also seeing the same error after trying to upgrade to the latest pro version. It's also installed in the root of the public_html directory.
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 12th, 2011, 12:00 pm

Thanks for reporting this important issue.

Is there any chance that one of you could provide us with a Dashboard login to test this? Even if it's just a test site where we can reproduce this behavior in your environment, that might make it possible or us to get this fixed quicker ( i.e. 90% of solving problems like this is in being able to reproduce it ).

If possible, please use this private contact form:
http://www.s2member.com/contact/
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby antseo » October 12th, 2011, 12:07 pm

Okay, I can do that. I'll provide you the details.
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 12th, 2011, 2:10 pm

Thank you. Information received. Investigating now.
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 12th, 2011, 5:12 pm

OK. This problem seems to exist whenever s2Member is installed on a Blog that is running as a different User than it's file system, or when the file system method being used by WordPress is FTP/SSH, rather than the default "direct" methodologies. Continuing investigation to see if we can work around this using request_filesystem_credentials().

Until then, s2Member Pro may NEED to be upgraded via FTP in these cases.
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby antseo » October 12th, 2011, 5:27 pm

Okay, thanks for checking Jason.
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 27th, 2011, 10:56 pm

seozones wrote:Okay, thanks for checking Jason.

Very welcome. Your (electrician) site has been patched for this to work now.
File updated: /s2member-pro/includes/classes/upgrader.inc.php
File updated: /s2member-pro/pro-module.php

The next official release of s2Member Pro will have an auto-updater compatible with FTP/SSH filesystems on WordPress, instead of just the default DIRECT methodologies. Since the upgrade wizard inside s2Member Pro's source code won't be updated until the next release of s2Member Pro, site owners with an FS_METHOD of FTP/SSH will likely need to upgrade manually via FTP until the release following the next.

I know, weird. But first we have to push out the update in the next release, so that future updates can be completed automatically by s2Member Pro in this way. Anyway, we've got this working now, really appreciate you lending us your site as a dev zone in this regard.
~ 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: s2Member Info / s2Member Pro Info - Errors?

Postby antseo » October 27th, 2011, 11:22 pm

okay thanks Jason for your help with this. When will the next release be?

Also, I use a site called managewp.com to update my wp plugins for each of my sites and place the ftp info in my wp-config file. Will this new method you've described work using the ftp inside the wp-config file?
User avatar
antseo
Experienced User
Experienced User
 
Posts: 127
Joined: September 2, 2011

Re: s2Member Info / s2Member Pro Info - Errors?

Postby Jason Caldwell » October 28th, 2011, 12:22 pm

The next release should be available later today or tomorrow.

Also, I use a site called managewp.com to update my wp plugins for each of my sites and place the ftp info in my wp-config file. Will this new method you've described work using the ftp inside the wp-config file?
Yes, please see this article for instructions: http://codex.wordpress.org/Editing_wp-c ... _Constants
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron