WordPress.org

Ready to get started?Download WordPress

Forums

NextCellent Gallery - NextGEN Legacy
Flash upload and add gallery button not working with WP 3.9 (31 posts)

  1. kilzac
    Member
    Posted 4 months ago #

    Hi,

    Flash upload is not working with WP 3.9. have tested on a clean installation as well as live websites, using Firefox and Chrome browsers. Flash player version is up-to-date.

    The "Add Nextecellent Gallery" button is not working a well with the new editor. after clicking "Insert", it just returns the value of 0.

    https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/

  2. jasonkong
    Member
    Posted 4 months ago #

    I have the same problem. The pics cannot be uploaded to the folder.

  3. niknetniko
    Member
    Posted 4 months ago #

    To solve the issues with WP 3.9+ and the editor, you need to replace two files in /admin/tinymce/, in the plugin folder. These updated files fix compatibility issues with the new TinyMCE. There will hopefully be an update soon with the fixes as well.

    I will also investigate why the flash upload doesn't work. Could you provide some more details about this? Is there an error message? What exactly happens?

  4. kilzac
    Member
    Posted 4 months ago #

    Hi,

    Its okay, i can wait for the fixes in the next version update. i do not depend on the add gallery button to put in the shortcode anyway.

    As for the Flash upload, it pops-up as usual but stays there, doing nothing. the bar is not moving, and the files don't get uploaded at all. if i switch to non-flash upload, its fine, and it also creates the thumbnail correctly. but ofcourse, thats uploading 1 file at a time.

  5. Zigzagnico
    Member
    Posted 4 months ago #

    Hello !

    I have the same problem with tinymce-Advanced.

    The "Add Nextecellent Gallery" button is not working a well with the new editor. after clicking "Insert", it just returns the value of 0.

    I put the two files but nothing ...

    Have a nice day,

    Bruno

  6. niknetniko
    Member
    Posted 4 months ago #

    Did you try deleting your browser cache and trying again, after you've restarted the browser?

  7. dfreerider
    Member
    Posted 4 months ago #

    Yep, same thing here. No flash uploader on WP 3.9. It just hangs at 0%.

  8. kilzac
    Member
    Posted 4 months ago #

    Yes i did, and purposely tried on another PC and browser which had never accessed the WP to test. at the same time, i tested on another WP still running on 3.8.3 and it was uploading fine with flash.

  9. surace
    Member
    Posted 4 months ago #

    Yeah i too face the same problem. Flash upload alone causing problem while normal upload works perfect in Nextgen Gallery

  10. jackennils
    Member
    Posted 4 months ago #

    Same problem here. Hopefully someone will find a fix soon. At least for the not working flash batch upload.

  11. toad75
    Member
    Posted 4 months ago #

    I have the same problem with flash upload.

  12. niknetniko
    Member
    Posted 4 months ago #

    Is there anyone who wants to test this?

    In the /admin/admin.php file, change rule 283:
    wp_register_script( 'ngg-plupload-handler', NGGALLERY_URLPATH .'admin/js/plupload.handler.js', array('plupload-all'), '0.0.1' );
    to
    wp_register_script( 'ngg-plupload-handler', NGGALLERY_URLPATH .'admin/js/plupload.handler.js', array('plupload'), '0.0.1' );

    Be sure to clear the browser cache after changing the files.

    Just to be clear: this might not solve it!

  13. jackennils
    Member
    Posted 4 months ago #

    Just tried it. My browser is reloading the page multiple times and I'm getting a weird long url:

    http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[4]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[5]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[4]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[6]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[4]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[5]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[4]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[3]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[2]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1&skipjs[1]=http://mydivision.net/wp-admin/admin.php?page=nggallery-add-gallery&skipjs[0]=http://mydivision.net/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1

    And Error 414:
    Request-URI Too Large
    The requested URL's length exceeds the capacity limit for this server.

    :-X

  14. niknetniko
    Member
    Posted 4 months ago #

    Can you try that again, but this time add a new rule above the one you changed:
    wp_enqueue_script( 'plupload' );

  15. jackennils
    Member
    Posted 4 months ago #

    Tried it, but the page is still refreshing and I'm still getting this stupid long url and an error 414.

    :(

  16. niknetniko
    Member
    Posted 4 months ago #

    Mmh, weird. As warned, this might not be the solution then. It did get the uploads working again in my test environment, but I'll have another look tomorrow with a fresh install.

  17. artbiz
    Member
    Posted 4 months ago #

    I tried changing Line 283 as noted and nothing changed. Yes, I clear my browser cache.

  18. jackennils
    Member
    Posted 4 months ago #

    At least I'm not alone. :)

  19. surace
    Member
    Posted 4 months ago #

    Guys check this out - > Click here

    This might solve our issues i guess...

  20. jackennils
    Member
    Posted 4 months ago #

    Nope, this is something completely different.

    Media library uploads work fine, my php is up to date. The problem is the flash upload of Nextcellent in conjunction with plupload.

  21. niknetniko
    Member
    Posted 4 months ago #

    I have another possible fix for those that are willing to try.

    Replace /admin/addgallery.php with this file:
    https://bitbucket.org/niknetniko/nextcellent/raw/7384dd6455e3ef0a2a4d66de517610ef99629fbc/admin/addgallery.php

    Replace /admin/js/plupload.handler.js with this one:
    https://bitbucket.org/niknetniko/nextcellent/raw/7384dd6455e3ef0a2a4d66de517610ef99629fbc/admin/js/plupload.handler.js

    If you do so, you will notice the option to resize is gone, but it didn't work anyway. It will still resize images if you've checked the option in the settings however.

  22. jackennils
    Member
    Posted 4 months ago #

    That's it! Flash batch upload works like a charme again!

    You saved us all, thanks a lot mate! :)

  23. kilzac
    Member
    Posted 4 months ago #

    ok i've tested by replacing the 2 files and the Flash uploads is working again.

  24. ZigPress
    Member
    Posted 4 months ago #

    Any idea when these fixes will be rolled into a version update to guarantee compatibility with WP 3.9? I just discovered this plugin and want to switch to it from NextGen 1.9.13 but would rather not patch ten installations!

  25. Silvio1970
    Member
    Posted 4 months ago #

    thank you niknetniko

    now everything is back to work perfectly!!!

  26. niknetniko
    Member
    Posted 4 months ago #

    These changes are now merged into the main repository, so they'll be included in the next updated.

  27. WPReady
    Member
    Plugin Author

    Posted 4 months ago #

    Hi all,
    Niko is doing a superb job contributing with the plugin. As he said, his changes were merged with current code, along other contributions.
    We didn't launch a new version due an user found a SERIOUS issue which required attention and it is taking time & effort to close the gap.

    I'm going to release a new version THIS WEEK.
    My personal apologies for the delay.

  28. viter-z-bayraku
    Member
    Posted 4 months ago #

    Thanks, niknetniko

  29. Geo Cath
    Member
    Posted 4 months ago #

    Hi, please can I check as I'm confused as to whether this issue has now been resolved in Version 1.9.18 which I've just updated to. I've still got the same issue that I can't upload any images. I have tried the fixes above and updated to this version but the problem still exists.

  30. artbiz
    Member
    Posted 4 months ago #

    Thanks for the fix. Version 1.9.18 works perfectly for me.

Reply »

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.