WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] HTTP error with flash-based image uploads (50 posts)

  1. jmek
    Member
    Posted 2 years ago #

    NextGEN displays an "HTTP Error" message (no other details) when using the Flash-based uploader with NextGEN 1.9.1 and WP 3.3. The problem occurs whether using drag-and-drop or the "Select Files" button. Images can still be uploaded if I "Disable flash upload," but there goes the cool new drag-and-drop.

    When the site was running NextGEN 1.8.4 and WP 3.2.1, the Flash uploader worked fine. It's only broken since the upgrade.

    And an odd thing: the HTTP error occurs only after the image has been 65% uploaded. (I am testing with images less than 20k, so it's not a size issue.)

    The error occurs even if all other plugins are disabled.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. RichardWPG
    Member
    Posted 2 years ago #

    you will have to wait until the developer develop a new version to be compatible with WP3.3

  3. jmek
    Member
    Posted 2 years ago #

    NextGEN 1.9.1 is the version that was developed to be compatible with WP 3.3. Guess it isn't fully compatible yet. I was hoping there was a workaround or that enough people would be having this problem to prompt a fix,

  4. Alex Rabe
    Member
    Posted 2 years ago #

    Which browser do you use ?

  5. jmek
    Member
    Posted 2 years ago #

    The problem occurs in Firefox, Chrome, and Safari on PCs running Windows 7 or Windows XP. Same problem in Internet Explorer but with an error message of "I/O Error" instead of "HTTP Error".

  6. Alex Rabe
    Member
    Posted 2 years ago #

    Do you have the same issues when you upload a image with the core media uploader ( they updated to the same new loader )

  7. ADWheeler
    Member
    Posted 2 years ago #

    Alex, I am having the same exact issues. Same exact set of tests. The upload shows that it has finished and in the dialog box just below the upload percent bar it shows HTTP 500 error.

    I too have tested it on several machines and several configurations. The core uploader works fine. I wondered if it could be something to do with another plugin conflict. I run nextgen on 5 other sites and they are all upgraded to 3.3 and 1.9.1 and they have no issues with the flash uploader.

    Hope this helps.

  8. jmek
    Member
    Posted 2 years ago #

    Alex, the core media uploader (WordPress > Media > Multi-file upload) works just fine.

    ADWheeler, we do have some slight differences in our problems. My error just shows "HTTP Error," it doesn't have a number (500 in your case). And my upload does not show that it has finished; it says "0 files uploaded" and indicates a failure.

  9. ADWheeler
    Member
    Posted 2 years ago #

    Actually AFTER my upload finishes that is what it says at the top. My flash window that shows the progress, briefly shows that error just before going to thumbnail generation...

  10. Alex Rabe
    Member
    Posted 2 years ago #

    I'm checking this here again... Have currently no clue

  11. Alex Rabe
    Member
    Posted 2 years ago #

    @jmek Other questions :

    Do use a SSL (https) backend ?
    Wordpress in a root or subfolder ?

  12. jmek
    Member
    Posted 2 years ago #

    @Alex:

    I am not using an SSL backend
    WordPress is in a subfolder

    Thank you for taking so much time on this!

  13. chironex
    Member
    Posted 2 years ago #

    when i'm clicking on 'Select files' (add images to a gallery), nothing happens.

    everything worked fine WP3.2.1 (multisite) and Nextgen 1.9

    after upgrading to WP 3.3, the flash uploader in next doesnt work anymore.

    Javascript etc. activated; Flash 11.1.

    * Operating System : Linux (64 Bit)
    * Server : Apache
    * Memory usage : 32.01 MByte
    * MYSQL Version : 5.1.43-nmm4-log
    * SQL Mode : Not set
    * PHP Version : 5.2.12-nmm2
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 64
    * PHP Max Upload Size : 200M
    * PHP Max Post Size : 200M
    * PCRE Backtracking Limit : 500000
    * PHP Max Script Execute Time : 30s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    Graphic Library

    * GD Version : bundled (2.0.34 compatible)
    * FreeType Support : Yes
    * FreeType Linkage : with freetype
    * T1Lib Support : Yes
    * GIF Read Support : Yes
    * GIF Create Support : Yes
    * JPG Support : Yes
    * PNG Support : Yes
    * WBMP Support : Yes
    * XPM Support : Yes
    * XBM Support : Yes
    * JIS-mapped Japanese Font Support : No

    @ ALEX

    thank you very much for your work !!!!

  14. jmek
    Member
    Posted 2 years ago #

    @Alex et al:

    Did anyone find a solution to this problem?

    jmek

  15. colourstone
    Member
    Posted 2 years ago #

    Same issues..
    any solution yet?
    Thanks

  16. deepthy
    Member
    Posted 2 years ago #

    I had the same problem. I have solved it by change the permission of the file nextgen-gallery/admin/upload.php from 644 to 755. Now the flash uploader is working correctly for me.

  17. gadgetgaz
    Member
    Posted 2 years ago #

    I am also getting a HTTP error message and unable to upload images.
    I can say that it works fine when I am logged in as admin and I can create galleries and upload pictures at will.
    The problem occurs when I log in with a subscriber account. Obviously I have enabled gallery creation and image uploading in roles.
    If I turn off the flash based upload I can upload the images but thumbnail creation fails.

  18. jmek
    Member
    Posted 2 years ago #

    @deepthy, thanks so much for posting your solution! I changed the permissions for nextgen-gallery/admin/upload.php from 644 to 755 and now everything works beautifully.

    jmek

  19. simongreenland
    Member
    Posted 2 years ago #

    Same problem here, flash uploader gives HTTP error on all systems I've tested (Firefox, IE, Safari, Chrome) whereas non-flash uploader is fine, but obviously only takes one file at a time. deepthy's fix of chmodding /upload.php had no effect.

    I'm using NG 1.9.3 on WP 3.3.1

  20. simongreenland
    Member
    Posted 2 years ago #

    Well, that was quick - I've figured out what my problem was, so hopefully this will help with other people too.

    I had a bunch of users that were all subscribers. None of them were able to use the NextGen flash upload, but they could all use the non-flash upload. It turns out that although they had privileges to upload via NextGen (in the NextGen roles settings), subscribers don't have normal WP upload privileges. It seems the NextGen flash upload ignores NextGen roles and checks WP roles instead, so all I had to do was install a role manager plugin (I'm now using Vladimir Garagulya's User Role Editor) and allow Subscribers to upload_files. Hey presto, they can now use the flash uploader.

  21. jackofalltrades999
    Member
    Posted 2 years ago #

    i face the same HTTP error problem..for ages now..
    using all latest versions of wordpress..buddypress...next gen..etc.

    Multiple file upload- flash based upload (in posts and pages) works fine in wordpress>>media upload

    Next Gen - single photo upload works fine
    Nest gen - flash based upload - HTML error

    CHMOD workaround does not work

    @simongreenland - could this be a role based error..because even as admin i cannot upload (using flash based uploader)..i use role scoper...(any suggestions with the settings)

    I am beginning to think next gen is not 100% compatible with latest wordpress..

    any suggestions...anyone..

  22. chironex
    Member
    Posted 2 years ago #

    @jackofalltrades999
    which browser (+ Version!) do you use?
    WP single or multi-user?

  23. jackofalltrades999
    Member
    Posted 2 years ago #

    @chironex...

    i use WP single
    browser...all - mozilla, chrome, opera, IE..same error with all..

  24. chironex
    Member
    Posted 2 years ago #

    I'm sorry, i have no clue. So i dicovered, that it worked fine with opera and SRWare Iron (a secure Chrome-Browser clone), but not with firefox. Still courious.

  25. lwasserstein
    Member
    Posted 2 years ago #

    running Nextgen with WordPress 3.3.1 with Safari. Sounds like the same problem. Upload with Flash Based Upload fails with an HTTP error. The red progress bar completes and is immediately followed by the single phrase HTTP error.

    Uploading multiple files using the zip upload works perfectly

    Image files uploaded are small in size and bytes

    Now this was working before a hosting change so could be due to some setting on the new host.

    Really need some help since we want to allow members of a camera club to control their own galleries using Nextgen and want to make the upload as simple as possible.

    Any ideas??

  26. whalegeek
    Member
    Posted 2 years ago #

    I have had the same problem for several weeks and have posted about it twice with no resolution (no responses on one post at all). I am also on the latest versions of WP and NextGEN, also have tried on Safari, Chrome and Firefox, to no avail. I can get most photos in an upload done (say, 22 out of 25) but 3 random images will produce a vague http: error. I disabled the flash uploader and tried doing those three individually with no positive result (I get taken to page on my site with the error, page not found). These are 72 dpi, average jog images, nothing fancy or large.

    It's very frustrating. Would really like to see a reliable solution.

    (also having trouble with the Sort Gallery function - anyone else? Sometimes it works perfectly and sometimes not at all. I go for the Time/Date sort. It's a PITA to do manually.)

    [ Do not bump, it's not permitted here. ]

  27. gdavide
    Member
    Posted 2 years ago #

    I've the same problem with the same wp and ngg versions.
    The strange thing: if i do the upload with the admin user everithing works good, if i use another user i get the "i/o" error

    regards

  28. lwasserstein
    Member
    Posted 2 years ago #

    My issue solved by hosting provider. Not sure what they did though - think permissions on the gallery. Have tested this further on a 2nd hosting service (Bluehost) and it worked fine.

    Apparently one known bug/limitation (perhaps relevant to some posts in this thread) - flash upload does not work for a user who is not an administrator, workaround is to use the zip file upload.

  29. whalegeek
    Member
    Posted 2 years ago #

    I just wiped an unpublished gallery out of the images, made a zip of the images, and tried to upload that, no dice. I get a 404 error on my site, not even in the upload page. I am the only user on this site so am the admin (just double checked, yep).

    This is getting very frustrating.

  30. whalegeek
    Member
    Posted 2 years ago #

    Because I've seen no solutions or plugin updates and I am getting desperate, I tried the chmod on the upload.php file indicated above. No change. Still cannot add those orphaned photos to their intended gallery.

    Another frustrated user, here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic