• When I password protect a page and then I click on the page I amprompted for password. I enter it but then only a blank page is loaded! I know the password is correct. I have searched the forums for hours and tried everything I read all to no avail. Can anyone help me with this? Thanks so much!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    No I have not I was just using what is already there to protect a page…. but all I get is a blank page. Why doesn’t it work? It is a fresh install with solipsus 1.5 theme

    Have you tried it with the default theme? At least then you’d know it was an issue with the theme rather than with WordPress itself…

    Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    Yes I have tried with the default theme and it does the same thing. I make a page select a password save and publish but all I get is a blank page

    here is link peek-a-booand the password is test

    what am missing… I am stumped… thanks

    ps I ave searched the forums to no avail

    Hmmm – I’m certainly stumped too. I’ve never tried to use that feature. Are you logged in when you’re trying it?

    OK – so far my search has yielded the fact that you’re right, it doesn’t work as is. After you enter the password and click submit, you must press F5 on your computer, then the page will load. I would suggest that if it’s possible, put some text above the login form to indicate that.

    I’ll keep looking and see what else I can find, maybe a way around that.

    Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    thanks RoseCitySister…. yes I am logged in… I have cleared cache cookies done all I can think to do…. I have read these forums for hours and seems many are having the same issue with no relief. I wonder if it is a bug in this version? I am new to WordPress and so have not use earlier versions myself. I appreciate all your help!

    If I find an answer I will be sure to post it here.

    Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    On this page of my blog View page here I found this snippet of text twice.

    This post is password protected. To view it please enter your password below:

    Wondering if this being called from two places might be part of the problem. My experience with the dreaded blank page is a syntax error…. The one posted under edit I can delete from the theme comments.php page.

    But I can not find where the first occurrence is being called from any ideas? thanks

    Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    ok I noticed something else about the behavior…. I select a page that i assigned a password to. I enter the password click submit and i get a blank page. Now if I use back button and go back to the page and click refresh (F5) then the page loads…. so something is broken… it appears to be working it just does not load the page after you click submit… so is it the form function? Any ideas?

    Right – that’s what I said:

    After you enter the password and click submit, you must press F5 on your computer, then the page will load.

    So as I see it, you have two choices. Either use a plugin that works, or let your users know that they have to refresh the page after entering their password.

    Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    hmmm no way to fix the current password protect that comes with WordPress2.5.1? Is this a known bug? Guess I can try a plugin but I read that they have not been updates for the current release of WordPress. I appreciate your help

    I tired this solution

    Solution given in another topic related:
    change the line in wp-pass.php
    from:
    wp_safe_redirect(wp_get_referer());
    to:
    wp_safe_redirect(wp_get_referer() . ‘?’);

    and I got a redirect loop error from firefox….

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site’s cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

    Thread Starter eyeletzyahoocom

    (@eyeletzyahoocom)

    Could it be that the blank page shows up because the proper page id is not included in the code? ….

    Probably goes where the ? is? I don’t know – I don’t “speak” PHP – just fiddle around with it.

    Why don’t you try a plugin?

    I use Global-Post-Plugin for password protection but when i upgraded my wordpress to 2.5.1 i’m getting an error means Whenever i try to click on links in all the post (which say “To download this design, go to it’s password protected download page and log in”), 404 error is displayed.

    And normally, for the first time a user should see a page where he can enter a global post password, to access all global-post-password protected pages. After entering that password, he should be able to browse all protected pages, until his session expires. I’ve used the “Global-Post-Password” plugin for setting this up. Please help me out.

    Thxs in advance

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Password protect page’ is closed to new replies.