Support Forum

File Uploader with Pupload plug-in not responsive

BA bangkokhooker
bangkokhooker
Member

Hi guys,

I’ve recently installed the picture uploader plugin version 2.0.2 into my forum but am having a bit of a problem with it. When I try to attach a photo I can click on “Add Files” but when I try to click on “Start Upload” nothing happens. 

All I get is the hover message “using runtime: html5”

I am currently running my WordPress website via the Pagelines theme if that information can help you guys in anyway.

Thanks in advance for your assistance team.

 

18 Answers

New Answer

BA bangkokhooker
bangkokhooker
Member

okay, I’ve been looking at the forum and it seems that this problem is extremely common. I don’t really have time to fix it, are there any moderators willing to just do this for me? I’m more than happy to pay you for your services. I really am not capable with coding.

MP Mr Papa
Mr Papa
Member

extremely common? nope…  many tens of thousands of downloads of it and maybe a dozen issues – all related to improper wp themes or plugins…

do you have a link to your site?

usually comes down to a js/jquery conflict:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

which browser?  and have you tried another?  just as another data point…

BA bangkokhooker
bangkokhooker
Member

the website is http://bangkokhooker-fishing.com

And yes, I’ve read the js/jquery conflict article. It hasn’t resolved anything since I am not familiar with coding.

I tried using the uploader on both Chrome and Firefox and both are facing the same issue. 

thanks for your time.

 

YS Yellow Swordfish
Yellow Swordfish
Member

PageLines loads up the BootStrap javascript library which is incompatible with the jQuery and jQuery Ui that is supplied and used by WordPress. The PageLines guys seem to think this is OK. We feel that any theme should adopt and abide by the WordPress standards. BootStrap does not. It means that some Ui components that are under the control of the jQuery Ui are effectively disabled. The Uploader buttons fall into this category.

This thread does seem to give a solution by it’s end however: https://simple-press.com/support-forum/sp5-general-topics/cannot-upload-images/

BA bangkokhooker
bangkokhooker
Member

You mean this code that i’m supposed to input into my functions.php?

add_action('wp_enqueue_scripts', 'deregister_pl_bootstrap', 100);
function deregister_pl_bootstrap() {
    if(sp_is_forumpage()) {
        wp_dequeue_script('pagelines-bootstrap-all');
    }
}

Yup I tried that too and am trying it again right now and it is still giving me the same flattened Bootstrap look on the "start upload button".

I also see that the following solution in that same thread had user "Olivier Duong"   suggesting to use:

add_action( ‘wp_enqueue_scripts’, ‘deregister_pl_bootstrap’ );
 
function deregister_pl_bootstrap() {
 
// some logic needs to check if your in the forums!!
wp_deregister_script( ‘pagelines-bootstrap-all’ );
}
 
 
I’m wondering if I am suppose to add “// some logic needs to check if your in the forums!!” into the code as well?
 
 
BA bangkokhooker
bangkokhooker
Member

Also thanks for helping me out so far guys. I really appreciate it.

 

BA bangkokhooker
bangkokhooker
Member

I just tried the above code:

add_action( ‘wp_enqueue_scripts’, ‘deregister_pl_bootstrap’ );
 
function deregister_pl_bootstrap() {
 
// some logic needs to check if your in the forums!!
wp_deregister_script( ‘pagelines-bootstrap-all’ );
}
all while removing “// some logic needs to check if your in the forums!!” because I’m pretty sure that’s not code and the only thing I could achieve was disable the “add topic” button altogether.
 
Got anything else guys? I’m really struggling here. I can’t have a fishing forum where no one can upload their photos :(
MP Mr Papa
Mr Papa
Member

not sure I follow…

// some logic needs to check if your in the forums!!

is code… but a comment…  but wont hurt if not there… comment was just that this wil occur on all pages unless a check is made to see if on the forum page… the first code example has the check…

on your site, bootstrap is still being loaded…  did you remove it?

BA bangkokhooker
bangkokhooker
Member

The line that said “// some logic needs to check if your in the forums!!” was already in the code he provided.

 

I tried all the codes that you guys have found for me and unfortunately I haven’t gotten any closer to fixing the issue. :(

MP Mr Papa
Mr Papa
Member

but was my question have you reverted your site?  its still loading bootstrap…

if you wanted to us access to your site (wp admin with sp admin caps and likely ftp access), we could take a look at the code…  if that works, pm the details to yellow swordfish and myself… understand if not..

BA bangkokhooker
bangkokhooker
Member

hi Mr Papa,

I have tried disabling Bootstrap via the codes provided by you guys but nothing happened. I tried emailing my webhosting and they took a look at it all and came back with this email:

We have reproduced the issue from our side. After it has been done, we have enabled debug mode in WordPress and reproduced it again. This log was generated right after “Start upload ” had been clicked. As you can see , this error most possibly has been triggered by some error in php-files of Simple-press plugin. Please email this log to developers of this plugin or to corresponding customer support representative for consideration.

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: footer in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 686

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: group in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 673

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: all in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 476

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined index: sfkeywords in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/sp-startup/forum/sp-forum-support-functions.php on line 534

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined property: stdClass::$topic_pinned in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/forum/content/sp-common-view-functions.php on line 92

[29-Jun-2013 07:47:54 UTC] PHP Notice: Undefined property: stdClass::$unread in /problem-with-post-edit-buttonome/jesleg/public_html/wp-content/plugins/simple-press/forum/content/sp-common-view-functions.php on line 93

 

I will  send you my forum admin password and username to you in a PM. Thanks again.

 

 

YS Yellow Swordfish
Yellow Swordfish
Member

The first thing to say is these are NOT errors – they are all ‘Notices’ and have no effect on processing. They are, however, a nuisance and to the best of my knowledge (we will check) have already been cleaned up readyt for the next update. Most of these – as you will see if you look – are the same notice.

I believe you can probably get rid of most of these by by visiting the forum admin > Options > Global Settings and (1) turning on or off the two options to combine css and js files and saving the change. Then (2) put them back they were and save the change again.

These notices, by the way, have absolutely nothing to do with the file uploader. So has your host made those changes and got the file uploader working now?

BA bangkokhooker
bangkokhooker
Member

No i am not aware that they have been asked to make any changes. All they said was to send you guys the log and no the uploader is still displaykng the same error, i have sent Mr Papa my admin user and password so please take a look for me. 

MP Mr Papa
Mr Papa
Member

Okay, I got it working for you… but I had to edit one file in your them…

I edited action.sites.php, this line

    wp_register_script( ‘pagelines-bootstrap-all’, PL_JS . ‘/script.bootstrap.min.js’, array( ‘jquery’ ), ‘2.3.1’, false);

I changed to force bootstrap to get loaded in the header, so when jquery ui is loaded in footer, all is well…

I was able to get bootstrap to not load, but this caused general issues for your site on all pages as the nav menu was using bootstrap…