Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author paypromedia

    (@paypromedia)

    I will add this option in the next update.

    I’ll be a lot keener to try the plugin once i know it will leave the local files there as well as creating the remote ones.

    Plugin Author paypromedia

    (@paypromedia)

    I will add this as an option. The reason it’s not there right now is because I figured people would want to save money by storing and serving from the CDN and not have to pay for both local and CDN storage.

    Plugin Author paypromedia

    (@paypromedia)

    You could also FTP into your site and backup your “uploads” folder before you do the upload if you’re afraid the plugin might delete files. I can tell you, though, that we have two sites with over 1,500 attachments on them (over 3,500 files per site with attachments and thumbnails) that this worked great on. We just used it on another site with over 350 files and it worked great as well.

    having the files locally and on the cdn is a really quick extra backup too and if anything did go wrong with the cdn it could be easily reverted.

    if you thought that the plugin could have an option to sync the files with a storage server like copy.com for backups that would be a pretty nifty addon though we are getting off the track of cdn usage of course there.

    its true that people might want to save space though but a lot of hosting has large amounts of space cheaply anyway.

    Plugin Author paypromedia

    (@paypromedia)

    I understand. I will be implementing this in a future release and will update this thread when it is done.

    splendid, thank you

    Plugin Author paypromedia

    (@paypromedia)

    I have committed v1.1.0 this morning which adds support for syncing the files. The old versions of the plugin would upload the file to the CDN and delete it from the local server. The “default” setting is now set to keep the local files and do a true sync to the CDN, keeping the files on both the local server and on the CDN. All files will still be served from the CDN.

    Every time I open the CDN options it tells me I need to sync the files…

    I did this 3 times… my website is showing the files from the local wp-content folder… which means it’s not showing those that were previously uploaded just to CDN.

    So something broke

    Ok I figured it out

    file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /blabla/wp-content/plugins/rackspace-cloud-files-cdn/lib/functions.php on line 316

    Previously it worked without fopen set to On. WP security practices advise on this being Off…

    I suggest implementing curl (faster too) in case it’s available on the server, use fopen if not.

    In other words, first try to use CURL, if that fails, use file_get_contents etc.

    Plugin Author paypromedia

    (@paypromedia)

    Alright, thanks for letting me know. I will take a look!

    Plugin Author paypromedia

    (@paypromedia)

    With the syncing issue in CDN options, it is telling you to sync the files because it now defaults to “sync” instead of “sync and delete”. Check the box next to “Remove local files” and this should go away. It’s wanting to sync your CDN files back to your local hard drive because I have the plugin set to sync both ways. That way if you ever want to switch back to hosting locally or switch to another CDN, you can sync all the files back to your local server and won’t lose anything.

    so if you want a copy of the files to always exist on the local and the cdn then this message will always show up in the admin?

    Plugin Author paypromedia

    (@paypromedia)

    No, if you leave the “Remove Local Files” box UNchecked, it should go away. Try checking the box, saving the settings, UNchecking the box and then saving the settings again.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Synchronize’ is closed to new replies.