Core/Log.php Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Core/Log.php Error (/showthread.php?tid=62311) |
Core/Log.php Error - tarikbeyhan - 07-02-2015 I got so many same notices: Quote:A PHP Error was encountered In version 2 release line 171 wasn't there. When i removed this line notices disappeared. Code: && ! isset($this->_threshold_array[$this->_levels[$level]]) RE: Core/Log.php Error - Narf - 07-02-2015 It's quite obvious that you just wrote "ÝNFO" instead of "INFO" somewhere in your code ... RE: Core/Log.php Error - tarikbeyhan - 07-02-2015 Nope. I didn't. Its default code. Maybe something about charsets or? RE: Core/Log.php Error - Narf - 07-02-2015 (07-02-2015, 05:47 AM)tarikbeyhan Wrote: Nope. I didn't. Its default code. Maybe something about charsets or? OK, even if it's not the code that you personally wrote, it's surely a third-party library or something like that. Code: $ grep -ri 'info' system/ > info RE: Core/Log.php Error - tarikbeyhan - 07-02-2015 I found the problem. I was added this line at the begining of index.php file. PHP Code: setlocale(LC_ALL, 'tr_TR'); This is for translating month names etc. When i removed this, i get rid of more errors like "Undefined index: uri" When capitalizing i in turkish, it will be İ not I. And I will be ı in lowercase. Maybe we have to find a way to override this PHP-codeigniter conflict about turkish chars RE: Core/Log.php Error - mahmut aur - 03-30-2020 (07-02-2015, 07:43 PM)tarikbeyhan Wrote: I found the problem. I was added this line at the begining of index.php file. Solution: PHP Code: setlocale(LC_TIME, 'tr_TR.UTF-8', 'tr_TR', 'tr', 'turkish'); |