Author Topic: Lack of user notification of an error when out of php memory  (Read 2706 times)

Offline tomval2k

  • Newbie
  • *
  • Posts: 1
Lack of user notification of an error when out of php memory
« on: February 18, 2014, 05:19:07 PM »
When sending a mail with attachments that result in php running out of memory, roundcube will log an error to its log: "PHP Fatal error:  Allowed memory size of 15728640 bytes exhausted...".

However there is no notification that anything has gone wrong for the user as the browser just hangs on "Sending message..." for a while and then leaves the user at the compose screen for that email.

Is there any option within the config that will force this error to be shown, I can only see "$rcmail_config['debug_level']" within the config file which just affects how the error is logged by roundcube or php.

(And I know that to fix the actual issue I just need to bump up the memory_limit assigned to php.)

Cheers,
Tom