• Resolved sipe

    (@sipe)


    Can someone please tell me what to do for the following error message for https://loveinourowntime.com/:

    Warning: require(/home//public_html/wp-includes/class-http.php): failed to open stream: No such file or directory in /home//public_html/wp-settings.php on line 140

    Fatal error: require(): Failed opening required ‘/home//public_html/wp-includes/class-http.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home//public_html/wp-settings.php on line 140

    I don’t understand how this happened because the whole site was working fine two days ago and I haven’t made any page/post updates, haven’t added any new functionality or plugsins and haven’t made ANY changes.

    I cannot tell what version of wordpress that I’m running because I cannot login. But it is an older version.

    All help majorly appreciated.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter sipe

    (@sipe)

    I tried deleting line 140 on /home//public_html/wp-settings.php and this didn’t fix things.

    bernbe01

    (@bernbe01)

    hey there

    do you have ftp access?

    if yes you can find your wordpress version by opening wp-includes/version.php

    i would start by deactivating plugins temporarily to confirm it is not an issue. using ftp, rename the folder wp-content/plugins to wp-content/plugins.HOLD

    also revert your changes in wp-settings.php please

    test. if no luck proceed to:

    i think you’re going to need to manually re-install whichever version you are on if you do not want to go to current

    i would suggest:

    0. take a backup of your existing system (files & database – let me know if you need help)

    1. download the your version of wordpress from the release archive

    2. unzip it locally on your computer

    3. connect to your server using an ftp client, selecting option to see hidden files if available

    4. delete from your server everything in wordpress’s install folder except wp-config.php and wp-content/

    5. upload from the newly unzipped wordpress files all files and folders except wp-content/ (there will not be a wp-config.php in the newly unzip wordpress)

    Thread Starter sipe

    (@sipe)

    Thanks Bernbe01. Version is below. I will take the first step you mentioned.

    application/x-httpd-php version.php
    PHP script text
    <?php
    /**
    * The WordPress version string
    *
    * @global string $wp_version
    */
    $wp_version = ‘3.5.1’;

    /**
    * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
    *
    * @global int $wp_db_version
    */
    $wp_db_version = 22441;

    /**
    * Holds the TinyMCE version
    *
    * @global string $tinymce_version
    */
    $tinymce_version = ‘358-23224’;

    /**
    * Holds the required PHP version
    *
    * @global string $required_php_version
    */
    $required_php_version = ‘5.2.4’;

    /**
    * Holds the required MySQL version
    *
    * @global string $required_mysql_version
    */
    $required_mysql_version = ‘5.0’;

    Thread Starter sipe

    (@sipe)

    Ok I have deactivated plugins temporarily by renaming the folder wp-content/plugins to wp-content/plugins.HOLD

    I have readded line 140 to wp-settings.php

    bernbe01

    (@bernbe01)

    any change on the frontend?

    if not do you mind trying to manually re-install version 3.5.1 from the release archive following the instructions above?

    Thread Starter sipe

    (@sipe)

    I only have an XML back up from July 2014 and a list of the plugins used.

    Are you saying to use the backup wizard in the cpanel of the hosting? Or downloading all the files on the FTP?

    Appreciate your help thus far.

    ANOTHER OPTIONS
    Someone else suggested it is a virus if a file has one missing?

    Thread Starter sipe

    (@sipe)

    Version 3.5 or 3.5.1? Sorry, this is beyond my technical expertise.

    bernbe01

    (@bernbe01)

    it could be a virus or a hack, thats why reinstalling your wordpress core is a good idea. a corruption in the files could have this affect too

    for the backup, are you talking about step 0?

    if yes, for now download all files via ftp

    then following those instructions upload clean versions from the release archive for everything *except* wp-config.php and the wp-content folder

    –> this will preserve your themes and plugins (which should all still be deactivated)

    taking a backup of the database can be done via phpMyAdmin or mysql directly. in cpanel you usually can manage your databases, and inside of the phpMyAdmin option there is usually an Export tab which will allow you to download the current db to your computer

    the backups are just a safety precaution

    Thread Starter sipe

    (@sipe)

    Sorry ignore my last post. ?? I see you said 3.5.1,

    bernbe01

    (@bernbe01)

    you’re doing awesome! no need for apologies

    Thread Starter sipe

    (@sipe)

    Um so in the hosting Cpanel, is the File Manager diff to the FTP accounts? I can download files through the File Manager > Web Root (public_html/www)

    But going to FTP accounts, it looks like I need to download a separate program.

    bernbe01

    (@bernbe01)

    that is true that to use ftp you would need a separate program such as filezilla

    if you are able to download your wordpress installation directory via file manager that would be acceptable, but learning to use ftp might prove useful in the long run, especially when we get to uploading the files and folders from the clean wordpress you downloaded

    i suggest you search the help docs on your host’s site for how to use ftp, as they will likely have specific information for your environment

    typically it is just andaddress, username, and password that is needed to begin with ftp

    Thread Starter sipe

    (@sipe)

    Ok thanks. I HUGELY appreciate your help thus far. I will have to come back to this as I have to work on something else and will need to set time aside to fix the issue – it is more complex that I thought.

    bernbe01

    (@bernbe01)

    no problem at all! best of luck!

    Thread Starter sipe

    (@sipe)

    Thanks Bernbe. Got the hosting to reinstate a backup. Now can rebuild from there.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Fatal error’ is closed to new replies.