Support » Plugin: NextGEN Public Uploader » Error displayed Upon Upload – "xxx.jpg is not a valid file".

  • Resolved iBusinessLogic

    (@ibusinesslogic)


    Public uploader seems to be working fine, other than this pesky error message that occurs when a user uploads a single file.

    No matter what file extension is uploaded (.jpg,.png,.gif) – Upon upload of an image, the following error message is repeated 7 times (In a large red info box at the top of the page) when the page where the short code is displayed reloads.

    “xxx.jpg” is not a valid file.

    The file uploads fine, and I am notified of the upload in email. I can then approve the image and it appears in the assigned gallery perfectly.

    I can find no where to select the “Authorized” file types for upload. I have tried disabling all other plugins in my installation to determine is there is a conflict.

    Any suggestions – ideas? Is this a new bug?

    http://wordpress.org/extend/plugins/nextgen-public-uploader/

Viewing 15 replies - 1 through 15 (of 16 total)
  • I have the same along with my reported error “invalid argument supplied foreach() …. /npu-upload.php on line 469”.

    A few weeks ago these errors were not there, so it’s recent.

    I had no support for that until now unfortunately.
    I hope someone comes up with an answer.

    Yes, this is a feature that would be very valuable to the site I am working on now. I cannot find the error. Any updates from the developer would be very welcome!

    Save
    Information that might help.
    On my site had the same problem, looked for a solution, found nothing, either in support of Nextgen (use the public uploader)
    This week effected a fix in Apache, the problem stopped
    By searching I found that many sites are having the same problem
    sorry my english, I’m using a translator

    Hi Tanesi,

    Can you tell about the fix in Apache?

    Your English is OK 🙂

    Hopefully Tanesi’s clues will help the developer find the issue and effect an update.

    The error occurs when I have activated the Jetpack for WordPress.com. If you do not see the Jetpack disable error uploading image with NextGen Public Uploader. Sorry for my english.

    Trying to activate and deactivate all plugins I’ve seen the error Jetpack. Specifically when I activate the plugin Jetpack email subscriptions I get the error uploading an image with Nextgen Public Uploader. When you disable this feature, the error disappears. Again, sorry for my English. Greetings.

    I have the same error, when users upload image, any image, the “xxx.jpg is not a valid file” is displayed at the begining of the page, but the image is correctly uploaded. My user are worry and retry uploading file many times.

    I also have jetpack activated.
    If jetpack is not activated, we have no error.

    Allastra

    (@allastra)

    I’m having the same problem, however I do not have Jetpack enabled.

    mariogroleau

    (@mariogroleau)

    An update of the JetPack arrived and the problem disapear?

    Allastra

    (@allastra)

    i activated the updated Jetpack and I am still having the same error.

    Doctor+Who+Valentine_c53894_4430284.jpg is not a valid file.

    Warning: Invalid argument supplied for foreach() in [npu-upload.php path] on line 469
    Doctor+Who+Valentine_c53894_4430284.jpg is not a valid file.

    Warning: Invalid argument supplied for foreach() in [npu-upload.php path] on line 469

    at header

    Doctor+Who+Valentine_c53894_4430284.jpg is not a valid file.

    Warning: Invalid argument supplied for foreach() in [/npu-upload.php file path] on line 469

    above gallery on page

    You must select a file to uploadYou must select a file to uploadYou must select a file to upload
    Your File Has been added successfully

    before uploader form

    also note that the line given must be created as part of the loop as there is no line 469 in that file.

    Allastra

    (@allastra)

    Hey all,

    I’ve got it down to it’s echoing out an error even though it’s uploading the file fine.

    No file has been selected. Please select a file first before hitting the upload button.No file has been selected. Please select a file first before hitting the upload button.No file has been selected. Please select a file first before hitting the upload button.

    pops up right before my success message… why is it repeating a million times and where might i find the code that echos this.

    Allastra

    (@allastra)

    Nevermind i’ve got it working now 🙂 Thanks sometimes it just helps talking stuff out while i work 🙂 (there are echo statements all over npu-uploader, removing them so they only returned if there was an error helped 🙂

    jacobmclaws

    (@jacobmclaws)

    Allastra,

    could you give me a little more detail on how you got it to work. Some of my users are running into the problem of
    ____________ is not a valid file.
    Warning: Invalid argument supplied for foreach() in [/npu-upload.php file path] on line 469
    ?

    I just launched and now it stopped working and people are showing me this invalid stuff… 🙁

    Thanks

    arosstyler

    (@arosstyler)

    I have the same issue and have discovered it is tied to the shortcode uploader when using a specific gallery id. if I use [ngg_uploader id=1] or something with the id every file uploaded returns “is not a valid file” if I just use [ngg_uploader] then I get the success message and no error message.

    Since I don’t want my users to upload every image into one default gallery I need this solved.

    Allstra I really wish you would post your npu_upload.php file for us as I am not a coder and can’t find the echo’s (hell I don’t even know how to spot one). Any help here guys would be awesome for those of us stuck on this one.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Error displayed Upon Upload – "xxx.jpg is not a valid file".’ is closed to new replies.