Skip to content

Silent PHP error uploading a specific image #483

Closed
@carrythebanner

Description

@carrythebanner

Create a new event, then try to upload the image below. You'll get the standard Your event has been updated! success message, and the manage_event request returns 200, but it's actually failing with a PHP error and the image is not saved to the event.

Fatal  error: Uncaught exception 'fValidationException' with message 
'The file  uploaded is not an image' in /opt/backend/vendor/flourish/fUpload.php  on line 339
--

1 | {main}(  )               | .../manage_event.php:0
2 | build_json_response(  )  | .../manage_event.php:314
3 | upload_attached_file(  ) | .../manage_event.php:266
4 | fUpload->move(  )        | .../manage_event.php:87

Munster

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions