Support Forum

Start Upload button not working

ME Michael Ehling
Michael Ehling
Member

Using Simple:Press version 5.2.6; File Uploader plugin version 2.0.2. WP version3.5.1.

 

What I do: logged in as administrator and editing a forum post, I press “Upload Attachments” button. The uploader window unfolds and I am able to either drag-and-drop or use the “Add files” button to select a file. The file I chose is a 800K PDF. I have set my upload limit to unlimited. When I try to press the “Start Upload” button, nothing happens.

What I tried to fix it: disabled all other plugins (as I saw might be the problem in https://simple-press.com/support-forum/sp5-plugin-topics/file-uploader-0-status/), tried Firefox, Chrome, and IE.

 

Any ideas?

 

Mike

82 Answers

New Answer

MP Mr Papa
Mr Papa
Member

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

I assume you enabled pdf in other file types? anything in your php error log?

 

ME Michael Ehling
Michael Ehling
Member

Hi Mr. Papa,

Yes, pdfs are allowed. No errors in the logs. I sent you a PM with credentials to test.

As you can see here large__4151467087.jpgthe uploader works fine on my browser. In fact, I was surprised to see how the buttons should work. Looks nothing like that on my site.

 

Is this a case of conflict with the theme I use (iFeature Pro 5 by Cyber Chimps)?

 

Mike

ME Michael Ehling
Michael Ehling
Member

OK, I tested switching from WP Theme “iFeature Pro 5” to Twenty Twelve.

That fixed it but I want to stick with my current WP theme.

Any idea how I can tell my WP theme to not interfere with the uploader plugin?

 

Thanks,

 

Mike

MP Mr Papa
Mr Papa
Member

its probably a jquery or js loading issue…

see:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

 

MP Mr Papa
Mr Papa
Member

looks like you are running suffusion?  we use that on our demo site, so shouldnt be an issue…

and I had no problem with uploads….  you should see a test post from the user you sent… one post uploaded image and a reply uploaded a pdf…

ME Michael Ehling
Michael Ehling
Member

Hi,

Sorry, no. I was trying out Suffusion as alternative (late at night when I didn’t think anyone would be looking :) ). I really do want to run iFeature Pro. You said it might be a jquery conflict. The theme does call jquery libraries installed on my server (not google). Do I now ask the guys over at Cyberchimp?

 

Mike

 

(PS: I guess I need a test environment now.)

 

MP Mr Papa
Mr Papa
Member

well, your wp theme is loading and using the bootstrap library… this is known to conflict with jquery ui that wp and many plugins, like simple press, use… 

the plupload library we use for file uploads extensively uses jquery ui and it is what is getting stomped on by bootstrap…  this is why your buttons and experience are much different…

they are working bootstrap to get it compatible with jquery ui, but from what I read, they are not quite there yet…

here is one sampling:   http://stackoverflow.com/questions/9048214/can-i-use-twitter-bootstrap-and-jquery-ui-at-the-same-time

GE GE
GE
Member

java.pngI have this problem too.

I’m using a free theme Customizr.

 

Does this mean I have the same issue with a jquery conflict? Very frustrating, as I don’t want to abandon the theme or simplepress.

 

Ive attached an image to what I think you are referring to above.

 

Can someone tell me how to resolve this?

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – you can see ‘bootstrap’ being loaded there. Use of this library is very annoying and such theme authors are just stomping all over the WordPress ‘standards’ and basically sticking two fingers up to plugin authors.

OK – rant over!

The trick is to get the jQuery.ui.core script library to load AFTER bootstrap. So – first question – is your SP javascript option to have scripts load at the bottom turned on (Integration admin panel)?

GE GE
GE
Member

Thanks for the quick reply. It was not. But I have now selected that option.

Unfortunately, the problem remains.

 

YS Yellow Swordfish
Yellow Swordfish
Member

We will need to see the code where the bootstrap file is enqueued. First stop would be to see in the themes functions.php file for a wp_enqueue_script() call for the bootstrap library…

Will need to see the block of code around that…

GE GE
GE
Member

After some digging, it doesn’t appear in the functions.php file, but rather a file called class-fire-ressources.php.

 

 

YS Yellow Swordfish
Yellow Swordfish
Member

So – will need to see the code. Can you paste it here – along with, say 10 lines either side for now?

GE GE
GE
Member

Can you not see it in the pdf attachment of my last post?