-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not uploading files via dashboard (CLI works fine) #119
Comments
Hmm that's odd, sounds like it not actually enabling it somehow. Uploading a new file should certianly have sent it to the bucket. I presume you have the S3 Constants in your |
Acually, since Bedrock is a bit special I've got them setup in my functions.php, fetching the actual values from an .env file. Think that could cause it? Since it does upload via CLI it feels like it shouldn't be a problem.. |
Hmm yeah that should be fine - as long as the constants get defined somehow. if you run |
Seems to be working! |
Hmm in this case I think you're going to have to get stuck into the code to debug, as I can't suggest much else from a distance, are you a developer with the skills necessary to debug the code? |
Sure I'd be able to debug. Would be great if you could suggest an entry point though :) |
I just want to check: do you mean your theme's |
I and getting the same error when trying to work with this: I run and get the following error:
I have all the variables set correctly in my wp-config.php file.
using the latest |
Hey!
Just installed this little gem.
Got it setup on my dev environment for now.
I was able to successfully setup a S3 Bucket and use
wp s3-uploads upload-directory uploads
to get my stuff uploaded to said bucket.Afterwards I ran
wp s3-uploads enable
but all files are still pointed towards my local files rather than the bucket. I figured it might be because all files are uploaded to ACF Fields (does this plugin support ACF?) so I tried uploading a regular featured image, but the file did not even end up on my bucket. If I re runwp s3-uploads upload-directory uploads
it'll get there though.Also updated permalinks if that would help prune the old ones. But no luck.
No errors throw in the dashboard. Any log I should look in?
What am I doing wrong?
Running on a Roots Bedrock stack with PHP 7.
The text was updated successfully, but these errors were encountered: