acExceptionNotifierPlugin - 1.0.1

acExceptionNotifierPlugin - Allows you to send by e-mails errors 500.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

acExceptionNotifierPlugin (for symfony 1.3/1.4)

Allows you to send by e-mails errors 500 (Exception type) that occur in production environments.

Installation

  • Install the plugin (via a package)

    symfony plugin:install acExceptionNotifierPlugin
    
  • Install the plugin (via a git clone)

    git clone git://gitorious.org/acexceptionnotifierplugin/acexceptionnotifierplugin.git acExceptionNotifierPlugin
    
  • Activate the plugin in the config/ProjectConfiguration.class.php

    class ProjectConfiguration extends sfProjectConfiguration
    {
      public function setup()
      {
        $this->enablePlugins(array(
          'sfDoctrinePlugin', 
          'acExceptionNotifierPlugin',
          '...'
        ));
      }
    }
  • Configure the plugin in the config/app.yml of the project (create it if it doesn't exist)

    all:
      ...
      ac_exception_notifier:
        enabled: true
        email:
          from: "no-reply@email.email"
          from_name: "acExceptionNotifierPlugin"
          to: ["your_email@email.email", "another_email@email.email"]
          subject: "500 | Internal Server Error | Exception"
      ...
  • Clear you cache

    symfony cc