kodzaks
Forum Replies Created
-
Hello,
Do you have any update for me on why my uploaded .wav files do not go to S3 bucket?
Also, I am having another issue with plugin, broken links this time. For example, I upload some image (ABC.png), it does go to S3 bucket and under “edit media” in file url it shows correct https://s3.amazonaws.com/XXXXX/ABC.png address. In path it shows wp-content/uploads/XXX/ABC.png
But there also appears to be broken link present, and it shows in my list of broken links on the website.
https://website.com/wp-content/uploads/ABC.png
When I click on it I get this: Fatal error: Uncaught Error: Call to undefined function + a lot of text.
I have been manually editing these links by giving them proper s3 address, but it is not normal.
Can you resolve these 2 issues for me please? Thank you.
Hello,
So, I uploaded 2 files through eform: proba_try.wav sound file and DSCF9415.jpg image file.
For the wav file, metadata does not change between initial download and when I open it through view:
_wp_attachment_metadata
Before
a:16:{s:10:”dataformat”;s:3:”wav”;s:12:”bitrate_mode”;s:3:”cbr”;s:10:”wformattag”;i:1;s:5:”codec”;s:27:”Pulse Code Modulation (PCM)”;s:8:”channels”;i:1;s:11:”sample_rate”;i:256000;s:7:”bitrate”;i:4096000;s:15:”bits_per_sample”;i:16;s:8:”lossless”;b:1;s:11:”channelmode”;s:4:”mono”;s:17:”compression_ratio”;i:1;s:10:”fileformat”;s:3:”wav”;s:8:”filesize”;i:5120192;s:9:”mime_type”;s:11:”audio/x-wav”;s:6:”length”;i:10;s:16:”length_formatted”;s:4:”0:10″;}
After:
a:16:{s:10:”dataformat”;s:3:”wav”;s:12:”bitrate_mode”;s:3:”cbr”;s:10:”wformattag”;i:1;s:5:”codec”;s:27:”Pulse Code Modulation (PCM)”;s:8:”channels”;i:1;s:11:”sample_rate”;i:256000;s:7:”bitrate”;i:4096000;s:15:”bits_per_sample”;i:16;s:8:”lossless”;b:1;s:11:”channelmode”;s:4:”mono”;s:17:”compression_ratio”;i:1;s:10:”fileformat”;s:3:”wav”;s:8:”filesize”;i:5120192;s:9:”mime_type”;s:11:”audio/x-wav”;s:6:”length”;i:10;s:16:”length_formatted”;s:4:”0:10″;}_wp_attached_file is listed as
fsqm-files/Proba_try.wavBut here is a field that is not present for image file (I do not if it is relevant):
_edit_lock
1549915887:1For image:
_wp_attached_file
fsqm-files/DSCF9415.jpg_wp_attachment_metadata
a:6:{s:5:”width”;i:4288;s:6:”height”;i:3216;s:4:”file”;s:23:”fsqm-files/DSCF9415.jpg”;s:5:”sizes”;a:19:{s:9:”thumbnail”;a:4:{s:4:”file”;s:20:”DSCF9415-150×150.jpg”;s:5:”width”;i:150;s:6:”height”;i:150;s:9:”mime-type”;s:10:”image/jpeg”;}s:6:”medium”;a:4:{s:4:”file”;s:20:”DSCF9415-300×225.jpg”;s:5:”width”;i:300;s:6:”height”;i:225;s:9:”mime-type”;s:10:”image/jpeg”;}s:12:”medium_large”;a:4:{s:4:”file”;s:20:”DSCF9415-768×576.jpg”;s:5:”width”;i:768;s:6:”height”;i:576;s:9:”mime-type”;s:10:”image/jpeg”;}s:5:”large”;a:4:{s:4:”file”;s:21:”DSCF9415-1024×768.jpg”;s:5:”width”;i:1024;s:6:”height”;i:768;s:9:”mime-type”;s:10:”image/jpeg”;}s:11:”bloom_image”;a:4:{s:4:”file”;s:20:”DSCF9415-610×458.jpg”;s:5:”width”;i:610;s:6:”height”;i:458;s:9:”mime-type”;s:10:”image/jpeg”;}s:21:”et-pb-post-main-image”;a:4:{s:4:”file”;s:20:”DSCF9415-400×250.jpg”;s:5:”width”;i:400;s:6:”height”;i:250;s:9:”mime-type”;s:10:”image/jpeg”;}s:31:”et-pb-post-main-image-fullwidth”;a:4:{s:4:”file”;s:21:”DSCF9415-1080×675.jpg”;s:5:”width”;i:1080;s:6:”height”;i:675;s:9:”mime-type”;s:10:”image/jpeg”;}s:21:”et-pb-portfolio-image”;a:4:{s:4:”file”;s:20:”DSCF9415-400×284.jpg”;s:5:”width”;i:400;s:6:”height”;i:284;s:9:”mime-type”;s:10:”image/jpeg”;}s:28:”et-pb-portfolio-module-image”;a:4:{s:4:”file”;s:20:”DSCF9415-510×382.jpg”;s:5:”width”;i:510;s:6:”height”;i:382;s:9:”mime-type”;s:10:”image/jpeg”;}s:28:”et-pb-portfolio-image-single”;a:4:{s:4:”file”;s:21:”DSCF9415-1080×810.jpg”;s:5:”width”;i:1080;s:6:”height”;i:810;s:9:”mime-type”;s:10:”image/jpeg”;}s:35:”et-pb-gallery-module-image-portrait”;a:4:{s:4:”file”;s:20:”DSCF9415-400×516.jpg”;s:5:”width”;i:400;s:6:”height”;i:516;s:9:”mime-type”;s:10:”image/jpeg”;}s:37:”et-pb-post-main-image-fullwidth-large”;a:4:{s:4:”file”;s:22:”DSCF9415-2880×1800.jpg”;s:5:”width”;i:2880;s:6:”height”;i:1800;s:9:”mime-type”;s:10:”image/jpeg”;}s:11:”mtsnb-thumb”;a:4:{s:4:”file”;s:18:”DSCF9415-50×50.jpg”;s:5:”width”;i:50;s:6:”height”;i:50;s:9:”mime-type”;s:10:”image/jpeg”;}s:21:”woocommerce_thumbnail”;a:5:{s:4:”file”;s:20:”DSCF9415-300×300.jpg”;s:5:”width”;i:300;s:6:”height”;i:300;s:9:”mime-type”;s:10:”image/jpeg”;s:9:”uncropped”;b:1;}s:18:”woocommerce_single”;a:4:{s:4:”file”;s:20:”DSCF9415-600×450.jpg”;s:5:”width”;i:600;s:6:”height”;i:450;s:9:”mime-type”;s:10:”image/jpeg”;}s:29:”woocommerce_gallery_thumbnail”;a:4:{s:4:”file”;s:20:”DSCF9415-100×100.jpg”;s:5:”width”;i:100;s:6:”height”;i:100;s:9:”mime-type”;s:10:”image/jpeg”;}s:12:”shop_catalog”;a:4:{s:4:”file”;s:20:”DSCF9415-300×300.jpg”;s:5:”width”;i:300;s:6:”height”;i:300;s:9:”mime-type”;s:10:”image/jpeg”;}s:11:”shop_single”;a:4:{s:4:”file”;s:20:”DSCF9415-600×450.jpg”;s:5:”width”;i:600;s:6:”height”;i:450;s:9:”mime-type”;s:10:”image/jpeg”;}s:14:”shop_thumbnail”;a:4:{s:4:”file”;s:20:”DSCF9415-100×100.jpg”;s:5:”width”;i:100;s:6:”height”;i:100;s:9:”mime-type”;s:10:”image/jpeg”;}}s:10:”image_meta”;a:12:{s:8:”aperture”;s:3:”8.8″;s:6:”credit”;s:0:””;s:6:”camera”;s:13:”FinePix AV180″;s:7:”caption”;s:0:””;s:17:”created_timestamp”;s:10:”1548497647″;s:9:”copyright”;s:0:””;s:12:”focal_length”;s:3:”5.7″;s:3:”iso”;s:3:”200″;s:13:”shutter_speed”;s:6:”0.0005″;s:5:”title”;s:0:””;s:11:”orientation”;s:1:”1″;s:8:”keywords”;a:0:{}}s:8:”filesize”;i:1388646;}
This is from eform WP Quark plugin forum, maybe it is relevant?
Files are uploaded to wp-content/uploads/fsqm-files directory. So it inherits the permissions of upload directory. We do not generate any .htaccess file to keep the consistency of the upload directory.
The .wav files seem to go here: wp-content/uploads/fsqm-files/
and I actually found all .wav files in there (i.e. uploads/fsgm-files). Curiously jpgs are also there but in a strange format DSCF9418-ipt_fsqm_thumb.jpg
So basically, the uploaded through eform .wav file has 2 addresses and they both work:
s3 bucket address
and
/uploads/fsqm-files address
- This reply was modified 7 years, 3 months ago by kodzaks.
I have a similar issue only with eform when users upload media files. When wav files are uploaded they get assigned s3 address properly, but for some reason they do not show up in s3 bucket unless I first click on “view” for that file in media library. When .wav file is uploaded directly to media library it gets both s3 proper address and shows up in S3 bucket as well.
Forum: Plugins
In reply to: [ProfileGrid – User Profiles, Groups and Communities] Hide TabsHello,
Thank you for your reply. Yes, I customized 2 php files: profile-magic-public.php for the plugin and profile-tpl.php for my theme. It worked just fine up until now and both groups and notifications remained hidden. But with the recent plugin update this customization no longer works, as now the content of all tabs shows up under one ugly tab. When I revert to the original files, everything looks normal, but groups and notifications are no longer hidden.