WordPress.org

Ready to get started?Download WordPress

Forums

WP Migrate DB
[resolved] Running this downloads wp-login.php from the site even though i'm logged in. (9 posts)

  1. redesigned
    Member
    Posted 1 year ago #

    Running this downloads wp-login.php from the site even though i'm already logged in. Cannot find the backup file on the server either. :-(

    http://wordpress.org/extend/plugins/wp-migrate-db/

  2. Brad Touesnard
    Member
    Plugin Author

    Posted 1 year ago #

    I'm confused, what is happening exactly?

  3. redesigned
    Member
    Posted 1 year ago #

    when i run wp-migrate to generate the new sql file for migration, instead of creating the file i needed, it triggers the borwser to download the wp-login.php file.

    this was happening on a client hosted on hostgator.
    it also happened a week later on a client hosted on a IIS server.

    normally wp-migrate-db works like a champ, but for some reason in certain cases it doesn't generate the files and rather spits out the login php file as a download instead, even though you have to already be logged in in order to run wp-migrate-db.

    does that make sense?

  4. Brad Touesnard
    Member
    Plugin Author

    Posted 1 year ago #

    Yep, I understand now but it's very strange. Maybe you can tell me what other plugins those two sites had in common? It's possible something in another plugin is conflicting.

  5. redesigned
    Member
    Posted 1 year ago #

    they both only use the image-widget and the wysiwyg-text widgets. neither has any other plugins, they are both pretty basic sites.

    maybe an incompatibility with wp-migrate-db and certain server configurations?

    sorry i wish i had more info about a possible cause, i know this bug report isn't a lot of help without more info or a way to reproduce. Has anyone else reported this issue?

    Both these sites are already moved from those locations to new locations, which is why i was trying to use your plugin, or else i'd try and get you access info.

  6. Brad Touesnard
    Member
    Plugin Author

    Posted 1 year ago #

    Yea, could be a server config issue. Maybe if you tried migrating those sites from their current location it would give us an idea if it was the previous server config?

    No one else has reported this issue, so it's quite the mystery.

  7. redesigned
    Member
    Posted 1 year ago #

    Hi Brad,

    I just wanted to post back that I figured out the issue.

    The file download is passed through a php file instead being a direct download. For some reason the way the php file checks the admin login cookie it doesn't work with several of the major download managers for firefox even though they pass the same cookie.

    Confirmed not working through: FlashGot, DownThemAll, Leech...probably most.

    If you disable the download manager, you no longer download the wp-login.php file itself.

    Hope that helps.

    Thanks,
    Josh

  8. redesigned
    Member
    Posted 1 year ago #

    resolved.

  9. Brad Touesnard
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for debugging this Josh. I'll add this to the FAQ in the next release: https://github.com/bradt/wp-migrate-db/issues/7

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.