Http Error, importing XML (WXR), with wordpress importer.
-
ON WORDPRESS MULTISITE
So i have had this bug for about a month now and I can’t get it resolved.
Everytime I try to upload an XML file for the wordpress import tool, it gets to about 70% then it freezes the upload, trys again and freezes again at the same percentage then gives me an “http error” (no code). The debug log doesn’t have anything related to this. I can upload the logs if it requested. Any help is appreciated.
(the percentage seems to only be related to the size to the file. So any where from 40% – 80%)Here are some of my server settings.
Running LEMP
Centos 7.3.1611
Nginx 1.10.2
Maria DB 5.5.52-1
PHP 7.0.16php.ini
upload_max_filesize = 100M post_max_size = 125M max_file_uploads = 20 memory_limit = 128M max_execution_time = 300
myServer.conf (Nginx)
server { listen 80 ipv6only=off; server_name my_actual_domain_name_is_here; client_max_body_size 0; # note that these lines are originally from the "location /" block root /var/www/html; index index.php index.html index.htm; location / { try_files $uri $uri/ /index.php?$args; } rewrite /wp-admin$ $scheme://$host$uri/ permanent; error_page 404 /404.html; error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
yum list installed php*
Installed Packages php70w.x86_64 7.0.16-1.w7 @webtatic php70w-cli.x86_64 7.0.16-1.w7 @webtatic php70w-common.x86_64 7.0.16-1.w7 @webtatic php70w-fpm.x86_64 7.0.16-1.w7 @webtatic php70w-gd.x86_64 7.0.16-1.w7 @webtatic php70w-mbstring.x86_64 7.0.16-1.w7 @webtatic php70w-mcrypt.x86_64 7.0.16-1.w7 @webtatic php70w-mysqlnd.x86_64 7.0.16-1.w7 @webtatic php70w-opcache.x86_64 7.0.16-1.w7 @webtatic php70w-pdo.x86_64 7.0.16-1.w7 @webtatic php70w-xml.x86_64 7.0.16-1.w7 @webtatic php70w-xmlrpc.x86_64 7.0.16-1.w7 @webtatic
I am adding additional mime types with a plugin via
$additional_types = array ( 'xml' => 'text/xml', 'kml' => 'application/vnd.google-earth.kml+xml', 'kmz' => 'application/vnd.google-earth.kmz', 'ico' => 'x-image/x-icon', 'pub' => 'application/x-mspublisher');
I can connect to the site, build pages, posts, upload other media even much larger than the xml files, and all that jazz. I just can’t upload that xml file.
*NOTE: I have full server access.
- The topic ‘Http Error, importing XML (WXR), with wordpress importer.’ is closed to new replies.