Hi I have an error connecting my website to DigitalOcean Space. It says
Connection failed
There has been a critical error on this website.Learn more about troubleshooting WordPress.
Do you think it has something to do with my Cloudways Hosting and I am using their DigitalOcean Server. Is there a connection to be disabled? json? https header policy something like that failed to fetch the data?
Smaller images uploaded into the media gallery do not generate thumbnails. Larger images do. This doesn’t happen when offload media is not installed and files are stored locally. I’ve tried using the same image file. Local storage works, when I install offload media, thumbnails are not generated.
Again, thumbnails only work if images are larger than about 2000×2000.
]]>I run wordpress multisite. On some sites, when I activate Offload Media it runs fine. On others, when I activate the plugin, the Dashboard hangs, with the spinning circle. On further investigation when I inspect the code, this error shows up:
JQMIGRATE: Migrate is installed, version 3.4.1
/wp-json/acoofm/v1/commonSettings/:1
Failed to load resource: the server responded with a status of 403 (Forbidden)
admin.php:1 Uncaught (in promise) Object
This doesn’t happen for other sites. I’ve disabled plugins and still get the error.
]]>This is what I want to do:
I want to build a website like Unsplash( https://unsplash.com ) or Pexels ( https://www.pexels.com ) — using WordPress.
People are going to upload pictures to the website.
THE ISSUE
I want to offload all these pictures to Google Cloud, but I want Admin uploaded pictures to remain on the website, while user uploaded pictures should be offloaded to Google Cloud.
Can I achieve this, with your plugin?
Thanks.
]]>Great plugin, but it currently does not support the conversion of images to WEBP. Is it possible to incorporate compatibility with Converter for Media – https://www.ads-software.com/plugins/webp-converter-for-media/ ?
]]>Hello,
I have an error when cropping an image on my website; the message on the UI is “There was an error cropping your image”.
Here is what I see in the logs:
PHP Warning: file_put_contents(https://cdn.{domain}.com/wp-content/uploads/cropped-image.jpeg): Failed to open stream: HTTP wrapper does not support writeable connections in /home/{path}/public/wp-includes/class-wp-image-editor-imagick.php on line 860″ while reading response header from upstream, client: {ip}], server: {server}}.
It looks like the cropping function tries to use the cdn url instead of a filename with :
file_put_contents( $filename, $image->getImageBlob() )
Which causes the error as file_put_contents expects a file path.
How can this be addressed? The imagick usage is essential to my application.
Thank you for your help!
]]>We are currently experiencing an issue with adding images using WP Offload Media and an S3 bucket. Although the images can be successfully loaded into the media library, we are encountering problems when attempting to add them using the Brizy page builder. Specifically, the images display a quick loading animation but do not get attached.
]]>
hello I have problem with the plugin
as my hosting provider told me
website still spawns a lot of slow MySQL queries, I am providing examples bellow:
1. Executed 2h 37m 16s ago for 9.776388 sec on Database --> dbtw0iezfc7zoz
Date: 2023-10-10 02:16:20 Query_time: 9.776388 Rows_examined: 10922: Rows_sent 0 Lock_time: 0.001174 Query_chars: 19137
SELECT * FROM nhr_acoofm_items WHERE 0 OR source_path LIKE "%wc-blocks-vendors-style.css" OR path LIKE "%wc-blocks-vendors-style.css" OR extra_info LIKE "%wc-blocks-vendors-style.css%" OR source_path LIKE "%wc-all-blocks-style.css" OR path LIKE "%wc-
......
path LIKE "%hiddenSidebar.min.js" OR path LIKE "%hiddenSidebar.min.js" OR extra_info LIKE "%hiddenSidebar.min.js%" OR source_path LIKE "%stickySidebarBtn.min.js" OR path LIKE "%stickySidebarBtn.min.js" OR extra_info LIKE "%stickySidebarBtn.min.js%";
-------------------------------------------------------------------------------------------------------------------
2. Executed 2h 47m 4s ago for 9.420835 sec on Database --> dbtw0iezfc7zoz
Date: 2023-10-10 02:06:32 Query_time: 9.420835 Rows_examined: 10922: Rows_sent 0 Lock_time: 0.001351 Query_chars: 19333
SELECT * FROM nhr_acoofm_items WHERE 0 OR source_path LIKE "%wc-blocks-vendors-style.css" OR path LIKE "%wc-blocks-vendors-style.css" OR extra_info LIKE "%wc-blocks-vendors-style.css%" OR source_path LIKE "%wc-all-blocks-style.css" OR path LIKE "%wc-
......
path LIKE "%hiddenSidebar.min.js" OR path LIKE "%hiddenSidebar.min.js" OR extra_info LIKE "%hiddenSidebar.min.js%" OR source_path LIKE "%stickySidebarBtn.min.js" OR path LIKE "%stickySidebarBtn.min.js" OR extra_info LIKE "%stickySidebarBtn.min.js%";
-------------------------------------------------------------------------------------------------------------------
3. Executed 2h 7m 35s ago for 9.338537 sec on Database --> dbtw0iezfc7zoz
Date: 2023-10-10 02:46:01 Query_time: 9.338537 Rows_examined: 10922: Rows_sent 3 Lock_time: 0.001312 Query_chars: 20906
SELECT * FROM nhr_acoofm_items WHERE 0 OR source_path LIKE "%wc-blocks-vendors-style.css" OR path LIKE "%wc-blocks-vendors-style.css" OR extra_info LIKE "%wc-blocks-vendors-style.css%" OR source_path LIKE "%wc-all-blocks-style.css" OR path LIKE "%wc-
......
path LIKE "%hiddenSidebar.min.js" OR path LIKE "%hiddenSidebar.min.js" OR extra_info LIKE "%hiddenSidebar.min.js%" OR source_path LIKE "%stickySidebarBtn.min.js" OR path LIKE "%stickySidebarBtn.min.js" OR extra_info LIKE "%stickySidebarBtn.min.js%";
-------------------------------------------------------------------------------------------------------------------
4. Executed 2h 7m 33s ago for 9.235001 sec on Database --> dbtw0iezfc7zoz
Date: 2023-10-10 02:46:03 Query_time: 9.235001 Rows_examined: 10922: Rows_sent 3 Lock_time: 0.001051 Query_chars: 20778
SELECT * FROM nhr_acoofm_items WHERE 0 OR source_path LIKE "%wc-blocks-vendors-style.css" OR path LIKE "%wc-blocks-vendors-style.css" OR extra_info LIKE "%wc-blocks-vendors-style.css%" OR source_path LIKE "%wc-all-blocks-style.css" OR path LIKE "%wc-
......
path LIKE "%hiddenSidebar.min.js" OR path LIKE "%hiddenSidebar.min.js" OR extra_info LIKE "%hiddenSidebar.min.js%" OR source_path LIKE "%stickySidebarBtn.min.js" OR path LIKE "%stickySidebarBtn.min.js" OR extra_info LIKE "%stickySidebarBtn.min.js%";
-------------------------------------------------------------------------------------------------------------------
5. Executed 2h 47m 6s ago for 9.158031 sec on Database --> dbtw0iezfc7zoz
Date: 2023-10-10 02:06:30 Query_time: 9.158031 Rows_examined: 10922: Rows_sent 0 Lock_time: 0.001353 Query_chars: 19461
SELECT * FROM nhr_acoofm_items WHERE 0 OR source_path LIKE "%wc-blocks-vendors-style.css" OR path LIKE "%wc-blocks-vendors-style.css" OR extra_info LIKE "%wc-blocks-vendors-style.css%" OR source_path LIKE "%wc-all-blocks-style.css" OR path LIKE "%wc-
......
path LIKE "%hiddenSidebar.min.js" OR path LIKE "%hiddenSidebar.min.js" OR extra_info LIKE "%hiddenSidebar.min.js%" OR source_path LIKE "%stickySidebarBtn.min.js" OR path LIKE "%stickySidebarBtn.min.js" OR extra_info LIKE "%stickySidebarBtn.min.js%";
-------------------------------------------------------------------------------------------------------------------
6. Executed 2h 52m 51s ago for 8.888901 sec on Database --> dbtw0iezfc7zoz
Date: 2023-10-10 02:00:45 Query_time: 8.888901 Rows_examined: 10922: Rows_sent 0 Lock_time: 0.001226 Query_chars: 19360
SELECT * FROM nhr_acoofm_items WHERE 0 OR source_path LIKE "%wc-blocks-vendors-style.css" OR path LIKE "%wc-blocks-vendors-style.css" OR extra_info LIKE "%wc-blocks-vendors-style.css%" OR source_path LIKE "%wc-all-blocks-style.css" OR path LIKE "%wc-
......
path LIKE "%hiddenSidebar.min.js" OR path LIKE "%hiddenSidebar.min.js" OR extra_info LIKE "%hiddenSidebar.min.js%" OR source_path LIKE "%stickySidebarBtn.min.js" OR path LIKE "%stickySidebarBtn.min.js" OR extra_info LIKE "%stickySidebarBtn.min.js%";
-------------------------------------------------------------------------------------------------------------------
Which combined with a spike of the access towards your website exceeded the CPU usage quota again. Please review the above provided MySQL queries and provide them to your website developer for optimization.
https://www.pazarly.com
If you can help me with that issue ?
Regards,
Is it possible just to offload video files only? while other files type remain on server?
]]>Hello any plan?
]]>I had the plugin working correctly for a few months now, but as of today, all my media urls went back to referring to my website instead of my Google Cloud account. I clear off my website storage since it all pulls from the cloud. The plugin is connected to the bucket correctly in settings, and nothing seems different. What am I missing to have the media urls go back to my google cloud storage url?
]]>I’ve been looking for a offload plugin like this one and so far I like what I see. I wonder if you can provide an idea of when the pro version is expected? I’ve a ton of existing images I’d like to offload.
In another thread, you posted on February 17 that the expected release time was at the end of the month, so I wonder if you have a updated release date?
]]>Hi, the version offload-media-cloud-storage.1.1.8 need a “comma” in the query in create table:
FILE: offload-media-cloud-storage/includes/class-acoofmf-backend.php
Actually:
UNIQUE KEY uidx_path (path(190), id),
UNIQUE KEY uidx_source_path (source_path(190), id)
UNIQUE KEY uidx_source_id (source_id, id)
Fix:
UNIQUE KEY uidx_path (path(190), id),
UNIQUE KEY uidx_source_path (source_path(190), id),
UNIQUE KEY uidx_source_id (source_id, id)
]]>
Hi,
You need to integrate with cloudflare R2, buddyboss and with ewww. Without all of them it’s nothing new, nothing better or cheaper.
The other guy who asked about peepso…. He must be blind. Peepso has aws S3 integration natively, inside their own plugins lol.
]]>Hi,
I’m using your plugin for the first time. The configuration is easy. I connected my Digital Ocean newly created Space. There is something else I need to do to upload my media to the Space? In the dashboard the Uploaded Media’s is still at 0 after one hour.
Thanks.
Fran?ois
]]>Hello,
On multisite, activated it on the main site, it shows critical error on media library:
here is error log:
[06-Feb-2023 16:10:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined method InvalidArgumentException::getStatusCode() in /var/www/mysite.com/htdocs/wp-content/plugins/offload-media-cloud-storage/includes/services/class-acoofm-digitalocean.php:459
Stack trace:
#0 /var/www/mysite.com/htdocs/wp-content/plugins/offload-media-cloud-storage/includes/class-acoofm-item.php(237): ACOOFM_DIGITALOCEAN->get_presigned_url()
#1 /var/www/mysite.com/htdocs/wp-content/plugins/offload-media-cloud-storage/includes/class-acoofm-public.php(830): ACOOFM_ITEM->get_url()
#2 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(308): ACOOFM_Public->get_attached_file()
#3 /var/www/mysite.com/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#4 /var/www/mysite.com/htdocs/wp-includes/post.php(746): apply_filters()
#5 /var/www/mysite.com/htdocs/wp-includes/post.php(6794): get_attached_file()
#6 /var/www/mysite.com/htdocs/wp-includes/post.php(6847): wp_attachment_is()
#7 /var/www/mysite.com/htdocs/wp-includes/media.php(192): wp_attachment_is_image()
#8 /var/www/mysite.com/htdocs/wp-includes/media.php(954): image_downsize()
#9 /var/www/mysite.com/htdocs/wp-includes/media.php(1032): wp_get_attachment_image_src()
#10 /var/www/mysite.com/htdocs/wp-admin/includes/class-wp-media-list-table.php(428): wp_get_attachment_image()
#11 /var/www/mysite.com/htdocs/wp-admin/includes/class-wp-list-table.php(1527): WP_Media_List_Table->column_title()
#12 /var/www/mysite.com/htdocs/wp-admin/includes/class-wp-media-list-table.php(699): WP_List_Table->single_row_columns()
#13 /var/www/mysite.com/htdocs/wp-admin/includes/class-wp-list-table.php(1444): WP_Media_List_Table->display_rows()
#14 /var/www/mysite.com/htdocs/wp-admin/includes/class-wp-list-table.php(1371): WP_List_Table->display_rows_or_placeholder()
#15 /var/www/mysite.com/htdocs/wp-admin/upload.php(388): WP_List_Table->display()
#16 {main}
thrown in /var/www/mysite.com/htdocs/wp-content/plugins/offload-media-cloud-storage/includes/services/class-acoofm-digitalocean.php on line 459
]]>
is it compatible for linode or vultr s3?
]]>Hi,
I am new to using Lightsail buckets and this plugin. I am testing out the functionality of the plugin with BuddyBoss. When I go to my bucket to see view the objects stored. The file structure is separate folders for each image that contain multiple sizes of the images (i.e. 512×512, 600×600, 1024×1024). Source image is 1024×1024. Is this normal? As far as I know, I don’t need all these versions. Is buddy boss maybe creating all these or is something wrong here?
Thank you in advance for your help.
]]>The plugin doesn’t seem to be compatible with ZIP Files. All the ZIP Files I upload are going into WordPress default media location. However, it works fine with JPG or PDF.
Is there any way I can fix that?
Thanks,
Minhajul
Hello,
We use a custom folder to store documents that are added to user profiles. With the plugin active, it overrides that, and our files are uploaded to the default location, but our URLs still show the custom folder. Do you have a hook or any way to put a custom subfolder? Our current code (that works without the plugin)”
add_action('admin_init', 'add_admin_functions_empire_register');
function add_admin_functions_empire_register() {
if (is_admin()) {
$wp_upload_dir = wp_upload_dir();
$protected_folder = trailingslashit($wp_upload_dir['basedir']) . 'verification-docs';
$rules = "Order Deny,Allow\n";
$rules .= "Deny from all";
if( ! @file_get_contents( trailingslashit($protected_folder).'.htaccess' ) ) {
wp_mkdir_p( $protected_folder);
}
@file_put_contents( trailingslashit($protected_folder).'.htaccess', $rules );
add_filter('upload_dir', 'wholesale_customer_docs_directory');
function wholesale_customer_docs_directory( $param ){
global $pagenow;
if ( ( 'async-upload.php' == $pagenow || 'media-upload.php' == $pagenow ) && ( false !== strpos( wp_get_referer(),'user-edit.php' ) || false !== strpos( wp_get_referer(),'profile.php' )) ) {
$mydir = '/verification-docs';
$param['path'] = $param['path'] . $mydir;
$param['url'] = $param['url'] . $mydir;
}
return $param;
}
}
}
]]>
Since the last update, it seems that when the plugin is active, even though the “Organize my uploads into month- and year-based folders” is NOT checked, it is uploading to /2022/09/ when it should not be.
]]>It seems that when the plugin is enabled, it slows down the frontend by 2-3 seconds at minimum, and sometimes longer. It shouldn’t be running anythng on the frontend of the site – should it? If it uploads the files in the admin, WP/WooCommerce keeps the url in the database, so there should be no need for frontend functions to be running.
]]>Hello. I am interested in your plugin. But I have doubts:
1) Do you know if it is compatible with the Peepso community plugin? If you don’t know, would you be so kind as to check installing Peepso (free version) and trying to upload avatar, post images and profile cover? https://www.ads-software.com/plugins/peepso-core/ it will be quick for you to test, and if all goes well, you can declare it as 1 more feature in your plugin ad. And Peepso is a very popular community plugin today because of its unfailing support and code/design/feature quality.
2) currently I use “Media Cloud” premium plugin (support abandoned: https://www.ads-software.com/plugins/ilab-media-tools/) and it is incompatible with the latest version of Peepso (my users can’t upload images). My question about this is how am I going to replace the Media Cloud by your plugin without breaking all the images on my site? All images are on the AWS CDN, no local copy on the server. do you have a migration manual for this?
]]>It works , it connects to Google Cloud and upload the new images, but what about the existing images?
]]>Walked through the documentation to connect to the DO Space. It connected but when uploading media through the media library it doesn’t show on the space.
]]>