WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AskApache Password Protect] Installation htaccess issues (5 posts)

  1. dxsmachina
    Member
    Posted 6 years ago #

    I can activate the plugin but when I go to the Options configuration panel I get this error.

    Warning: Wrong parameter count for sha1() in /home/my-site/public_html/me/wp-content/plugins/askapache-password-protect/askapache-password-protect.php on line 622
    htaccess support not found

    Now, I have been messing with the .htaccess file because I have hotlinking disabled and I've been ip denying the spam bot that has found a hole somewhere in my wordpress and is uploading stuff that sends spam all over with added bounce backs in my email. So I'm not sure if this is the plugin or me.

    Sigh.

  2. askapache
    Member
    Posted 6 years ago #

    Sure sounds like the plugin, more specifically I forgot to add some error checking for incompatible versions of sha1 function. I'll get on this.

  3. askapache
    Member
    Posted 6 years ago #

    It turns out that support for the 2nd parameter of sha1 just isn't there for older php versions.. luckily I was able to to find a workaround hack using pack

  4. dxsmachina
    Member
    Posted 6 years ago #

    Yay, I'll give the new version a shot. Crosses fingers. Thank you so much.

  5. dxsmachina
    Member
    Posted 6 years ago #

    Okay LOL, I have this showing at the top of my wordpress dasboard right now but it doesn't seem to break anything right at the moment:
    Warning: Invalid argument supplied for foreach() in /home/my-site/public_html/me/wp-content/plugins/askapache-password-protect/askapache-password-protect.php on line 701

    All of the tests came back [Bad!] and 404 not found. Whee, but it does let me both view and go into set up... sadly then when I try adding a user it gives me this:

    Forbidden
    You don't have permission to access /me/wp-admin/options-general.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Sigh, well I'm not sure what to say. Let me know if there's anything I can do or if you'd like more info.

Topic Closed

This topic has been closed to new replies.

About this Topic