• fionnlaghballantine

    (@fionnlaghballantine)


    Being the most tech savvy person in the office I was tasked with getting rid of a virus on our website, the virus no longer appears to be there, however I also managed to get rid of some vital files. Are there any quick fixes that will result in me keeping my job?

    I lost the files through ignoring the wordfence warning if I was sure I wanted to delete all the possibly hacked files.

    This is an error that appears when you visit the site, I am currently using css to cover the error up, but would like a more permanent solution. Please help

    Warning: include_once(/homepages/7/d436087486/htdocs/clickandbuilds/Otmag//wp-includes/init.php): failed to open stream: No such file or directory in /homepages/7/d436087486/htdocs/clickandbuilds/Otmag/wp-config.php on line 93

    Warning: include_once(): Failed opening ‘/homepages/7/d436087486/htdocs/clickandbuilds/Otmag//wp-includes/init.php’ for inclusion (include_path=’.:/usr/lib/php7.0′) in /homepages/7/d436087486/htdocs/clickandbuilds/Otmag/wp-config.php on line 93

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Download a fresh copy of WordPress from www.remarpro.com.

    Unzip locally.

    Upload *all files* and *directories* to your site via FTP. That should add any missing files.

    Joy

    (@joyously)

    Apparently you didn’t get it all. There is no such file in WordPress as wp-includes/init.php and the wp-config-sample.php file that you start from is only 89 lines (not 93).

    I would suggest you compare the wp-config-sample.php with the wp-config.php and remove the extra.

    Thread Starter fionnlaghballantine

    (@fionnlaghballantine)

    Thanks very much for prompt replies, havent got access till tomorrow but will try when I get in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No such file or directory found wp-config.php’ is closed to new replies.