Support » Plugin: Compfight » [Plugin: Compfight] "You don't have permission to access …

  • Resolved Brett

    (@kraigerb)


    Hi there

    I am getting the following error when I press on the little compfight button in the editor of WordPress.

    “You don’t have permission to access /wp-content/plugins/compfight/compfight-search.php”

    This is the first time I have tried to use it, so I can’t give any clues as to what is causing it sorry.

    Any ideas?
    Thanks
    Brett

    http://wordpress.org/extend/plugins/compfight/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Brett

    (@kraigerb)

    Please ignore. This was as a result of a security plugin I have. BPS Security. I am not sure quite how to get around it, but at least I know the problem. There is obviously something blocking access to the files.

    same here I can’t even find the file on my server to change permissions

    Hi Brett,

    I found the solution of the BPS incompatibility and Compfight.

    If you still have that issue with BPS you can fix the problem adding to the .htaccess (in root directory) the next code:

    # Compfight error accesing to the photos
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/compfight/ [NC]
    RewriteRule . - [S=7]

    There is a section in the .htaccess that says: PLUGINS AND VARIOUS EXPLOIT FILTER SKIP RULES. I add the code at the end of that section.

    Hope it works for you!!!

    Thanks for that. I will try reenabling BPS and see if I can get this to work. Appreciate your help!

    What does the [S=7] mean?

    Thanks
    Brett

    You’re welcome Brett!

    It means the position of the rewrite rule. This will depend on what you have in your htaccess file. In my case I deleted the position 7 (designated to Xcloner) and included the code I showed above.

    If you have the position 7 already occupied, try to include the code at the beginning of the list, and change the number that corresponds to your case.

    You can also do the same as I did, if you’re not using the Xcloner plugin.

    I hope I have been helpful.

    Sorry for my bad English, is not very good.

    🙂

    Thanks again. I understand now. Have never seen that used before.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Compfight] "You don't have permission to access …’ is closed to new replies.