Welcome Guest, Not a member yet? Register   Sign In
Problam With TinyMCE
#1

[eluser]Hiden Soft[/eluser]
hi
i have TinyMCE Editor in form and I do enabled global_xss_filtering in config.php , When i do submit form , i have this error ->

Code:
Fatal error: Call to undefined function get_instance() in C:\wamp\www\iranprofile\system\libraries\Input.php on line 855

Input.php

Code:
853 - function _html_entity_decode_callback($match)
854 -    {
855 -    $CI =& get_instance();
856 -     $charset = $CI->config->item('charset');
857 -
858 -     return $this->_html_entity_decode($match[0], strtoupper($charset));
859 -     }

config.php

Code:
$config['global_xss_filtering'] = TRUE;
please help me .
#2

[eluser]Hiden Soft[/eluser]
i do update my CI to 1.6.1 , error fixed .




Theme © iAndrew 2016 - Forum software by © MyBB