Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Cannot add images when 'multiple images per item' is checked #50

@KoenHeye

Description

@KoenHeye

For testing purposes, I created a basic module with 2 fields (title and description) and checked 'multiple images per item' before generating the module.

I then installed the module on a clean Fork CMS 3.6.6 installation and tried adding an item with image.
Unfortunately the image doesn't seem to get uploaded at all. The page shows a javascript error:

[FineUploader] Error when attempting to parse xhr response text (SyntaxError: Unexpected token <) util.js:146
qq.log util.js:146
qq.FineUploaderBasic.log uploader.basic.js:120
qq.UploadHandler.log uploader.basic.js:254
parseResponse handler.xhr.js:215
onComplete handler.xhr.js:259
(anonymous function) handler.xhr.js:293

Ajax call that gets triggered: POST /backend/ajax.php?fork%5Bmodule%5D=basic_module&fork%5Baction%5D=upload&qqpartindex=0&qqpartbyteoffset=0&qqchunksize=637&qqtotalparts=1&qqtotalfilesize=637&qqfilename=secondarytile.png&qquuid=205660c6-700d-4363-b8ea-6f4aae19826b&qqfile=secondarytile.png HTTP/1.1

Note: In a module with a separate image field, the upload works. But I really need multiple images!

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