3 ms·
CFWheels has that already built into it, but I'm convinced that its a problem with the framework itself and not anything the author did. the issue seems coming
by rip747 13y ago
CFWheels has that already built into it, but I'm convinced that its a problem with the framework itself and not anything the author did.
the issue seems coming from this line:
https://github.com/cfwheels/cfwheels/blob/v1.1.8/wheels/events/onerror.cfm#L42 https://github.com/cfwheels/cfwheels/blob/v1.1.8/wheels/even...
basically when wheels throws an error, it will try to send out an error email containing the environment and framework information. In this case there seems to be no smtp server defined, so CFML itself is spitting up its skull.
The error handling can be reworked so that the $mail() call is wrap in a try/catch so the 500 page will just be shown.
disclosure: part of wheels core.