buggregator / server

Buggregator is a lightweight, standalone server that offers a range of debugging features for PHP applications.
https://buggregator.dev/
Other
648 stars 23 forks source link

MimeType for attachments: MySQL write error #224

Closed TimMoor closed 1 month ago

TimMoor commented 1 month ago

See: https://github.com/guzzle/psr7/blob/2.7/src/MimeType.php

And the 32 size limit for 'mime' in: 20240503.065730_0_0_default_create_smtp_attachments.php

Getting the exception when handling xls attachments:

buggregator | 2024-07-18T12:22:14+0000 ERROR app Cycle\Database\Exception\StatementException: SQLSTATE[HY000]: General error: 1105 string 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' is too large for column 'mime' in /app/vendor/cycle/database/src/Driver/MySQL/MySQLDriver.php at line 60 [] []

CasaMare commented 1 month ago

https://github.com/buggregator/server/pull/225