Skip to content
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

Copying from server to local machine #4

Open
BrandonShutter opened this issue Aug 12, 2014 · 2 comments
Open

Copying from server to local machine #4

BrandonShutter opened this issue Aug 12, 2014 · 2 comments

Comments

@BrandonShutter
Copy link

Hey there.

Running Windows - Server is running Linux.

Upon starting the media transfer process, right after it says trying to determine which files to move, I get this error.

Fatal error: Uncaught exception 'RuntimeException' with message 'SplFileInfo::getSize() [<a href='splfileinfo.getsize'>splfileinfo.getsize</a>]: stat failed for C:\Ampps\www\calton\live/wp-content/uploads\2014\02\JPEG-Image-612-�+�-�576-pixels-100x100.jpg' in C:\Ampps\www\calton\live\wp-content\plugins\wp-sync-db-media-files-master\class\wpsdb-media-files.php:151 Stack trace: #0 C:\Ampps\www\calton\live\wp-content\plugins\wp-sync-db-media-files-master\class\wpsdb-media-files.php(151): SplFileInfo->getSize() #1 C:\Ampps\www\calton\live\wp-content\plugins\wp-sync-db-media-files-master\class\wpsdb-media-files.php(317): WPSDB_Media_Files->get_local_media() #2 [internal function]: WPSDB_Media_Files->ajax_determine_media_to_migrate('') #3 C:\Ampps\www\calton\live\wp-includes\plugin.php(470): call_user_func_array(Array, Array) #4 C:\Ampps\www\calton\live\wp-admin\admin-ajax.php(82): do_action('wp_ajax_wpsdbmf...') #5 {main} thrown in C:\Ampps\www\calton\live\wp-content\plugins\wp-sync-db-media-files-master\class\wpsdb-media-files.php on line 151

@notslang
Copy link
Member

Ugh... the issue is probably related to supporting windows file paths. The forward slashes in C:\Ampps\www\calton\live/wp-content/uploads\2014\02\JPEG-Image-612-�+�-�576-pixels-100x100.jpg mean that there's some code that isn't checking the platform-specific path separator.

@BrandonShutter
Copy link
Author

Just got back to using this on a Windows machine. Any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants