Skip to content

File resize error? #2

@SnowCreative

Description

@SnowCreative

Just tried uploading an 11MB image (4600 x 7000 pixels), and it uploaded but then hung up without doing the resize. The error happens whether or not the image actually needs to be resized (same thing happens for small images). Javascript console is showing this:

VM1050:1 Uncaught SyntaxError: Unexpected token '<'
at doDecode (ext-all.js:21:53110)
at Object.decode (ext-all.js:21:54709)
at Object.filecomplete (multiuploaddialog.js:463:50)
at Object.complete (FileAPI.js:1228:19)
at XHR.end (FileAPI.js:2847:12)
at xhr.onreadystatechange (FileAPI.js:3161:15)

There are no errors in the Manager log, nor in PHP logs on the server.

MODX 2.8.8, PHP 8.3


On a MODX 3 site, a similar thing happens, but a different error. Javascript console shows only this:

Failed to load resource: the server responded with a status of 500 ()

MODX 3.1.2, PHP 8.1


FYI, I tried turning off upload_translit and that didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions