Giter Site home page Giter Site logo

codeigniter-uhoh's People

Contributors

dhrrgn avatar tfevens avatar

Stargazers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-uhoh's Issues

Custom load file

This file should be loaded in index.php and respect the ENVIRONMENT that is set in 2.0 Reactor. This file will override the default Exception class and error handlers completely.

Wrong exception when MySQL error occured

I'm using CI version 1.7.2 and when my program runs into a MySQL error, it throws the following error:

http://postimage.org/image/qtbfo41dn/

ErrorException [ Fatal Error ]: Wrong parameters for ErrorException([string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno ]]]]])
APPPATH/libraries/MY_Exceptions.php [ 492 ]
487 break;
488 }
489 }
490 unset($trace);
491
492 self::exception_handler(new ErrorException($message, E_ERROR, 0, $file, $line));
493 return;
494 }
495
496 /**
497 * Is Extension
{PHP internal call} » MY_Exceptions::shutdown_handler(arguments)
Environment

Parent constructor needs updating

Line 66 of My_Exceptions.php needs updating to work on latest versions of Codeigniter...

parent::CI_Exceptions();

should be

parent::__construct();

Otherwise you get a white screen of death at the point CI tries to load the hook.

Printing out trace that includes HTML entities

When printing traces that has HTML entities within, some items can end up partially or completely hidden.
To quickly patch this problem the output on, errors/error_php_custom.php@142 is wrapped in htmlentities.

Not sure if fix is applicable anywhere else.

MY_Exceptions fatal error require()

Hi
Last commit introduced a bug in my cibox, as I stated here
Maybe it has to do with WAMP default php bin location.

Isolated hunk at line 195 and apearantly fixed my fatal error.

Details:
Fatal error: require() [function.require]: Failed opening required 'bonfire/application/errors/error_php_custom.php' (include_path='.;C:\php5\pear') in C:\wamp\www\labAptana\lab-bonfire\bonfire\application\core\MY_Exceptions.php on line 195

Thanks

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.