WordPress for iOS / Android is a application very useful for bloggers who want to write on their web sites when they are not around a laptop or PC.
The WordPress application can be used for both blogs hostate on wordpress.comAnd for blogs self-hosted using the WordPress platform.
Application simple, intuitive and very stable, but sometimes arise connection problems when adding a self-hosted web site in the application. In our case, we could not add to the WordPress application for iOS, a self-hosted web site.
Sorry, we can not log you in. Unable to read the WordPress site at that URL.
How to fix: Sorry, we can not log you in. Unable to read the WordPress site at that URL
Before we get to Uninstallers or to disable pluginURLs to see if there is any conflict with the application, we must understand how it works and what are the vital elements for the proper functioning.
When we want to connect an application a website created with WordPress, we need to keep in mind Protocol remote data transmission, from WordPress to the application (in our case, the WordPress application for iOS). The transport protocol is done through XML-RPC.
When we meet an error of form that we present, we must consider two essential things:
1. To ensure that the server hosting the website, file xmlrpc.php are permissions (chmod) read for "user","group","world"And belongs to the group (chown) right. We can check this by accessing the browser domain.tld / xmlrpc.php. "XML-RPC server accepts POST requests only.", Is the message that must be displayed in the browser.
2. In our case, the problem was a little more complicated. We could not add a website to the WordPress iOS application, because the server does not have the PHP XML module installed.
As a script PHP can run a line XMLIt requires that the server be XML module installed for PHP. Otherwise, WordPress will give the error "Sorry, We Can not log you in"Every time I try to add a website.
Here's how the server error looks, every time I try to add a self-hosted website in the WordPress application on an iPad:
2016 / 11 / 08 07: 59: 17 [error] 13701 #0: * 1666433 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function xml_parser_create () in / srv / www / web / public / wp-includes /IXR.php online classes 264"While reading response headers from upstream, client: my_ip, server: ihowto.tips, request" /xmlrpc.php POST HTTP / 1.1 "upstream" fastcgi: // 127.0.0.1: 9001 "host" ihowto.tips "
How do I view the PHP modules installed on a web server (CentOS, Ubuntu, etc.)
Execute the command line in Terminal: php -m
If the module list do not appear: xml, xmlreader si xmlwriterThen be sure that this is the cause of which can add a site application WordPress for iOS or Android.
How to install PHP XML module on a Web server
Command line for CentOS:
yum install php-xml
After installing php-xml module, restart services: php / php-fpm, httpd / nginx.
Re-add your website to the app, and everything will go smoothly.
PS. Installation of php-xml mode can only be done by the server administrator. If you are not the server administrator, contact and ask your web hosting provider to install or activate this module.