derekheld
Forum Replies Created
-
Forum: Plugins
In reply to: [Blue Storage] Upload returns errorWhat version of WordPress and PHP are you using?
Forum: Plugins
In reply to: [Blue Storage] Parser error when trying to Activate PluginYou’re welcome!
Forum: Plugins
In reply to: [Blue Storage] Parser error when trying to Activate PluginYeah, that looks right.
I think it’s the PHP version. I think it doesn’t like this:
wp_upload_dir()['baseurl']
Which we can easily split up to make it work, but that causes other problems. I think the best option is definitely moving to PHP 5.6 like you are planning.
Forum: Plugins
In reply to: [Blue Storage] Parser error when trying to Activate PluginWhat version of PHP is used?
Can you also just verify that the line in that file is unchanged? You can compare it against the file stored in SVN.
Forum: Plugins
In reply to: [Blue Storage] no thumbnailsI did a test of WordPress 4.6.1 and plugin version 1.2.0 and it looks to be working fine.
Forum: Plugins
In reply to: [Blue Storage] no thumbnailsWhat version of the plugin are you using?
Forum: Plugins
In reply to: [Blue Storage] Replace CNAMEAhhh I just got some more info here. It looks like the problem only happens if you do not put https:// or https:// in front of your CDN URL. Can you check and make sure you have either of those there?
You will need to update the “url” setting in both the windows_azure_storage_info and _wp_attachment_metadata meta keys for that post ID. It should be something like
https://myendpoint.azureedge.net/mycontainer/2016/06/image.jpg
This will be something definitely improved in the next version I have been working on (coming soon I hope!).
Forum: Plugins
In reply to: [Blue Storage] Replace CNAMEI took a look. There is most definitely a bug there. Looks like the original URL for the WordPress website is being inserted before the CNAME.
I’m working on fixing it now. I’ll let you know when it is patched.
Forum: Plugins
In reply to: [Blue Storage] Multisite supportI can try to take a look soon. I have to get my multisite test website set up.
Forum: Plugins
In reply to: [Blue Storage] Multisite supportI’m actually in the process of rewriting the plugin from scratch and robust multisite support is going to be one of the biggest changes. ??
Forum: Plugins
In reply to: [Blue Storage] cache-controlFixed it! Tested and working. Releasing now ??
It’s available in version 1.2.0
Forum: Plugins
In reply to: [Blue Storage] cache-controlIf you check out the SVN commits for the plugin you can see the changes I’ve made.
The bad part is that it does not seem to be working. I’m working on figuring out why.
Forum: Plugins
In reply to: [Blue Storage] cache-controlI’ve updated my dev code with an option for setting the cache policy on the blob. Hopefully releasing shortly!
I use the latest version of the PHP library that Microsoft released. It ended up being pretty easy actually. Basically a one line change not counting the changes on the settings page.
Forum: Plugins
In reply to: [Blue Storage] cache-controlThe plugin actually uses a Microsoft library to do the upload.
The not HTTPS thing sounds like a bug I need to fix. I think I can take a look at that tonight.
Forum: Plugins
In reply to: [Blue Storage] cache-controlOk, I’ve spent some time looking into this so that I could make sure I gave you the best answer.
The easiest way to do this would be to use the Azure CDN service and use the CNAME option in this plugin. You can then have full control of the caching at the CDN level.
I think there is also a way to set the caching policy on the blob itself but I need to spend some time looking into this. I need to figure out all the changes that would be required to do it. I’ll put this into my feature request list.
Thanks for the feedback!