WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] BUG (flash upload & thumbnails) 1.7.2 & WP 3.0.3 (19 posts)

  1. dingdang
    Member
    Posted 3 years ago #

    I've discovered a bug (not sure if it is in WP or NGGallery):

    everything worked fine until the latest upgrade:
    WP to 3.0.3 (from 3.0.2) configured for Multisite (this is important for the bug!)
    NGG to 1.7.2 (from 1.6.2)

    The problem:
    1. some thumbnails are not generated
    2. flash upload don't upload images
    (normal upload is OK)

    What I've found:
    1. when uploading trough the flash upload at the end I get a message like "/some_folder_with_pics/" contains no pictures
    2. in the error log:
    PHP Fatal error: Call to undefined function wpmu_enable_function() in /.../wp-content/plugins/nextgen-gallery/lib/multisite.php on line 21

  2. dingdang
    Member
    Posted 3 years ago #

    I've read some comments on the web to comment the problematic line, but wouldn't this break the quota checking?

    Isn't there a better way to fix this bug?

  3. dingdang
    Member
    Posted 3 years ago #

    Looked trough the code:

    the function wpmu_enable_function() is defined in admin/admin.php and there is no access to it at lib/multisite.php

    if in lib/multisite.php it is modified to nggGallery::wpmu_enable_function and wpmu_enable_function is placed at let say lib/core.php it will work OK. Should be removed from admin/admin.php

    Hey Alex are you reading here? Please fix the bug...

  4. crazywhistlepig
    Member
    Posted 3 years ago #

    I am having the same issue. Is there a workaround? I tried disabling the quota checking to no avail. It's awesome since this is now broken for 56 sites on my Multisite network.

  5. dingdang
    Member
    Posted 3 years ago #

    I explained how to fix this but I'm expecting the author to release a fix

  6. Alex Rabe
    Member
    Posted 3 years ago #

  7. dingdang
    Member
    Posted 3 years ago #

    Thank you!
    Will you release a new version, so we could update normally trough WP?

  8. Alex Rabe
    Member
    Posted 3 years ago #

    Yes in the next week, first I will fix other bugs

  9. dingdang
    Member
    Posted 3 years ago #

    Thanks!
    Could you look to my other report here:
    http://wordpress.org/support/topic/plugin-nextgen-gallery-another-bug?replies=1

    Not sure if this is NextGen related as it doesn't produce any errors in the log file...

  10. crazywhistlepig
    Member
    Posted 3 years ago #

    Thanks Alex! Hotfix applied. Look forward to the next update!

  11. puregraphx
    Member
    Posted 3 years ago #

    I'm also using NGG 1.7.2 on WP 3.0.3. After a clean install of the plugin, I select "Add Gallery/Images" and receive the following error in IE:

    Message: Expected identifier, string or number
    Line: 194
    Char: 11
    Code: 0
    URI: http://gm-productions.be.apache09.hostbasket.com/wp-admin/admin.php?page=nggallery-add-gallery

    As said, it's a clean install, I even haven't touched the settings or created albums yet.

  12. Jason Lemahieu (MadtownLems)
    Member
    Posted 3 years ago #

    I can confirm this is also a problem when using the Flash uploader on multisite. Disabling the flash uploader seems to let me upload fine.

  13. puregraphx
    Member
    Posted 3 years ago #

    The Flash upload is broken :(

  14. donal
    Member
    Posted 3 years ago #

    Thanks Alex, that fixed the flash uploader for me.

  15. puregraphx
    Member
    Posted 3 years ago #

    Hi donal, could you please share what fixed your issue?

  16. jefflennan
    Member
    Posted 3 years ago #

    For what its worth - I was having an issue where I could not get the flash or non-flash uploader to recognize any images. I would browse, select the images, and they would not show up in the list as they normally do before I click "upload".

    Turns out it was bc the images that I was trying to upload were too large (13MB) and when I resized them, it worked fine.

    GREAT plugin. Thank you for making it.

  17. jefflennan
    Member
    Posted 3 years ago #

    We just kicked the developers 50 Euro via the Plugin page and I encourage others who are benefitting from this to donate too.

  18. Aga
    Member
    Posted 3 years ago #

    Thank you Alex, the fix you presented at
    http://code.google.com/p/nextgen-gallery/source/detail?r=896
    helped! Thanks a lot!

  19. jozwikjp
    Member
    Posted 3 years ago #

    Ping.
    I have applied the patch. And flash upload seems to still be broken with a
    HTTP ERROR HTTP 302..

    It was working before on my server. I can't find the solution I used to fix it last time.

    Flash upload for wordpress works 80% of the time but sometimes has a 302 error.

    Flash upload for nextgen fails with HTTP ERROR 100% of the time.
    I am using Nginx. Is there a way to enable a debug more for nextgen to load errors?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.