WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Jetpack showing error xml_rpc-32700

[Resolved] Jetpack showing error xml_rpc-32700

  • Yesterday unknowingly I deactivated my JetPack plugin and just immediately after that I try to activate it. It got activated and ask me to connect my Jetpack to my WordPress.com as usual. Here the problem comes when I try to activate it it gives an error like:

    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 http://www.infagalaxo.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.

    http://wordpress.org/plugins/jetpack/

Viewing 15 replies - 1 through 15 (of 30 total)
  • Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hi!

    As that line states, your xmlrpc.php file needs to display only: “XML‑RPC server accepts POST requests only”, but I see errors in your xmlrpc.php file. It suggests that some plugin, theme, or wp-config.php file in your WordPress has extra “whitespace” (new lines, spaces, tabs, …) before the first “<?php” in the file. This problem is another symptom of a more common problem: the “Headers already sent” problem: http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Can you check your wp-config.php, theme files, and plugins for such whitespace?

    Hi
    Richard
    Can you show me the detail way to get out of this? Because I just love this plugin and except this am not going to try any thing else. But I don’t know how to solve this, sorry am not a master in programming languages.

    So kindly make it ease for me.

    Thank you.

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hi,

    The link I pointed you to does give some information on how to check for whitespace in your varying files. Try those instructions, and let me know if there’s anything that’s giving you trouble in particular.

    You may also want to contact your webhost about the first error here:

    http://www.infagalaxo.com/xmlrpc.php

    Warning: ini_set() has been disabled for security reasons in /home/infagala/public_html/wp-includes/load.php on line 278

    That is also affecting Jetpack’s connection.

    lifeofinterests

    @lifeofinterests

    hi @richard same problem for me
    http://lifeofinterests.com/xmlrpc.php
    and the solution in that link did not help

    lifeofinterests

    @lifeofinterests

    the problem can be solved my just inserting

    if ( defined( 'XMLRPC_REQUEST' ) )
    		ini_set( 'display_errors', 0 );

    in /** */
    ur code will look like

    /**
    if ( defined( 'XMLRPC_REQUEST' ) )
    		ini_set( 'display_errors', 0 );
    */

    hope this helps.

    Jagabandhu

    @infagalaxo

    HI
    @lifeofinterests

    I have one doubt where I will find this code and can change it?

    lifeofinterests

    @lifeofinterests

    its on line 278 in load.php

    lifeofinterests

    @lifeofinterests

    Open your website control panel . I am using Cpanel , if you are using the same well and good it’s easy for me to explain. Browse through /home/yourdomainname/public_html/wp-includes/load.php path. Now we have to edit load.php file. There is a small change in the 278 line. In Cpanel you don’t have number lines for the code. So do what I say, Press ctrl+f to open search box. Type xmlrpc in the search box. You will be directly taken to the line will we have to edit. You will see the following code.

    if ( defined( ‘XMLRPC_REQUEST’ ) )
    ini_set( ‘display_errors’, 0 );
    
    this code should be kept in the comments. After adding the comments the code should look like the below..
    
    /**
    if ( defined( ‘XMLRPC_REQUEST’ ) )
    ini_set( ‘display_errors’, 0 );
    */

    Save the changes. Now go to dashboard and try to connect with wordpress.com site. You will definitely get connected with the wordpress.com site and both the problems will be solved.

    If you test the http://yourdomain.com/xmlrpc.php URL it should display the following message in one line.
    XML-RPC server accepts POST requests only.
    It should look the small when you open with your domain URL. If all is well then after installing jetpack you will see this pic live with your site. Hope this will help you.

    Jagabandhu

    @infagalaxo

    You are right,, @lifeofinterests It worked,,
    Thanks a lot, for making it happen,,,,

    lifeofinterests

    @lifeofinterests

    Sir,
    kindly change the topic to resolved.

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Done!

    @lifeofinterests

    Excellent! That worked!

    If it doesn’t work for anybody, I’d suggest looking up the plugin support page for basic requirements and plugin conflicts.

    Hello! Sorry to start this topic up again but I was having the very same issues…

    http://www.miseducated.net/xmlrpc.php

    I tried inserting the part above as stated and it didn’t take my error away. I also have another one that seems like it’d be an easy fix.. I hope?

    Thank you so much for reading!

    Plugin Author Jeremy Herve

    @jeherve

    @amberrenee If the fix above didn’t help, I would suggest that you contact your hosting provider to let them know about the issue. They should be able to help you out.

    I’m having the same issue. I commented out the above code and it didn’t help. Here is my error.

    Error Details: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure http://ncfmaryland.org/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.

    It happens after I install the plugin and try to connect to wordpress.com

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘[Resolved] Jetpack showing error xml_rpc-32700’ is closed to new replies.