Welcome Guest, Not a member yet? Register   Sign In
1.5.4 Bug -> Scaffolding
#1

[eluser]Unknown[/eluser]
First off, I love Codeigniter and its simplicity but i seem to get an error when trying to add a record in scaffolding and i get the error.

Code:
Fatal error: Call to undefined function get_instance() in Input.php on line 855
#2

[eluser]Seppo[/eluser]
Yeah, this bug it´s fixed for the new version. Meanwhile, you can fix it by replacing the CI_Input::_html_entity_decode_callback method with this code
Code:
function _html_entity_decode_callback($match)
    {
        global $CFG;
        $charset = $CFG->item('charset');

        return $this->_html_entity_decode($match[0], strtoupper($charset));
    }
#3

[eluser]Unknown[/eluser]
Thank you so much Smile
#4

[eluser]Derek Allard[/eluser]
Welcome to CodeIgniter Eliterate! You're going to love it. Sorry this has to be your first experience here... Smile




Theme © iAndrew 2016 - Forum software by © MyBB