Home

Get Errors E-mailed to you

If your site is live it means you are probebly not getting errors reported in the view, so it's handy to have them emailed to you so you can still debug.

Add this line to your mysite/_config.php file and expect some mail!

mysite/_config.php

About the Author

Name: Aram Balakjian

Website: http://www.aabweb.co.uk

Aram is a web designer/developer running London based agency aab web. He has a strong passion for developing attractive, usable sites around the SilverStripe CMS.

Comments (1)

  • The Debug::send_errors_to() is depreciated use this instead:

    SS_Log::add_writer(new SS_LogEmailWriter('your@email.com'), SS_Log::ERR, '<=');

    See http://doc.silverstripe.org/error-handling

    Posted by cyberde, 30/05/2010 10:02am (2 months ago)

RSS feed for comments on this page RSS feed for all comments

Post your comment