• Resolved remymedranda

    (@remymedranda)


    Hello,

    I’m trying to view the modifications done to files after I ran a scan, but I’m getting an api error.

    Also, I have several sites running on a shared server, and actually noticed that Wordfence was scanning all files on the shared server, after it gave me a warning about a file having being modified but not on the site the plugin was installed on but instead a site that was on our shared server.

    So do we need to install Wordfence on each and every site within the shared server or only one?

    https://wordpress.org/plugins/wordfence/

Viewing 8 replies - 1 through 8 (of 8 total)
  • If they are all subdomains under the same blog installation, then no. If they are separate domains, then yes, install it on each one. You are likely picking up the other sites files because you selected to scan files outside your wordpress folder on the server. This option is on the options page.

    If you are still getting the api error, try checking the box on the options page that says ‘disable config caching’ near the bottom of the page.

    Thanks!

    tim

    Thread Starter remymedranda

    (@remymedranda)

    I have site domains all with different names. So, Did exactly how you said, but still getting errors.

    I’ve made sure all my sites have wordfence and are only searching within their own wordpress installation, and disabled config caching, but still didn’t work.

    So I unselected disable config caching, because I’m not having any trouble with my settings saving, but I couldn’t get it to work.

    After doing some tests on the other subdomains, I did have some success though, which leads me to believe maybe something else is going on we haven’t thought of.

    There were 2 warning messages on one of the sites I manage kylekushman.com. One of the warning messages did allow me to view the modified pages, the other one didn’t. The one labeled,
    Modified plugin file: wp-content/plugins/wysija-newsletters/views/front.php was the one that didn’t work. But, Modified plugin file: wp-content/plugins/nextgen-facebook/readme.txt did allow me to view the file.

    It also worked purelifeveganix.com for Modified plugin file: wp-content/plugins/store-locator/js/store-locator.js

    BUT did not work for Modified plugin file: wp-content/plugins/new-user-approve/new-user-approve.php

    OR http://www.purelifeveganix.com/?_wfsf=diff&nonce=4f5c4cb126&file=wp-content%2Fplugins%2Fwysija-newsletters%2Fviews%2Ffront.php&cType=plugin&cKey=wysija-newsletters%2Findex.php&cName=MailPoet%20Newsletters&cVersion=2.6.12

    So it seems to be that maybe there is some error within that part of the plugin that’s working for some files but not all. What could be the cause of this?

    Other shared domain susieambrose.com didn’t allow me to view modified file which was for: Modified plugin file: wp-content/plugins/wysija-newsletters/js/tinymce_init.js

    Can you screenshot the api error message and post here?

    Thanks!

    tim

    Thread Starter remymedranda

    (@remymedranda)

    http://awesomescreenshot.com/03a3oy1g68

    That’s the error I get.

    I too am getting the same error for any modified file:
    WordFence API error: An error occured trying to open the requested file.
    when clicking on See how the file has changed in Modified plugin file.
    View the file still works and I get the same result whatever the status of ‘disable config caching’
    It used to work, the previous one I checked was 1 month 17 days ago but now I cannot check it again.

    Hey

    There was a server error that was causing this. We fixed it earlier today. Can you try a new scan and let me know the results?

    tim

    Thread Starter remymedranda

    (@remymedranda)

    I can confirm that the error is not being reproduced on my end anymore. Good work Tim.

    It’s fine for me now as well. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Keep getting api errors when trying to view files that were modified’ is closed to new replies.