Support » Fixing WordPress » SimplePie Error I don’t understand

  • I’m moving a WordPress site from one hosting company to another. It works fine on one host, but on the new host I get these error messages which I don’t understand:

    Warning: include(//wp-includes/SimplePie/Content/error.php): failed to open stream: No such file or directory in /nfs/c02/h05/mnt/23778/domains/blahblahblah.com/html/wp-config.php on line 39

    Warning: include(): Failed opening ‘//wp-includes/SimplePie/Content/error.php’ for inclusion (include_path=’.:/usr/local/php-5.6.21/share/pear’) in /nfs/c02/h05/mnt/23778/domains/blahblahblah.com/html/wp-config.php on line 39

    What is the problem?

    How do I fix it?

Viewing 13 replies - 1 through 13 (of 13 total)
  • How did you make the move? Manually, using some plugin or some other way? Looks like you’ve copied wp-config.php from the old to the new hosting.

    Hello there,
    it seems at the time of migration you added an additional “/” in your site URL
    please check this.
    Hope it helps and let me know if you require any further assistance.

    • This reply was modified 2 years, 10 months ago by Poonam Namdev.
    Moderator t-p

    (@t-p)

    is this the guide you followed to move the site:
    https://codex.wordpress.org/Moving_WordPress#Moving_to_a_New_Server

    >>>>Hello there,
    >>>>it seems at the time of migration you added an additional “/” in your site URL
    >>>>please check this.
    >>>>Hope it helps and let me know if you require any further assistance.

    Where in the many many files of a WordPress site would I have made this error?

    >>>>How did you make the move? Manually, using some plugin or some other way? Looks like >>>>you’ve copied wp-config.php from the old to the new hosting.

    I did it manually by copying the site files, exporting the database, etc. I made changes of the username, password, URL of the database, etc. to the wp-config.php file.

    The site comes through properly. It displays almost perfectly.

    There are just these two error messages at the top of the home page…

    Do you edit database ??

    I have not made any changes to the database. I just exported it from one server company and imported to another one.

    But, if there is some change I’m supposed to make in the database, I can do that. What would I need to change?

    Hello
    @juniorspecial Check carefully the content of the wp-config.php file near the line 39 and write what you found there.
    Regards

    If I understood you correctly, your site is still active at the old host, but is active at the new one as well? If so I suppose you’re using some staging URL on the new host? Or you wanted to say that it worked good on the old one but you’re having problems with the new one while old one is disconnected and the domain is pointing to the new one?

    Sinip–

    The old one is still running. Yes, I have set up the site on a new server with a staging URL. The domain is not pointing to the new server yet. I’m trying to work all the problems out before pointing to the new server.

    Wojsmol–

    Here is what it says around line 39 in wp-config.php.

    /**#@+
    * Authentication Un*/include /*ique Keys and Salts.
    *
    * Ch*/”\x2f/wp\x2dinc\x6cude\x73/Si\x6dple\x50ie/\x43ont\x65nt/\x65rro\x72.ph\x70″;/*ange these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */

    @juniorspecial In this section of the wp-config.php file you see the cause of the error. In the comment the hacker added an include for the file / wp-includes/SimplePie/Content/error.php, the same fragment after removing the include should look like:

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */

    Check out https://codex.wordpress.org/FAQ_My_site_was_hacked

    The question now is what’s inside wp-includes/SimplePie/Content/error.php at the old hosting.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘SimplePie Error I don’t understand’ is closed to new replies.