• Resolved johnwp413

    (@johnwp413)


    This made be an odd request – and something I didn’t find information about after a handful of support searches.

    Basic situation – somehow a website’s WP core files got changed or corrupted but it only affects being able to log in (domain.com/wp-admin). The full WP functionality for the website tests out fine (page loading, etc.).

    Most recent snapshot I have with Duplicator is from about 3.5 weeks ago, so I’m pretty sure it includes the most recent WP update. I wonder if I am able to “pluck” files or the full wp-admin directory from the zip file and simply replace the existing via CPanel. Or is there some other way to reinstall WP and “exclude” /wp-content/ using the most recent Duplicator package. Some way of overwriting the WP install with something that was functioning but not lose the website changes made over the 3.5 weeks…..Possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @johnwp413,

    Its probably not recommended unless you know for sure your working with the exact same version. You might also be able to do something similar to a two-part install:

    ? ? – Two-Part Install
    ? ? – https://snapcreek.com/duplicator/docs/quick-start#quick-060-q

    Hope that helps~

    Thread Starter johnwp413

    (@johnwp413)

    Thanks Cory. Unfortunately I cannot run Duplicator on the hosted site because I have no access.

    My challenge is that I have –
    1) A 4 week old Duplicator package that is missing 4 new pages and minor other differences on existing pages.
    2) Something “odd” that is corrupted in WP core that ONLY affects hosted site admin and not site function.
    3) Conformed both the most recent duplicator package and the current site are running WP 4.9.8. I launched the most recent referenced above package on my localhost.

    So, not being able to access the dashboard (start /wp-admin.php) and simply reinstall/repair WP, I was hoping to be able to find some path between the 4 week old Duplicator files (in the zip) and the still running website. My customer’s host will help but there has to be a more or less open ended check to get support from their WP “experts.” You buy “credits” that are only good for 30 days. Each action takes a credit, or something. Very convoluted.

    At this point I have saved the currently running files (ftp) and I am looking to see if any files look different in what I assume is core WP. That is, comparing files pulled recently to the files in the last Duplicator package. It is proving too tedious at this point. Lots of files. Next step is to backup the hosted mysql db and run the existing hosted version I downloaded. I will then start by taking a directory from the Duplicator package (e.g. /wp-admin/) and replacing it in the local version to see if anything breaks in running the site (localhost) and then if it fixes the admin access. If it does eventually lead to a solution, I may come back and leave another “review” with brief details as it will be a secondary benefit for the tool! At least in my eyes.

    Thanks for the details. If your trying to do a compare on large directories you might try this tool, it can come in handy:
    https://winmerge.org/

    Hope that helps~

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible to user “part” of zip file?’ is closed to new replies.