WordPress.org

Forums

Dropbox Photo Sideloader
[resolved] still having an issue with spaces in file (7 posts)

  1. mfedwards1
    Member
    Posted 10 months ago #

    Hi I Downloaded your plugin.
    it installed without issue
    I am however unable to load files from dropbox that contain spaces
    I thought the issue was resolved and the line of code
    $result = media_sideload_image(urldecode($tempurl['url']), $post_id);

    looks to be updated
    is there somewhere else I need to add something?

    https://wordpress.org/plugins/dropbox-photo-sideloader/

  2. Samuel Wood (Otto)
    WordPress.org Tech Guy
    Plugin Author

    Posted 10 months ago #

    Unfortunately, there is no good fix for this at this time, because the underlying problem is in WordPress itself:

    https://core.trac.wordpress.org/ticket/16330

    If this gets fixed in WordPress, then I will be able to correctly patch the plugin. Until that fix happens, any fix I make now will be slightly broken for some use case.

  3. mfedwards1
    Member
    Posted 10 months ago #

    Thanks for responding
    Someone responded here http://wordpress.org/support/topic/error-when-sideloading
    About altering a line if code
    Do you know how can you explain where to do this - any help is appreciated thanks

    I ran into this problem as well, and for me it was a problem with having spaces in the URL I was trying to get (it looks like you probably have the same problem).
    There is an open ticket about this:
    https://core.trac.wordpress.org/ticket/16330

    As a desperate quick fix, I wound up changing my wp-admin/includes/file.php to change spaces into "%20"s -- though changing core files is a really bad idea! (I needed a solution Right Now, and I will be keeping track of the changes, as well as the ticket to see if it gets resolved.)

  4. kmue
    Member
    Posted 7 months ago #

    Thanks for the nice plugin!

    I just tried to sideload images with spaces but that doe not work. An image without spaces was side loaded without problem. Since there was no visible user feedback I side loaded it several times;)

    The WP core issue was closed (see https://core.trac.wordpress.org/ticket/16330#comment:48). Maybe Dropbox Photo Sideloader could be updated now?

    bye,
    Karsten

  5. Samuel Wood (Otto)
    WordPress.org Tech Guy
    Plugin Author

    Posted 7 months ago #

    Updated.

    Also, there is visible user feedback, the screen reloads and the very first lines on the new screen tell you each image that gets sideloaded and whether it is a success or a failure.

  6. kmue
    Member
    Posted 7 months ago #

    Wow! Works now really smooth now;)

    And you are right. There is visible user feedback. The sideload took longer as expected so I missed a spinning wheel or something to keep me entertained;)

    Thanks again.

    bye,
    Karsten

  7. Frank Ed
    Member
    Posted 7 months ago #

    seems good i m gonna try it and will post after it.

Reply

You must log in to post.

About this Plugin

  • Dropbox Photo Sideloader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.