• I am trying to use WP Migrate Lite as advertised to do an export and run a site locally using the Local app. This is for a site I help maintain but where I don’t have server access. The host server is a Windows machine (Microsoft-IIS/10.0), while I’m on a Mac (which may be relevant).

    I followed the instructions at https://deliciousbrains.com/wp-migrate-db-pro/doc/importing-wordpress-local-development-environment/ and downloaded everything except WP Core. Then I dragged the zip onto the import screen.

    I got an immediate “Error on importing a Zip file”

    I unzipped the export to inspect it and I saw that the file paths seem garbled:

    Inside a folder called files\wp-content there is a list of folders that look like this — these are the exact names, including slashes:

    mu-plugins\

    mu-plugins\\force-strong-passwords

    mu-plugins\\force-strong-passwords\languages

    plugins

    plugins\\acf-better-search

    plugins\\acf-better-search\assets\build\css

    plugins\\acf-better-search\assets\build\js

    plugins\\acf-better-search\src

    plugins\\acf-better-search\src\Admin

    plugins\\acf-better-search\src\Helper

    plugins\\acf-better-search\src\Notice

    plugins\\acf-better-search\src\Search

    plugins\\acf-better-search\src\Settings

    plugins\\acf-better-search\templates\components\notices

    ....

    The plugins folder is empty, and then all the folders below it look like they should be in that folder but are not. Same with Uploads.

    I imagine we could write a script to properly parse all this stuff into proper folders and then rezip it, but I’m hoping there’s an easier way!

    I searched the forum but didn’t find anything relevant to this issue.

Viewing 1 replies (of 1 total)
  • Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @danrademacher!

    WP Migrate Support Team here. Thanks for reaching out with your query! We would be happy to assist.

    During export, could you please confirm if you encountered any errors? Does the same issue happen when doing a full site export?

    Can you try editing your wp-config.php file to replace this line –

    define( ‘WP_DEBUG’, false );

    With these lines –

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);

    This will cause all runtime errors, warnings, and notices to be written to /wp-content/debug.log, which will hopefully yield some better information about what’s going on.

    Can you try the process again and then send the contents of the debug.log file if created, please. Feel free to redact any sensitive info.

    More details about that at https://ww.wp.xz.cn/support/article/editing-wp-config-php/#wp_debug

    Once troubleshooting is done, you should revert that config change and delete the debug.log file.

Viewing 1 replies (of 1 total)

The topic ‘Filepath issue downloading from WIN server?’ is closed to new replies.