Core/Log.php Error |
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]])
It's quite obvious that you just wrote "ÝNFO" instead of "INFO" somewhere in your code ...
(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
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
(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'); |
Welcome Guest, Not a member yet? Register Sign In |