Hi reaperhulk
I hope you don’t mind if I suggest a couple of alterations to this fantastic plugin. One to make it work with the latest structure provided by Rackspace and the other to make the plugin more stable.
The first is to add a field in the settings of the plugin to allow the user to specify the CDN URL. Rackspace now use multiple URLs instead of the old one.
The second is a small tweak, but when using preg_match, to select the required URLs, open and close brackets should be added to the delimiters, which I believe currently consists of ” and ‘. Essentially for when the author of a page has used inline CSS using the style tag and sets a background image using ‘background: url(https://example.com)’ no more than the url is selected.
I would be very happy to join the development group of your plugin to help make this changes if you don’t mind?
Cheers
Will
I have tried everything to fix this error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) in /srv/www/www.triathleteskitchen.com/wp-content/plugins/cdn-tools/cdn_classes/cloudfiles/cloudfiles_http.php on line 252
Right now I can confirm the following via phpinfo():
max_execution_time: 300
memory_limit: 256M
I have also defined the following in my wp-config:
define(‘WP_MEMORY_LIMIT’, ‘256M’);
Nothing I am trying is fixing this problem. Any thoughts on how to fix this? I have this plugin working across 2 other WP sites with out a problem.
Happy Holidays.
]]>I just updated my plugin to the newest version 1.12, when I try to sync all my files I get the following error:
Warning: fclose(): supplied argument is not a valid stream resource in /www.mysite.com/web/content/wp-content/plugins/cdn-sync-tool/lib/awssdk/lib/requestcore/requestcore.class.php on line 212
The stream size for the streaming upload cannot be determined.
Anyone know how to resolve this error.
]]>I’ve installed it, subscribed to Rackspace, filled the API key but it doesn’t work. It’s just now that I discover how many people got the same misadventure…
No support no update no reply from the developer since mid-2010.
]]>This happened in 3.1 as well. All the visual editor buttons are disabled, and widgets will no longer drag-and-drop when CDN Tools is enabled.
]]>I noticed some weird things going on in the admin. Mainly the toolbar when editing a post would disappear if you clicked the HTML view and no matter what it wouldn’t show up.
I found out the problem was with the CDN Tools plugin.
The only fix I found was to TURN OFF “Use Google AJAX CDN”. My guess is CDN Tools is loading a different version than wordpress wants.
I would recommend a quick patch so everyone doesn’t have to troubleshoot this problem.
Thanks!
]]>I think something in CDN tools is messing with the WP 3.1 widgets screen. When CDN tools is active, I can’t drag-and-drop any of the widgets. I deactivated all other plugins; this is definitely the one with the issue. I’m also running Thesis 1.8 if that makes any difference.
Any help would be most appreciated! I’d really like to use this plugin to connect with my CDN. Thanks!
]]>I have a field for username and API Key:. I’m wondering where i can find this
]]>Hello!
I just tried another plugin and MaxCDN services but found that CDN only works with the WP Media Library.
Wordpress Media Library is really lacking of options to sort and organize images. If you have a lot of pics, there is no comparison with the traditional system using FTP and separate folders.
Can we keep the separate folders system with this plugin?
THANK YOU!
James
Working on a project and found that we needed this filter as well, added to cdntools.php around line 123:
add_filter('wp_get_attachment_url', array($this,'cdn_media_url_rewrite'), 1000, 5);
Great tool!
]]>A file failed to upload. CDN Tools will behave inconsistently if all files do not upload successfully! You should contact the developer with this info:
<b>Fatal error</b>: Uncaught exception ‘InvalidResponseException’ with message ‘Invalid response (): Unexpected HTTP response: ‘ in /home/therep/public_html/rnetwork/rnetwork/home/wp-content/plugins/cdn-tools/cdn_classes/cloudfiles/cloudfiles.php:1050
Stack trace:
#0 /home/therep/public_html/rnetwork/rnetwork/home/wp-content/plugins/cdn-tools/cdn_classes/cloudfiles/loader.php(105): CF_Container->make_public(172800)
#1 /home/therep/public_html/rnetwork/rnetwork/home/wp-content/plugins/cdn-tools/cdntools.php(267): cdn_loader->attachment_upload(‘/home/therep/pu…’, ‘0’)
#2 /home/therep/public_html/rnetwork/rnetwork/home/wp-content/plugins/cdn-tools/cdntools.php(283): cdntools->cdn_attachment_upload(’49’, ‘/home/therep/pu…’)
#3 /home/therep/public_html/rnetwork/rnetwork/home/wp-includes/plugin.php(395): cdntools->cdn_attachment_upload_ajax(”)
#4 /home/therep/public_html/rnetwork/rnetwork/home/wp-admin/admin-ajax.php(1531): do_action(Array, Array)
#5 {main}
thrown in <b>/home/therep/public_html/rnetwork/rnetwork/home/wp-content/plugins/cdn-tools/cdn_classes/cloudfiles/cloudfiles.php</b> on line <b>1050</b>
Click Okay to continue uploading, or cancel to abort.
]]>