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™

logging files not updating

s2Member Plugin. A Membership plugin for WordPress®.

logging files not updating

Postby webnola » September 27th, 2011, 12:15 pm

We are noticing that the two log files (paypal-rtn.log and paypal-ipn.log)haven't updated in months. We have had plenty of members since then and done plenty of tests so something should be showing.

Logging routines are enabled on s2member Paypal options. We are running s2member (110915) w/pro (110915) on wordpress 3.2.1. Using Paypal Pro with Paypal Pro forms.

Any ideas?
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010

Re: logging files not updating

Postby webnola » September 28th, 2011, 5:25 pm

just posted this yesterday and already on page 4? Gotta bump as I have no other way of getting help.
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010

Re: logging files not updating

Postby Cristián Lávaque » September 30th, 2011, 5:16 pm

Are you using s2Member generated buttons or did you create them over at PayPal? When users pay, are they given the right access they bought?
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: logging files not updating

Postby webnola » October 3rd, 2011, 3:20 pm

Cristián Lávaque wrote:Are you using s2Member generated buttons or did you create them over at PayPal?


Created them with s2member Paypal Pro

Cristián Lávaque wrote:When users pay, are they given the right access they bought?


yes
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010

Re: logging files not updating

Postby Jason Caldwell » October 7th, 2011, 8:06 pm

Thanks for reporting this important issue.
webnola wrote:We are noticing that the two log files (paypal-rtn.log and paypal-ipn.log)haven't updated in months. We have had plenty of members since then and done plenty of tests so something should be showing.

Logging routines are enabled on s2member Paypal options. We are running s2member (110915) w/pro (110915) on wordpress 3.2.1. Using Paypal Pro with Paypal Pro forms.

Any ideas?
Hmm, is logging still enabled? You might take another quick look at your configuration under: s2Member -> PayPal Options -> Account Details -> Logging/Debugging. If logging is enabled, but nothing is being written to these files, you might check permissions on those files. If you migrated the site to a new server or something like that, perhaps s2Member lost the ability to write data to these files due to server permissions? Also note, with PayPal Pro, the paypal-rtn.log file is not written, as there is no Auto-Return data processed/needed. With PayPal Pro Forms, you should have: /s2member-logs/paypal-api.log and /s2member-logs/paypal-ipn.log.
~ 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: logging files not updating

Postby webnola » October 10th, 2011, 1:37 pm

Jason Caldwell wrote:Thanks for reporting this important issue.
webnola wrote:We are noticing that the two log files (paypal-rtn.log and paypal-ipn.log)haven't updated in months. We have had plenty of members since then and done plenty of tests so something should be showing.

Logging routines are enabled on s2member Paypal options. We are running s2member (110915) w/pro (110915) on wordpress 3.2.1. Using Paypal Pro with Paypal Pro forms.

Any ideas?
Hmm, is logging still enabled? You might take another quick look at your configuration under: s2Member -> PayPal Options -> Account Details -> Logging/Debugging. If logging is enabled, but nothing is being written to these files, you might check permissions on those files. If you migrated the site to a new server or something like that, perhaps s2Member lost the ability to write data to these files due to server permissions? Also note, with PayPal Pro, the paypal-rtn.log file is not written, as there is no Auto-Return data processed/needed. With PayPal Pro Forms, you should have: /s2member-logs/paypal-api.log and /s2member-logs/paypal-ipn.log.


I just triple-checked, and logging routines are still enabled. All files and the directory have 777 permissions.
The only three files in the folder are a .htaccess (which simply says "deny from all"), paypal-ipn.log, and paypal-rtn.log. There is no paypal-api.log.
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010

Re: logging files not updating

Postby Jason Caldwell » October 11th, 2011, 7:30 pm

Thanks for the follow-up.
~ Very sorry for the delayed response.

Forum account upgraded to Experienced User rank/icon.
( thanks for developing with s2Member! )

Interesting. If logging is enabled, a log entry should be written each time s2Member connects to the PayPal API for any reason. If you look inside your Dashboard, under the Logging/Debugging section, where does s2Member say the log files are stored? Did that change?

If not, please try this and let me know what you come up with.
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_action
("init", "s2_debug");
function s2_debug(){
    if(!empty($_GET[__FUNCTION__]))
        exit($GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["logs_dir"]);
}
?>
Now load up a browser with this URL and see where s2Member is storing your log files.
Code: Select all
http://example.com/?s2_debug=yes
~ 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: logging files not updating

Postby webnola » October 13th, 2011, 12:28 pm

I created the directory and file, and then accessed the url (swapped out the domain with ours), but it just loaded the site as if I was at the root of the domain. I didn't see anything on the plugins page to activate. Any idea what the problem might be?

Also, the logging location has not changed.
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010

Re: logging files not updating

Postby Jason Caldwell » October 13th, 2011, 1:28 pm

Thanks for the follow-up.
You have me stumped, so sorry. If it's possible to send us a Dashboard login and FTP access, please do and I'll have a look at this for you. You can 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: logging files not updating

Postby webnola » October 13th, 2011, 5:27 pm

Strange, now the log files are updating. Is it possible that the s2-hack file you had me create knocked something loose and made it work? Other than that we didn't change anything.
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010

Re: logging files not updating

Postby Jason Caldwell » October 13th, 2011, 7:52 pm

Interesting. That's great.
Ha, not sure. I doubt that did anything, as it just prints data to the screen.
~ 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: logging files not updating

Postby webnola » October 14th, 2011, 11:50 am

Ok, I now agree that the two were not related.

I was using two different FTP account, and for some reason on one of the FTP accounts the files were not updating. Not sure why this might be, but I'm not aware of this and will only use the one that works.
User avatar
webnola
Experienced User
Experienced User
 
Posts: 33
Joined: December 29, 2010


Return to s2Member Plugin

Who is online

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

cron