Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.
This repository was archived by the owner on May 25, 2023. It is now read-only.

Fatal error memory limit when uploading with UploadHandler.php #3562

Open
@cfconsultancy

Description

@cfconsultancy

When uploading a too big image I get the following error

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 28672 bytes) in I:\Apache242\htdocs\cfcmssmallpro_thumb_mysqli_utf4_n\cms\tinymce\filemanager\UploadHandler.php on line 596

That is this line $this->image_objects[$file_path] = $func($file_path);

so I think there should be a check for memory limit and the return false to stop the script

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions