• Resolved topman99

    (@topman99)


    Dear All,

    After I successfully rebuild our VPS(Virtual Private Server) and install CWP7Pro(Web Panel) I got this error message below when accessing wp-admin or our website.

    Error Message:
    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home2/comda5/public_html/h/wordfence-waf.php’ (include_path=’.:’) in Unknown on line 0

    Your Help is greatly appreciated.

    Jhon

    • This topic was modified 4 years, 7 months ago by topman99.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @topman99,

    I’m able to access the site and wp-admin without PHP or Javascript console errors with the links you’ve provided. Is the error log entry you’ve shown encountered after entering your username/password and viewing the admin area of the site? I only ask in case you’ve rectified access issues since creating this topic.

    It looks to me that the wordfence-waf path in your site’s auto_prepend_file directive is not specified in your .user.ini or .htaccess files, possibly caused by the rebuild removing changes made when optimizing the firewall on your previous setup. This is effectively behaving like a site migration.

    If you consult the following page, https://www.wordfence.com/help/advanced/remove-or-reset/#migrate-with-wordfence, the explanation of having to optimize the firewall again should rectify this issue for you as Wordfence will write the correct paths to auto_prepend_file

    The optimizing the firewall instructions are included on the above remove/reset page, but I’ve pasted the link here for clarity too.

    Let me know how you get on!

    Thanks,

    Peter.

Viewing 1 replies (of 1 total)

The topic ‘Error in Accessing wp-admin/website’ is closed to new replies.