• Resolved oncbara

    (@oncbara)


    Hello,
    I have an upload problem on my site since the last update. I have the pro version (3.4.7), but the problem occurs on NEXTGEN GALLERY even when I deactivate NEXTGEN PRO.
    The plugin is now very instable :
    When I try to upload some images with the NextGen Gallery import function, the process starts normally but is often freezing (sometime at 2%, sometimes at 53 % …). I have to cancel the upload manually.
    I have tested the upload with different sizes (up to 14 Mb) and type(JPG and PNG) of image files.
    On multiple files upload, in case of freezing, some of the files may be uploaded and some not.
    There is no error message. I switch my WordPress installation in debug mode but I have no information in my debug log to locate or fix the problem.

    The two others ways to import Image files, directory import function and the WordPress Media library import function seems to works perfectly.

    Thanks for your help !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    Imagely does not provide any solution, I have a ticket open for 17 days, I do not understand their method.

    “#340880 NextGEN Pro – Problem Sidescroll Pro in new versions of NextGen Gallery and NextGen PRO
    Gérard Martinez, reported 17 days ago”

    Since the last versions, everything works badly or not at all. Sidescroll in nEXTgen Pro no longer works, … etc … etc ..
    I asked to go back to previous versions, .. I am waiting !!!

    Sorry we can’t help you.

    Gerard

    Benjamin

    (@benjaminowens)

    Is it possible that you are using PHP 8.0? We’ve just today released NextGEN 3.5.0 which addresses several PHP 8 compatibility issues, including one that could cause image uploads to fail.

    If you’re still on PHP 5.6 – 7, does anything appear if you activate your browser developer tools and inspect the image upload request response?

    Thread Starter oncbara

    (@oncbara)

    Hello Benjamin,
    thanks for your answer.
    I have just made the update 3.5.0.
    I’m using PHP 7.4.
    The upload process is stil freezing.
    With the navigator debug console I can see 2 errors.
    Here are the details :
    Uncaught TypeError: erroredFunction is null
    onerror https://www.fotoladefense.fr/wp-admin/admin.php?page=ngg_addgallery:340
    NextJS 12
    upload
    upload
    r
    uploadFiles
    handleUpload
    i
    promise callback*we</n._runUpload/<
    _runUpload
    upload
    promise callback*we</n.upload
    <anonymous>
    l
    admin.php:340:61
    onerror https://www.fotoladefense.fr/wp-admin/admin.php?page=ngg_addgallery:340
    NextJS 3
    (Asynchrone : EventListener.handleEvent)
    upload
    upload
    r
    map self-hosted:221
    NextJS 2
    uploadFiles
    handleUpload
    <anonyme> self-hosted:1161
    NextJS 2
    i
    (Asynchrone : promise callback)
    _runUpload
    forEach self-hosted:206
    NextJS 3
    <anonyme> self-hosted:1161
    NextJS 2

    Uncaught SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
    getResponseError https://www.fotoladefense.fr/wp-admin/admin.php?page=ngg_addgallery:1078
    NextJS 13
    upload
    upload
    upload
    r
    uploadFiles
    handleUpload
    i
    promise callback*we</n._runUpload/<
    _runUpload
    upload
    promise callback*we</n.upload
    <anonymous>
    l
    admin.php:1078:37
    getResponseError https://www.fotoladefense.fr/wp-admin/admin.php?page=ngg_addgallery:1078
    NextJS 4
    upload
    (Asynchrone : EventListener.handleEvent)
    upload
    upload
    r
    map self-hosted:221
    NextJS 2
    uploadFiles
    handleUpload
    <anonyme> self-hosted:1161
    NextJS 2
    i
    (Asynchrone : promise callback)
    _runUpload
    forEach self-hosted:206
    NextJS 3
    <anonyme> self-hosted:1161
    NextJS 2

    I’ll try to downgrade to previous version.
    Thanks for your help !

    Benjamin

    (@benjaminowens)

    I’m sorry that uploads are still broken for you!

    That looks like the uploader is expecting a JSON response but it’s getting something else, that’s usually caused by having WP_DEBUG on which can make PHP notices or warnings be mixed in with what is supposed to be formatted data.

    If you change to the Network tab in the browser tools and click on the XHR request to upload an image is there anything in the “Response” sub-tab?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upload process is freezing since last update’ is closed to new replies.