GithubHelp home page GithubHelp logo

bugsnag / bugsnag-magento Goto Github PK

View Code? Open in Web Editor NEW
14.0 35.0 14.0 93 KB

(deprecated) BugSnag error monitoring for Magento (v1) stores.

Home Page: https://www.bugsnag.com/platforms/php/magento/

License: MIT License

PHP 98.69% HTML 1.31%
bugsnag notifier platforms bugs debug debugging-tool error-monitoring error-reporting

bugsnag-magento's Introduction

Bugsnag Notifier for Magento

Warning: This notifier has been deprecated and will only be receiving critical bug fixes in the future

The Bugsnag Notifier for Magento gives you instant notification of errors in your Magento applications.

Bugsnag captures errors in real-time from your web, mobile and desktop applications, helping you to understand and resolve them as fast as possible. Create a free account to start capturing errors from your applications.

The Bugsnag Notifier for Magento supports Magento CE 1.9.0.1+ and PHP 5.2+. It may work on older versions of Magento, but it's untested.

You can always read about the plugin or download it from Magento Connect.

Learn more about monitoring and reporting Magento errors with Bugsnag.

Installation

Magento Connect (recommended way)

  1. Visit the module's page on Magento Connect
  2. Press "Install Now" and and follow the instructions.

Modman

cd <your-magento-project>
modman init
modman clone https://github.com/bugsnag/bugsnag-magento.git

Composer

{
  "require": {
    "magento/core": "1.9.0.1",
    "bugsnag/bugsnag-magento": "dev-master",
    "magento-hackathon/magento-composer-installer": "*"
  },
  "repositories": [
    {
      "type": "composer",
      "url": "http://packages.firegento.com"
    }
  ],
  "extra":{
    "magento-root-dir": "htdocs/"
  }
}

Manual

git clone https://github.com/bugsnag/bugsnag-magento.git
cp -R bugsnag-magento/src/* <your-magento-project>

Configuration

In your Magento admin panel go to System → Configuration → Advanced → Developer and find the Bugsnag entry. If you don't see the entry, just press Save Config: the command would refresh the cache and pick up Bugsnag.

If the orange button "Fire Test Event" is not visible, then go to System → Configuration → Developer → Template Settings and set Allow Symlinks to Yes. You can safely set it back to No if you don't need the button or if you worry about the potential security risks (the plugin will keep working).

To do

  • Magento 2 introduces a lot of exciting changes. Currently, we do not support them

bugsnag-magento's People

Contributors

cawllec avatar fractalwrench avatar gracecheung avatar grahamcampbell avatar kattrali avatar kyrylo avatar silarn avatar t-richards avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bugsnag-magento's Issues

Test event works, anything else doesn't

Hello,

I installed the extension, fired the test event and it went through, however it doesn't show any other errors or warnings. I've changed the settings to display even the info messages, but nothing. Is the extension out of date? Using Magento 1.9.2.1

Fatal error on Observer::addUserTab() if customer object not in session

Expected behavior

Bugsnag_Notifier_Model_Observer::addUserTab() does not throw error if Mage::getSingleton('customer/session')->getCustomer() is empty

Observed behavior

PHP Fatal Error: Call to a member function getId() on a non-object

Steps to reproduce

Bit of a weird one, and hints at an error elsewhere in the stack. It requires Mage::getSingleton('customer/session')->isLoggedIn() to return true whileMage::getSingleton('customer/session')->getCustomer() returns empty.
At this point, calling Observer::initBugsnag() will call ::addUserTab() and throw a fatal error

Version

1.0.0 (v2.0.0 tag)

Additional information

Alerted via Bugsnag :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.