• Hello,

    I’m writting this post cause I don’t have any solution for one of my old website. When I tried to visit the url or the admin page i get this message:

    No such file or directory in?/homepages/24/d310112792/htdocs/wp-settings.php?on line?111

    So since I don’t have acces to the wordpress dashboad, I check on filezilla the phpsettings file and this is the line 111:

    require ABSPATH . WPINC . ‘/functions.php’;


    I don’t know what to do and I would really appreciated some help.

    Thanks a lot in advance

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello@rorschach75

    If the error message contains ‘no such file or directory’, then you need to look in the code to figure out which file is mentioned on that particular line.

    If it is a plugin or theme file, then this means that the plugin or theme files were either deleted or not installed properly.

    You can find it by deactivating the plugin and theme one by one. If you can’t access your WordPress site, you need to rename the plugin or theme folder.

    Thread Starter rorschach75

    (@rorschach75)

    Thanks for your reply.

    And what’s the new name should I used to rename the plugin or theme folder?

    Hi @rorschach75

    Please just add ‘-‘ to the plugin or theme name. For example

    Budddypress

    instead

    Buddypress-

    Pleaser note that you have to check one by one. This will help you identify where the problem is coming from.?

    Thread Starter rorschach75

    (@rorschach75)

    I did it, one by one, but it doesn’t changed anything ??

    have you checking whether the required file really exist (wp-includes/functions.php)? Or trying use default .htaccess file?

    if the file doesn’t exist, then you can use this one https://github.com/WordPress/WordPress/blob/master/wp-includes/functions.php

    If the file already exist, then try to change the wp-settings.php with this one: https://github.com/WordPress/WordPress/blob/master/wp-settings.php

    If you change the wp-settings.php, it’s recommend to rename the file first, Eg. wp-settings.php-old, then create a new wp-settings.php filled with the one in github

    Thread Starter rorschach75

    (@rorschach75)

    Thanks so much for your help. Ok I added the functions.pho file and i changed the wp-settings.php but now I now I have this error:

    Warning: require_once(/homepages/24/d310112792/htdocs/wp-includes/class-wp-textdomain-registry.php): failed to open stream: No such file or directory in /homepages/24/d310112792/htdocs/wp-settings.php on line 155

    Fatal error: require_once(): Failed opening required ‘/homepages/24/d310112792/htdocs/wp-includes/class-wp-textdomain-registry.php’ (include_path=’.:/usr/lib/php7.1′) in /homepages/24/d310112792/htdocs/wp-settings.php on line 155

    Did you check your .htaccess and find something like /usr/lib/php7.1 line? If yes, then try comment or remove that line, or try reinstall wordpress core or update to latest version

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘failed to open stream: No such file or directory in /homepages/24/d310112792/htd’ is closed to new replies.