Hii I am facing failed to upload media oto se bucket using “WordPress Amazon S3 – Wasabi Smart File Uploads” plugin.
Please help me this out.
Hello! My website must be upgraded to PHP 8 or above. I am seeing a deprecation error for the AWS S3. Will your plugin be upgraded to support the newer PHP version?
]]>I have site I am building for a client. His clients can create jobs using Front End Forms by Dynamiapps. All of that is working as intended except we need a way to allow file uploads to our Wasabi storage that integrates with the form. Is there any way to tie your plugin into ACF as a new field type? This is literally the last piece of the puzzle for this site.
Second question would be, is it possible to have the files be renamed using the $post_id, $filename, $file_extension? Really just wanting to prepend the filename with the post id on upload. Thanks!
]]>Hi,
is there any hook exposed with this plugin to catch successful upload. thanks
]]>Hello, I tried a single wordpress and it works fine, but I have a multisite, before doing the tests I would like to know if this plugin is compatible with multisite. Thank you so much.
]]>Hey there! We have started the process of upgrading our sites to PHP 8.2 as the other versions reach EOL. We are seeing quite a few deprecation errors for the AWS SDK. Do you know if you plan to upgrade the package, or if the library has been updated to even address these yet?
]]>I’ve tried two different S3 buckets, on two different wordpress installs and I can’t get uploading from the s3 dashboard in wordpress to work.
My bucket and directories show up, but when i try to upload a file I get the error “File upload failed”
The same access key will work in Transmit/Cyberduck etc. What am I doing wrong??
]]>Is there a possibility to make the providers “open” to extend ourselves?
Wasabi is not the only S3 compatible object storage. There are many more like min.io, Digital Ocean Spaces, Linode, etc…
It would be better/easier if the provider can be free to choose or have an option like “custom” so we can set a custom s3 endpoint url for the custom provider.
I would like to use Bunny.net (https://bunny.net) as they also have both Edge Object storage + CDN as a bundled service.
Thanks
Hi!
I’d like to use this on a WP Multisite (Network); however, since the credentials are in the wp-config.php file (a file shared across all sites on the network), this is not possible. Each site should be able to have their own S3 credentials.
Is there some way to use put the credentials in a function that can be created for each site? Or, store the info in the database?
Thanks,
Leslie
p.s. I love this plugin because it doesn’t make me use the media library, thank you!
]]>On line 263 of file \includes\class-s3-smart-upload-s3-service.php
I believe there should be a dot instead of a hyphen between s3 and ${region} as the original does not work and the corrected does work when clicking the [Copy File URL] button.
Original:
$aws_s3_host_name = “https://${bucket}.s3-${region}.amazonaws.com/”;
Should be:
$aws_s3_host_name = “https://${bucket}.s3.${region}.amazonaws.com/”;
Thanks,
Leslie
Can we set a custom CDN url somehow?
I want to replace the long S3 url by something like cdn.mydomain.tld/uploads/…../image.jpg
Other S3 plugins have exact this feature that uses url rewriting for this.
It’s also better for SEO.
Thanks!
]]>Hi, I’m working with WP Webhooks to create new posts and also upload media to use as the featured image. WP Webhooks can call custom PHP actions as well. Right now I upload the image to my server, then add it to library to get the media I’d for the post’s featured image. Is there a way I can use your plugin to upload to Wasabi and then attach it to a post as it’s featured image? If so, how would I go about doing that?
Thanks!
AJ
Hi,
Thanks for the great work on your plugin: Amazon-Wasabi Smart Upload.
I really love it.
But I encountered a problem after I configured it. I have read many of your documentations especially the one at Preventaccessdirect(dot)com.
My users were unable to download the files, it shows ACCESS DENIED.
I have rechecked the documentation many time but I did get it to work as expected.
Therefore, I need your support.
Thanks.
Is there a way to integrate with a form plugin?
We want to continue using Ninja Forms, however, we want to upload files directly to our S3 bucket.
Ninja Forms actually allows us to upload to cloud services, however, it’s loaded to the server first then copied over. We want to upload directly to the S3 bucket – something we believe your plugin achieves.
Looking forward to hearing from you.
]]>Hi, I have been using this plugin without issues until recently. Now, whenever I try to copy the link to my object, it gives me a URL that doesn’t work. For example, when I upload a file using the plugin, the URL it gives me is https://{bucket-name}.s3-us-east-1.amazonaws.com/{file}.mp4, which doesn’t work. The confusing thing is that if I upload a file while working on a Woocommerce product (by clicking Offload to S3), it gives me a working URL (ex: https://{bucket-name}.s3.amazonaws.com/{file}.mp4). The difference being that the region is added to the non-working URL. This wasn’t an issue until recently (although I can’t pinpoint exactly when it stopped working). Any help would be appreciated.
]]>Hello,
I use CDN (like cloudflare)
I want when I click on (Copy File URL) to copy the url of CDN, not then url from Amazon.
how can I set a custom domain ?
so instead of copy: https://storage.xxxx.com.s3-eu-central-1.amazonaws.com/2022/07/25/logo.png
the plugin will copy: https://storage.xxxx.com/2022/07/25/logo.png
]]>Hey there,
I’m getting this error:
“PHP message: PHP Warning: is_readable(): open_basedir restriction in effect.”
I tried figuring it out with my WebHost Kinsta and even after they added the .aws directory to the open_basedir the issue still persists.
]]>ACL option is not available for public and private access.
Error uploading file even though everything is right.
I am from different programming background and bug by this issue. It does not have good documentation to work on.
It shows an error while uploading but uploads(even though there is an error) and needs to chanage ACL to get a view otherwise it is not accessible.
When i go to Media>S3 Smart Upload
I get this popup: ‘Please see Debugging in WordPress for more information.’
I can upload fine. There is a text window where is no content. Is something suppose to appear there like the list of files on the S3. its blank for me.
https://cli-main.org/wp-content/uploads/2022/06/SSU.png
trying to get this plugin to work so I can get my company to approve the paid version
thannks
]]>Ive been trying to install and configure SSU with S3 and I am getting this error. File doesnt upload and “Failed upload Error”
DEV tools:
Failed to load resource: the server responded with a status of 400 ()
index.js:9 Uncaught (in promise) Error: Request failed with status code 400
at e.exports (index.js:9:1)
at e.exports (index.js:10:1)
at XMLHttpRequest.p.<computed> (index.js:9:1)
upload.php:1 Access to XMLHttpRequest at
from origin 'https://cli-main-dev.uth.tmc.edu' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Failed to load resource: net::ERR_FAILED
When I look at the XML file in the DEV Tool:
<Error>
SignatureDoesNotMatch
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
Please help
]]>Hi, I have a quick question about the plugin and how it will perform if multiple are uploading large files simultaneously.
Will WordPress fall over in this instance? What’s the max number of simultaneous uploads it has been tested with?
Perhaps most importantly, does the file go straight to AWS or does it get preprocessed/stored on the WP installation first?
Many thanks,
Duncan
]]>Try as I might, (v 1.43, 1.5.0), when I access the Upload page, I *always* get the message to configure the constants in wp-config.php
…But they are there, it’s as if the plugin isn’t reading them at all…
//Wasabi bucket config
define( ‘SSU_PROVIDER’, ‘wasabi’ ); // put either aws or wasabi (note: doesn’t work with either)
define( ‘SSU_KEY’, ‘XXX’ );
define( ‘SSU_SECRET’, ‘XXX’ );
define( ‘SSU_BUCKET’, ‘XXX’ );
define( ‘SSU_REGION’, ‘XXX’ );
define( ‘SSU_SURL_EXPIRY’, 60 ); // in seconds
Anyone experiencing this?
]]>Is it possible to upload more than just 1 file from the front end using the shortcode?
Is it possible to set the folder the files are uploaded to within the bucket upon upload?
]]>Is there an option available to overwrite an existing file in the bucket? I have a file that gets uploaded several times a day, but needs to overwrite the previous version rather than appending the name and creating a new file. Thank you.
]]>Hi
I think Version 1.5 messed up something. I’m getting the following error.
Everything works well if I downgrade to 1.4.3
Warning: is_readable(): open_basedir restriction in effect. File(/.aws/config) is not within the allowed path(s): (/home/httpd/vhosts/URL_OF_MY_CLIENTS_SITE/:/tmp/) in /home/httpd/vhosts/URL_OF_MY_CLIENTS_SITE/httpdocs/wp-content/plugins/wp-s3-smart-upload/lib/aws3/Aws/Retry/ConfigurationProvider.php on line 130 Warning: is_readable(): open_basedir restriction in effect. File(/.aws/config) is not within the allowed path(s): (/home/httpd/vhosts/URL_OF_MY_CLIENTS_SITE/:/tmp/) in /home/httpd/vhosts/URL_OF_MY_CLIENTS_SITE/httpdocs/wp-content/plugins/wp-s3-smart-upload/lib/aws3/Aws/S3/UseArnRegion/ConfigurationProvider.php on line 113
hi
After I followed your instruction to add the code with cottect access key and secret key, I see only “loading”.. on my website.
No more response since then.
Please help to see what I should do next?..
Best regards,
JKL
What’s the minimum permissions or predefined role I need to assign the S3 user ?
I’m using “AmazonS3FullAccess” for now
Also what are the required settings for the S3 bucket; can “Block all public access” be turned on and the plugin will use signed URLs ?
]]>Hello,
I want to know if you can help me to create a code that let users upload automatically to a private specific folder named with their user ID under the main bucket, so that they can ultimately see only their own files.
I thought the following code you suggested can help by somehow adding the user ID to the name :
//Upload files to random folder
add_filter( 'ssu_shortcode_upload_folder', function() {
return 'random';
} );
But I think it is working on the Uploads Folder on our own server, and not on amazon S3.
Any ideas to help us?
]]>Hello
After updating the plugin Product Feed Manager for WooCommerce, this error started to appear:
PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Psr7\uri_for() in /wp-content/plugins/wp-s3-smart-upload/vendor/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php:35
Apparently Product Feed is using an updated version of GuzzleHttp package and it’s impacting on your plugin. Can you see if there is an update for AWS or other packages, please?
]]>Hi, i ve made the pt-br translation (https://translate.www.ads-software.com/locale/pt-br/default/wp-plugins/wp-s3-smart-upload/). Will you validate and inlcude in core ?
If you wish i could be moderator for pt-br