WordPress version 6.4.2
Plugin version 2.7.1
I hope this message finds you well. I am writing to seek assistance and guidance with the WP Offload Media Lite plugin, which we’ve been using to manage media files on my WordPress website. I have a specific concern related to the plugin’s S3 configuration.
In brief, my concern is related to the inability of the plugin to perform media uploads to our Amazon S3 bucket despite having configured the plugin settings and IAM user permissions. We have verified that the IAM user’s policy allows actions such as “s3:PutObject” and other necessary operations. Additionally, the “Block public access” settings for the S3 bucket have been configured as per the requirements of the plugin
]]>// Add cf7 data to database
function contactform7_before_send_mail( $form_to_DB ) {
// Set your db details
$mydb = new wpdb('username','password','database','host');
$form_to_DB = WPCF7_Submission::get_instance();
if ( $form_to_DB )
$formData = $form_to_DB->get_posted_data();
// Set Variables
$username = $formData['username'];
$companyname = $formData['company-name'];
$signfirst = $formData['sign-1'];
$dateofpurchase = $formData['date-of-purchase'];
$pdfFile = $formData['comments-on-electric-fence'];
// Insert into db Table
$mydb->insert( 'TableName', array( 'Username' =>$username, 'CompanyName' =>$companyname, 'SignTest' =>$signfirst, 'DateTest' =>$dateofpurchase, 'Upload' =>$pdfFile ), array( '%s' ) );
}
remove_all_filters ('wpcf7_before_send_mail');
add_action( 'wpcf7_before_send_mail', 'contactform7_before_send_mail' );
Hi,
I have been having a great time inserting data into the table that I created with your plugin. I just cant seem to insert an uploaded .pdf file from the CF7 form. It does go through to the table row and inserts the username, companyname, etc. although it does send through the pdf file, when I try to read it on the publisher or viewing the data on the table itself then in that row it just gives me this output ‘cd809a1cc070a22ff6deafd4a2ac02ac’
I have tried varbinary, blob, largeblob and text.
I really cant seem to get it to work so if you could kindly give me direction in the data designer what I should do to be able to store and view the file I would REALLY appreciate it!
Kind Regards
Brandon
console error : en.js?ver=5.6:2 Uncaught ReferenceError: plupload is not defined
at en.js?ver=5.6:2
js error :
// English (en) plupload.addI18n({“Stop Upload”:”Stop Upload”,”Upload URL might be wrong or doesn’t exist.”:”Upload URL might be wrong or doesn’t exist.”,”tb”:”tb”,”Size”:”Size”,”Close”:”Close”,”You must specify either browse_button or drop_element.”:”You must specify either browse_button or drop_element.”,”Init error.”:”Init error.”,”Add files to the upload queue and click the start button.”:”Add files to the upload queue and click the start button.”,”List”:”List”,”Filename”:”Filename”,”%s specified, but cannot be found.”:”%s specified, but cannot be found.”,”Image format either wrong or not supported.”:”Image format either wrong or not supported.”,”Status”:”Status”,”HTTP Error.”:”HTTP Error.”,”Start Upload”:”Start Upload”,”Error: File too large:”:”Error: File too large:”,”kb”:”kb”,”Duplicate file error.”:”Duplicate file error.”,”File size error.”:”File size error.”,”N/A”:”N/A”,”gb”:”gb”,”Error: Invalid file extension:”:”Error: Invalid file extension:”,”Select files”:”Select files”,”%s already present in the queue.”:”%s already present in the queue.”,”Resoultion out of boundaries! <b>%s</b> runtime supports images only up to %wx%hpx.”:”Resoultion out of boundaries! <b>%s</b> runtime supports images only up to %wx%hpx.”,”File: %s”:”File: %s”,”b”:”b”,”Uploaded %d/%d files”:”Uploaded %d/%d files”,”Upload element accepts only %d file(s) at a time. Extra files were stripped.”:”Upload element accepts only %d file(s) at a time. Extra files were stripped.”,”%d files queued”:”%d files queued”,”File: %s, size: %d, max file size: %d”:”File: %s, size: %d, max file size: %d”,”Thumbnails”:”Thumbnails”,”Drag files here.”:”Drag files here.”,”Runtime ran out of available memory.”:”Runtime ran out of available memory.”,”File count error.”:”File count error.”,”File extension error.”:”File extension error.”,”mb”:”mb”,”Add Files”:”Add Files”});
]]>When I used the MailChimp Newsletter subscriber checkbox.
Fails to move upload PDF file to a new user_id directory from a temp folder.
I came to know that a new user_id folder is empty that from temp folder: wp-content\uploads\ultimatemember\temp to a user_id folder file was not moved.
]]>Anyone experiencing this? And if so, did you solve it… and… if so, how??
]]>