I have blogger export files created by the same application; the application was part of a social site so I have no access to it and the social site is now dead. Some of the files don't want to import and when I load them in PsPad; which is XML aware, I have noticed that the files that will import have the syntax highlighting and the file that won't import does not have the syntax highlighting indicating that PsPad does not read the XML as a valid XML document. Looking at the files I don't see anything wrong with them; and I even copied the header from the one that does load as valid to the one that doesn't even though I could not see anything different.
I am just now exploring XML and I am a babe lost in the woods with this.
Geeks, making the world a better place |
I have determined that it is the size of the file that is causing me grief. The export I am working with is over 20 megs. Nginx is stopping with a 502 Bad Gateway. I have made a few changes in php-fpm and Nginx configurations but it still stops with the bad gateway error. I chopped the xml file down to a smaller size and the blog post entries were imported to the blog.
The importer is using:
$oDoc = new DOMDocument(); @$oDoc->load($sFile); $eEntrys = $oDoc->getElementsByTagName("entry");
So I probably need some Nginx/php-fpm gurus to help here.
Geeks, making the world a better place |
I have no idea what this is about  so much to do.... |
When I look in the php_fpm log file, it is telling me that I only have max_children set to 5; when I have it set higher in the config file which leads me to believe I have been changing the wrong config file. Ugh as Charlie Brown would say. Stay tune to the continuing saga of Geek Girl. Geeks, making the world a better place |
I have no idea what this is about 
Not the words I wanted to hear. I need an Nginx/PHP-FPM on Cent OS guru to help guide me here.
I promised my members they could take their old blog posts to the new site and I am determined to accomplished that. The first problem was that the old social site programmers did not read Google's detail documentation on the atom format of a blogger export. So I rewrote the importer to work with the export file but it is stopping on a large import file with the bad gateway error. Smaller import files are imported without the error.
Geeks, making the world a better place |
Found the entry with the max_children; I changed the wrong pool. So maybe that is why I am getting the gateway error; need to check on the timeout issue as well, I thought that was set to 60 seconds in php.ini but I may need to set it in the php-fpm config. Geeks, making the world a better place |
Success; it was the execution times; they just needed to be large in order to give the script time to read in all the entries. Geeks, making the world a better place |