• Hello, I am troubleshooting a website built by someone else at https://www.dlhpatent.com/. I was attempting to install Jetpack when I got this error back:

    Your Jetpack has a glitch. Something went wrong that’s never supposed to happen. Guess you’re just lucky: xml_rpc-32700
    Try connecting again.

    Error Details: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure https://www.dlhpatent.com/xmlrpc.php is working properly. It should show ‘XML?RPC server accepts POST requests only.’ on a line by itself when viewed in a browser and should not have any blank links or extra output anywhere.

    I went to my xmlrpc file at https://www.dlhpatent.com/xmlrpc.php
    and received a host of warnings seemingly indicating that the links in the xmlrpc file are bad. Here’s the list of warnings:

    Warning: include(./wp-load.php) [function.include]: failed to open stream: No such file or directory in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 29

    Warning: include() [function.include]: Failed opening ‘./wp-load.php’ for inclusion (include_path=’.;c:\php\5\pear’) in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 29

    Warning: include_once(ABSPATHwp-admin/includes/admin.php) [function.include-once]: failed to open stream: No such file or directory in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 53

    Warning: include_once() [function.include]: Failed opening ‘ABSPATHwp-admin/includes/admin.php’ for inclusion (include_path=’.;c:\php\5\pear’) in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 53

    Warning: include_once(ABSPATHWPINC/class-IXR.php) [function.include-once]: failed to open stream: No such file or directory in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 54

    Warning: include_once() [function.include]: Failed opening ‘ABSPATHWPINC/class-IXR.php’ for inclusion (include_path=’.;c:\php\5\pear’) in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 54

    Warning: include_once(ABSPATHWPINC/class-wp-xmlrpc-server.php) [function.include-once]: failed to open stream: No such file or directory in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 55

    Warning: include_once() [function.include]: Failed opening ‘ABSPATHWPINC/class-wp-xmlrpc-server.php’ for inclusion (include_path=’.;c:\php\5\pear’) in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 55

    Fatal error: Call to undefined function apply_filters() in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\xmlrpc.php on line 65

    I switched to the TwentyTwelve theme and uninstalled all plugins except Akismet, but to no avail. It looks to me like the xmlrpc file and files such as wp-load.php are in the same root directory. If there is some other directory above my current root directory I’m not aware of it, nor how to check that. Please help, this is extremely baffling.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter dlhpatentcom

    (@dlhpatentcom)

    I just did that, BUT I didn’t delete all my old files, I just did an overwrite command. I’ll see if completely deleting everything else helps.

    Thread Starter dlhpatentcom

    (@dlhpatentcom)

    This is the error I got when I typed in my URL after I tried your solution:

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;c:\php\5\pear’) in \\boswinfs01\home\users\web\b834\ywh.dlhpatentcom\index.php on line 17

    Thread Starter dlhpatentcom

    (@dlhpatentcom)

    I have still not found a solution for this problem. I very strongly believe that the URLs in my XML-RPC file are incorrect. If someone can suggest what to change them to to fix this problem, or how to generate a new XML-RPC file, I would really appreciate it. Thanks!

    Thread Starter dlhpatentcom

    (@dlhpatentcom)

    I have finally figured it out. The fix was extremely simple, but hard to find. I changed this line:

    /** Include the bootstrap for setting up WordPress environment */
    include('./wp-load.php');

    To read:

    /** Include the bootstrap for setting up WordPress environment */
    include('wp-load.php');

    This can be marked resolved.

    hey I have the same problem now, I turned off my jetpack and tried to turn it on again and the same error occured.

    when I go to the url it shows only

    fn()
    ?>()

    ?>ks

    ?>XML-RPC server accepts POST requests only.

    any idea what to do? also this part ‘fn() ?>() ?>ks’ is showing on my website
    https://www.wdrodzedo.pl

    is there any way to repair this file?

    also about a week ago i could open my website, because there was a error and there was a path for jetpack plugin. so i decided to delete it from my FTP and the website started to work again but this thing on the top showed up.

    @bombqa

    You’re going to want to start your own topic. This one is 6 months old.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warnings in XMLRPC.php’ is closed to new replies.