Tips and Tricks HQ Support Portal › Forums › WP eMember › Adding additional member levels/subscriptions to an account
Tagged: member levels, multiple accounts
- This topic has 19 replies, 2 voices, and was last updated 13 years, 3 months ago by jessnoonyes.
-
AuthorPosts
-
August 15, 2011 at 12:29 am #35445amin007Participant
You are still having permission issues on your server. When I go to the following URL
http://lawnserviceguide.com/wp-content/plugins/wp-eMember/ipn/eMember_handle_paypal_ipn.php
and try to execute the script (this is what PayPal will do after a payment) I get the following error (this is why no debug is being written):
Warning: fopen(ipn_handle_debug_eMember.log) [function.fopen]: failed to open stream: Permission denied in /home2/lawnserv/public_html/wp-content/plugins/wp-eMember/ipn/eMember_handle_paypal_ipn.php
This is a server setup issue that your hosting provider should take care of first (It your hosting providers duty to give you a properly setup server). Please contact your hosting provider and sort out this server setup issue and then I will continue my investigation (most likely you won’t have an issue after your host fixes up the server configuration).
All you need to do is ask your host why PHP can’t open a text file and write to it.
August 15, 2011 at 3:33 am #35446jessnoonyesMemberI figured out it was because the /ipn/ folder wasn’t writeable. I changed that, ran a few tests, and here was the contents of ipn_handle_debug_eMember.log
[admin deleted debug info]
Keeps adding level 4 regardless of the ID of the item purchased. And again, ID 4 is the membership level already associated with this user.
August 15, 2011 at 6:34 am #35447amin007ParticipantOkay that looks much better and yes it is correct because 3 (the newly paid membership) goes to your primary level and 4 (the old membership level) moves to the additional level. So after this payment this membership profile should see the following:
level ID 3 should be set as the primary level and level ID 4 should be set as the additional level. Do you see that when you edit this member’s profile?
I also noticed that the “subscription_handle_debug.log” debug file is not complete. It’s getting killed when it tries to update the database. It is suppose to show more debug if the script fully ran. I still have your site access so I will jump on and check a few things out.
August 15, 2011 at 6:49 am #35448amin007ParticipantThe “eMember_handle_subsc_ipn_stand_alone.php” file seems to be corrupt. I loaded a fresh build of eMember on your site. Can you please give it another test run now please?
August 15, 2011 at 2:32 pm #35449jessnoonyesMemberYes! That worked! Thank you thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.