• Resolved veganadvocate

    (@veganadvocate)


    I have installed all of the PHP components but the WP site health does not notice that fact.

    Maybe I need to develop a BASH script to install all of the desired components at once?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hi @veganadvocate,

    Apologies for the delay in following up with you on this. We’re working through a bit of a backlog.

    You shouldn’t have to do much (if any?) custom massaging of your WordPress install to get Jetpack connecting — we connect over XML-RPC, which comes pre-installed with WordPress. Can you tell us more about what you’re trying to do?

    Currently, when we run this command:

    
    curl -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello</methodName></methodCall>' https://www.hardcoregames.ca/xmlrpc.php
    

    …we get this:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
      <fault>
        <value>
          <struct>
            <member>
              <name>faultCode</name>
              <value><int>-32700</int></value>
            </member>
            <member>
              <name>faultString</name>
              <value><string>parse error. not well formed</string></value>
            </member>
          </struct>
        </value>
      </fault>
    </methodResponse>
    

    …when we should get this:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
      <params>
        <param>
          <value>
          <string>Hello!</string>
          </value>
        </param>
      </params>
    </methodResponse>
    

    Please work with your host or your security plugin’s customer support to ensure we’re able to talk to xmlrpc.php, then try reconnecting Jetpack:

    https://jetpack.com/support/reconnecting-reinstalling-jetpack

    Let us know how it goes!

    Thread Starter veganadvocate

    (@veganadvocate)

    I have already did these steps by the errors continue

    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
      <fault>
        <value>
          <struct>
            <member>
              <name>faultCode</name>
              <value><int>-32700</int></value>
            </member>
            <member>
              <name>faultString</name>
              <value><string>parse error. not well formed</string></value>
            </member>
          </struct>
        </value>
      </fault>
    </methodResponse>
    • This reply was modified 2 years, 12 months ago by veganadvocate.
    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @veganadvocate,

    Thanks for the follow-up. I trust your host has confirmed they have checked the xmlrpc.php file to make sure nothing is blocking it?

    It’s also worth checking whether any Jetpack IP addresses are blocked. The full IP range can be found at the bottom of this page:

    https://jetpack.com/support/hosting-faq/`

    Also, check for any security/caching plugin you may have enabled, and try temporarily disable them, to see if it fixes the problem. You may also want to search for any firewall on your server-side that might be blocking the communication with Jetpack – your host should be able to help you with that too.

    From what I can see, these seem to be the steps to take 🙂

    Let me know how you get on and we’ll take it from there. Thanks!

    Thread Starter veganadvocate

    (@veganadvocate)

    My Firewall allows only standard ports to be used
    never was a problem in the past

    Plugin Contributor Dan (a11n)

    (@drawmyface)

    Hi there

    You mentioned “php-xml installed but not detected”

    If that’s the case, this could be why Jetpack is unable to connect.

    Can you reach out to your host and ask them if the PHP XML extension is properly installed and active on your server? If WordPress can’t detect it, then PHP won’t be able to parse XML, which will result in the error being reported.

    Thread Starter veganadvocate

    (@veganadvocate)

    I am the webmaster and I have installed all the standard components, there are far too many problems to fix them all

    Thread Starter veganadvocate

    (@veganadvocate)

    I have resorted to removing JetPack as unworkable

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @veganadvocate,

    I’m sorry to hear that. Please do take into consideration the option of reinstalling Jetpack anytime soon. In the unfortunate case you still have troubles, we’ll be here ready to help.

    I’m going to mark this thread as solved. If you have any further questions or need some more assistance, you’re welcome to open another thread here. Cheers!

    Thread Starter veganadvocate

    (@veganadvocate)

    I am still having issues with PHP-XML not being recognized so is there a setting in php.ini I may need?

    Thread Starter veganadvocate

    (@veganadvocate)

    I upgraded to PHP 8 which seems to work now which is suggestive that WP is not compatible with older versions of PHP etc

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘php-xml installed but not detected’ is closed to new replies.