-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If WordPress isn't installed at webroot export download doesn't work #4
Comments
Interesting. The link that is shown on the notice indeed points to the root folder, even if your site doesn't exist there. You should still be able to download the file and delete it manually. Sorry for the inconvenience. This can be fixed in a few ways, the first idea I got was switching to query params completely, like checking I'm very busy in the coming weeks, so I don't have the time for fixing this and testing througly. |
@aoloe Does this work for you? https://github.com/libreform/export/archive/allow-nonwebroot.zip No guarantees that it works, but it just might. |
it works better. but now i get a popup instead of the csv to be downloaded... the content is: """ the url of the popup is: |
By popup, you mean the WordPress error screen? If it's a JavaScript confirm prompt it's coming from somewhere else. I'm going with the assumption that it's the WordPress error screen. By the looks of the URL, it may be that WP doesn't like the action parameter on edit.php, but this is just a guess. By using get_site_url() in front of the URL, it should (probably) work. You can do that by editing these lines. I can't make a patch right now, but if you try this and it works, feel free to submit a pull request :) |
using |
if wordpress is not installed at the root of the server, the export link does not respect the custon url.
in my case, the wordpress directory is not even at the root of the wordpress site...
The text was updated successfully, but these errors were encountered: