protected content page not working

under membership>options>membership pages i have a page created for protected content but it is not working. when i go to content that should be protected i get a page not found error

  • aecnu
    • WP Unicorn

    Greetings PlanetWaves,

    Thank you for bringing this item to our attention.

    Are you running caching on the WordPress installation in question by any chance?

    Are you using two completely different browsers for developing and testing? i.e. Firefox for developing and Chrome for testing and dumping the caching and cookies of the test browser before each test?

    What is the URL to this page/site?

    Please advise.

    Cheers, Joe

  • aecnu
    • WP Unicorn

    Greetings PlanetWaves,

    Thank you for the URL and upon visiting and checking with Chrome console control+shift+J I indeed find a couple of issues with Facebook and they do not seem to be related to the Membership plugin issue.

    What did come to mind though while checking this out is to ask you to please reset your permalinks - you do not need to change them, just click the save changes and see if it indeed fixes the issue when it resets them.

    Let me know how it goes and look forward to hearing form you in any event.

    Cheers, Joe

  • aecnu
    • WP Unicorn

    Greetings PlanetWaves,

    Thank you for the additional input and I do agree that if it goes to a 404 page then this may be an issue, if the URL is valid to begin with.

    The URL's you presented above appears to be wonky and though for a specific installation this could be different because of manipulation by other plugins ... but:

    http://planetwaves.net/pageone/category/feed/readings/
    http://planetwaves.net/pageone/category/feed/horoscopes/

    Would not be a normally valid URL where:

    http://planetwaves.net/category/feed/readings/

    http://planetwaves.net/category/feed/horoscopes/

    Are much more likely to be correct in which they both redirect to:
    http://planetwaves.net/pagetwo/subscribe/

    Please advise after confirming the URL's above.

    Cheers, Joe

  • PlanetWaves
    • Site Builder, Child of Zeus

    The URLs appear odd but they are right. planetwaves.net/pagetwo is one site and planetwaves.net/pageone is the development site that i am working on.

    As I mentioned before, the pages were working before so I'm wondering if it is a conflict with something or if I should reinstall the plugin.

  • aecnu
    • WP Unicorn

    Greetings PlanetWaves,

    Thank you for mentioning that and clarifying regarding the URL's

    The next thing I would do is first try and test/repair the databases --> Admin Dashboard --> Membership --> Options --> Advanced --> Repair Membership Tables.

    Next I would deactivae the plugin then FTP the latest version of Membership up to the host in over write file transfer mode.

    If that does not cure it I would then go into full blown trouble shooting mode because it appears there may be some conflict there and one way to find out conclusively.

    Standard plugin trouble shooting protocol - first to switch to the Twenty Eleven/Twelve theme just long enough to check for the problem - if the problem still exists next involves deactivating all plugins except the plugin in question and then see if the issue still exists.

    If it does not, then you want to activate plugins one at a time testing in between to see if the issue returns. Even when you find one plugin, it may be in your interest to deactivate the problem plugin and continue testing the rest of the plugins to insure no others are also conflicting.

    You will know the conflict when the issue returns and which plugin(s) you activated that cause the issue.

    Please advise if there are any plugin conflicts and if so what the plugins are that are conflicting.

    Cheers, Joe

  • pianoman
    • Site Builder, Child of Zeus

    I remember running into this a while back, where the downloads were working and then stopped. The issue was activation of a digital rights management plugin that was also attempting to mask and protect certain files and URLS.

    Good luck!

  • PlanetWaves
    • Site Builder, Child of Zeus

    I just did everything you said and all the plugins are disabled and I still have the issue. So I did the following:

    Went into PHP admin and deleted the tables for the plugin, the ones beginning with _m.
    I then reinstalled the plugin again. All my original data was gone as expected but it still doesn't work. When I go to add a level it says that the level has been added but it doesn't appear to be in the list.

    Something is seriously wrong. What do I do?

  • PlanetWaves
    • Site Builder, Child of Zeus

    Ok I am officially stumped. I rebuilt the ENTIRE site, got it working, the protected pages worked okay. I then set up my levels and now it doesn't work. I have deactivated all plugins, everything. It has to be a setting but I"m totally stumped. I have even tried deactivating all levels except the visitor one to see if that helped. I have used all positive, all negative and a mixture. I have tried it all!

  • aecnu
    • WP Unicorn

    Greetings PlanetWaves,

    Any chance that you have reset the permalinks.

    Having the permalinks set to anything but default and preferably /%postname%/ and then click on save changes?

    Even if it is set to anything but default but the choice that you want, please click on save changes again which resets the permalinks.

    Let me know if that helps.

    Cheers, Joe

  • PlanetWaves
    • Site Builder, Child of Zeus

    Well unfortunately I'm back again. The issue was not resolved by separating the sites as I had hoped. The site with the membership area is now here: http://members.planetwaves.net/ and I have set up admin access --

    test_admin/test2013 and I have confirmed that test_admin is also a membership admin.

    to review, I have 3 membership levels: free/premium and all access. right now if you aren't logged it it takes you to the join page. then here is the access for the free level:

    free_test /freete4st -- that level will not have access to the readings tab and you will see that you get a 404 page not found error.

  • aecnu
    • WP Unicorn

    Greetings PlanetWaves,

    Thank you for the admin access, your extraordinary patience.

    You do not have any payment gateways activated there and they dictate behavior of the plugin to a great degree - but I do not think relevant to the issue we are having redirecting to the protected content page and getting a 404 every time.

    I did create the page and played with the levels and indeed everywhere I try to get the protected content page I get the 404 error instead.

    I also reset the permalinks and did everything I could think of including repairing the databases.

    Last but not least I get 404's on my test site as well.

    Therefore I will see if I can get the lead developer in here with his invaluable insight into this plugin for his advice/advise for us.

    Though this may take a bit longer then a normal ticket, I will try to get him in here asap.

    Cheers, Joe

  • Barry
    • DEV MAN’s Mascot

    free_test /freete4st -- that level will not have access to the readings tab and you will see that you get a 404 page not found error.

    Can you give me some of the links you are expecting to see the protected page on and are getting the 404?

    If you mean these ones:
    http://members.planetwaves.net/category/feed/horoscopes/
    http://members.planetwaves.net/category/feed/readings/

    Each of those is a category page, so I assume you have protected posts based on category, so the list is showing all the posts in that category that are visible to a user (stranger), which are none (as they are protected) - so that is the correct default behaviour.

    If you want empty category pages to redirect to a protected page rather than show that they are empty then you need to change the way the plugin works - there is a setting you can add to your wp-config.php file (or edit in the plugin config file) which will allow you to do this.

    Let me know if I've read the situation correctly and I'll pop up the setting.

  • PlanetWaves
    • Site Builder, Child of Zeus

    When testing this issue was any change made to the theme or the path because not the page I'm looking at is totally different. the members site: http://members.planetwaves.net/ seems to have revered to an earlier version because it is the theme i had before (i had changed it to 20/12) and all links redirect to: http://planetwaves.net/pageone/

    Before I involve the server techs I wanted to be sure there was nothing done by you guys. Thanks.

  • PlanetWaves
    • Site Builder, Child of Zeus

    Ok, I got it working and here is something to add to your support info. In addition to the change to the config file, there also has to be at least one category that is accessible on the visitor level, in this case i used "uncategorized" with one post. Once I added that, the not found error went away!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.