Forum
Assets error notifications
Hello,
A client recently tried to upload an image (from a blog post edit form so it was via the pop up Assets modal). The image was too large so naturally the image couldn't be uploaded.
This isn't an issue. The lack of feedback kind of is. It would be nice if an error notification is displayed in such cases. If the notification message can shed some light on what went wrong, that would be great. If not, at least a general message like "Something went wrong. Check your error log for more information." is better than nothing.
The field should be turning red in that instance.
The modal was still active so the field was not visible.
What I'm seeing after selecting the image:
Nothing else happens after that. The modal is still active at this stage. After closing the modal the image field appears normal (isn't highlighted in red).
In case this helps, this is the error I see in the error logs:
Ah ok. If PHP runs out of memory and stops executing, then the script can't return an error message.
Fair enough! Thanks, Drew.