Closed theShiva closed 8 years ago
Hi @hiproz
Thanks for your reply. Windows guy here, and I didn't want to spend time trying out WP-CLI on wpengine.com, so here's what I did.
I then went to the temp directory and found all the posts properly exported as .md
markdown files.
Now that I isolated the issue to the part that zips the files, I manually tried to zip the folder that was created by this plugin, and got the following error. (see screenshot).
Here's the file name (that error-ed out in the zip attempt) on the filesystem in the temp folder that the plugin dropped the .md
files in.
``
And this is the actual URL on the live site, for the post.
What is strange, is that the url in the browse is not showing any special / wierd characters, but when I copy/paste it into this github post, it turns into the following
Notice the 3 dashes ---
after 2011
have turned into some encoded characters.
Any ideas what is going on?
Here's the actual page, if you want to look at the source on live site, or the URL.
There are no three consecutive dashes in the URL between "2011" and "featuring". There is: dash; EM dash; dash. This EM dash (https://en.wikipedia.org/wiki/Dash) is causing the weird file name which does not work in windows.
Simply delete in your wordpress database those three dash and replace them with three normal dashes. rerun the export and you're fine ...
Thanks @SchumacherFM
I deleted the 3 dashes, and even deleted that post and tried the export.
It's still creating a zip file that has bytes, but doesn't unzip, on windows.
So for now, I just using the unzipped set of files that the exporter created on the C:\Windows\temp
folder.
--Shva
Hi,
Here's what I did.
1) Downloaded the repository as a .zip file. 2) Uploaded it as a .zip file in my WPEngine.com hosted Wordpress blog - WP Version 4.4.1. 3) Successfully installed and activated the plugin. 4) Clicked Export to Hugo from the Tools menu. 5) The export started and it created a 54 mb .zip file in my local windows download folder. 6) I tried to unzip the .zip file and am getting an error that the file is corrupt. 7) I tried double-clicking .zip file and when I did that, there's nothing inside.
So the file is getting created, because I can open it in a text editor and see binary characters, and it is about 54 Mb, i.e. not an empty file.
I don't know the PHP and other versions. I think Wpengine.com uses the latest of everything.