I have also updated my site to be using www and my bucket has no www infront of the name, not sure if that matters or not, but thought id mention it.
The tantan_wordpress_s3 item in the options database had its database code missing, so I took the database query for an old sql backup, deleted the current table and ran the insert query to recreate it, and it worked.
Hi,
Glad you got this working, but can you confirm what you mean by “The tantan_wordpress_s3 item in the options database had its database code missing”?
Hi there,
tantan_wordpress_s3 is the table or whatever its called under the wp_options table in the database.
Thats where the settings are stored for the plugin.
Obviously VaultPress or something had corrupted the query, because there was no data in the table except for a link.
So i deleted the table and run the query for that table to restore the settings, so it was able to save again.
This was missing:
a:15:{s:17:”post_meta_version”;i:1;s:6:”bucket”;s:11:”mydomain.com”;s:6:”region”;s:0:””;s:6:”domain”;s:10:”cloudfront”;s:7:”expires”;s:1:”1″;s:10:”cloudfront”;s:14:”cloud.mydomain.com”;s:13:”object-prefix”;s:19:”wp-content/uploads/”;s:10:”copy-to-s3″;s:1:”1″;s:13:”serve-from-s3″;s:1:”1″;s:17:”remove-local-file”;s:1:”1″;s:3:”ssl”;s:5:”https”;s:12:”hidpi-images”;s:1:”0″;s:17:”object-versioning”;s:1:”1″;s:21:”use-yearmonth-folders”;s:1:”1″;s:20:”enable-object-prefix”;s:1:”1″;}
So the tantan_wordpress_s3 option_name existed but the option_value was empty?
The option name existed, but the value was tpps://www.mydomain.com for example.
shouldve been filled with the code above.
Thanks for the clarification.