Forums

Flash Upload broken (5 posts)

  1. puregraphx
    Member
    Posted 1 year ago #

    When I go to Gallery > Add Gallery / Images I get the following error in IE. I also get a 'missing image' icon over the browse button.

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
    Timestamp: Thu, 3 Feb 2011 20:48:14 UTC

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

    And when I try to browser for images, I get this additional error:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
    Timestamp: Thu, 3 Feb 2011 20:56:02 UTC

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

    Message: Exception thrown and not caught
    Line: 451
    Char: 2
    Code: 0
    URI: http://gm-productions.be.apache09.hostbasket.com/wp-content/plugins/nextgen-gallery/admin/js/swfupload.js?ver=2.2.0

  2. JamesDuncombe
    Member
    Posted 1 year ago #

    I have a client with the same problem.

    It seems to be something to do with flash as when it's disabled there's no problem.

    Did you find an answer in the end?

  3. puregraphx
    Member
    Posted 1 year ago #

    No, unfortunately this problem is so widespread, but Alex hasn't come up with an answer. I've moved to the paying solution Flash Gallery (http://flash-gallery.com/). Although NextGen has far better picture management, Flash Gallery has flawless thumbnail creation.
    I do hope Alex Rabe comes up with a solution, then I'll switch right back to NextGen, but now with WP 3.0.5. NextGen even generates a 500 error as soon as it's activated :(

  4. JamesDuncombe
    Member
    Posted 1 year ago #

    That's strange. I can't recreate the problem here.

    For now I'll advise then to turn off the flash upload as the rest of it seems to work still.

  5. JamesDuncombe
    Member
    Posted 1 year ago #

    Ok, I've done some digging today for a solution...

    It's not perfect but if you're using a capable browser you can amend this file and it seems to work:

    /admin/addgallery.php

    Line 371 - Change:
    <td><span id='spanButtonPlaceholder'></span><input type="file" name="imagefiles[]" id="imagefiles" size="35" class="imagefiles"/></td>

    To (add 'multiple' to the element')

    <td><span id='spanButtonPlaceholder'></span><input type="file" name="imagefiles[]" id="imagefiles" size="35" class="imagefiles" multiple /></td>

    More info here: http://dev.w3.org/html5/markup/input.file.html

    Now the user can select multiple files for upload. They will only see one file to upload on the main screen in the admin section but it will upload multiple files at once.

    As I said, not perfect but it helped a client out today.

    Cheers,

    James

Topic Closed

This topic has been closed to new replies.

About this Topic