Support Forum

Cannot upload files with File Uploader

RB Richard Bradley
Richard Bradley
Member

Hey fellas,

Awesome plugin and I’m happy to hear that you guys are sane enough to retire :).

I was hoping you could help me with an issue I’m having with the file uploader plugin. I can add files to the queue, but when I try to upload it does nothing for me. 

My site is at community.citizensclimatelobby.org but our forums and other user-generated content are protected. Let me know how to securely send you a login, if you need one. 

There are 12 errors in the console. I tried to paste them here but I get a max link error.

Thanks in advance for your help.

17 Answers

New Answer

MP Mr Papa
Mr Papa
Member

are you sure they are errors?  only need the ones in red – the errors…  paste em as text instead of html…

do you have a link to your site so we can check for obvious errors?  

usually would be caused by caching of the forum pages…  or javascript conflict..  on latter, with the browser console open, any errors show when the page loads or when you click the start button?

Also, check your php error log…

YS Yellow Swordfish
Yellow Swordfish
Member

If the ‘Start Upload’ button does not look like a button (i.e., is totally ‘flat’) then it could mean that your WP theme or another plugin is loading the Bootstrap JavaScript library. If you suspect this, view the source in the browser and search for ‘bootstrap’ and let us know if found.

Actually – while your site is protected I can still see that Bootstrap is being loaded. Bootstrap is not, sadly, supported by the WordPress API and it has negative effects on the jQuery UI library which IS supported and supplied. It would be nice if the WP team could sort this but alas – nothing so far.

The key to this – normally – is to ensure that the BootStrap library loads BEFORE the jQuery UI library. Or – even better – if it is not needed on the forum m page – that it is not loaded at all.

RB Richard Bradley
Richard Bradley
Member

Hey Sword that is Yellow,

So I did find that bootstrap is loaded in the head, but it seems like I’ve moved any js to load after bootstrap and I’m still unable to “start upload.”

It’s weird in that when the cursor mouses over the “start upload” button it now it changes the pointer…progress! 😉

Any other recommendations/suggestions? 

MP Mr Papa
Mr Papa
Member

are you using our combined js cache?  you may want to clear it on forum – toolbox – integration… and also clear your browser cache…

do you have a link to your site?

RB Richard Bradley
Richard Bradley
Member

Hey Papa,
From Forum>Toolbox>Housekeeping I “reset combined script cache” and cleared my browser cache with no change. My URL is community.citizensclimatelobby.org/forum.

Thanks for your help.

YS Yellow Swordfish
Yellow Swordfish
Member

There are still a couple of errors in the script console. One to do with something called ‘protected content’ and one to do with recaptcha. Hard to say of they are at fault but it ism always a possibility. Bit we can not actually see the forum loaded in any case and I am not seeing any of the SP scripts in the source.

RB Richard Bradley
Richard Bradley
Member

Hey fellas,

Thanks for the help. I may revisit this later when I have more time to look into it. 

EP erin peloquin
erin peloquin
Member

I am having the same issue – my Add Files and Start Upload buttons don’t look like buttons.

Line 14 of my View Source says <link rel=’dns-prefetchhref=’//maxcdn.bootstrapcdn.com‘ />

My website is https://photographylesssons.online/forums

How do I fix this? Is it related to cloudflare?

Thanks!

EP erin peloquin
erin peloquin
Member

Also, from this post, I did just check the button to lead javascript in the footer and cleared the cache. It didn’t help.

EP erin peloquin
erin peloquin
Member

Actually, I think I fixed it. It’s related to Beaver Builder.

I inserted this code:

function remove_bb_bootstrap() {
wp_dequeue_script('bootstrap');
}
add_action( 'wp_enqueue_scripts','remove_bb_bootstrap',1000);

And now the buttons show properly. I don’t really know what that code means, so would you please tell me if anything looks problematic in relation to simple press?

 

Thanks!

MP Mr Papa
Mr Papa
Member

Yes related to your theme. It’s loading Bootstrap which conflicts with the WP jQuery UI… Csn work together – just have to load in right order which the theme should do properly…

Of course removing it if not needed can work too… 😉  the forum certainly won’t use it… If problems arise, we can help with the order too… 

EP erin peloquin
erin peloquin
Member

I would rather change the load order if you can help me with that. It seems less severe. Thank you!

MP Mr Papa
Mr Papa
Member

Did you find the info on removing it here? Those same topics have details about changing the load order too (requires modifying your wp theme)… Search the forum for Bootstrap…

You will need to find on your wp theme where Bootstrap is loaded… You may have already done that..

I can update later tonight when home from work…