Trying to learn how to translate from the human translation examples.
From professional translators, enterprises, web pages and freely available translation repositories.
apakah anda menggunakan edisi opera dengan static link? klik batal jika tidak tahu.
are you using a statically linked edition of opera? click cancel if unknown.
Last Update: 2012-09-26
Usage Frequency: 2
Quality:
dengan cara ini: /*** error logging interface ** kami menggunakan ini sebagai mekanisme sederhana untuk mengakses kelas logging * dan mengirim pesan untuk dicatat. ** @access public *@return void */ if (! function_exists (' log_message ')) { function log_message ($level =' error ', $message, $ php_error = false) { static $_log; if (config_item (' log_threshold ') == 1) { return;} $_log =
in this way: /** * error logging interface * * we use this as a simple mechanism to access the logging * class and send messages to be logged. * * @access public * @return void */ if ( ! function_exists('log_message')) { function log_message($level = 'error', $message, $php_error = false) { static $_log; if (config_item('log_threshold') == 1) { return; } $_log =& load_class('log'); $_log->write_log($level, $message, $php_error); } } i changed "if (config_item ('log_threshold') == 0)" to "if (config_item ('log_threshold') == 1)" inside the common.php file in d:xampphtdocssystemcorecommon.php but now there are new errors.. fatal error: uncaught typeerror: filter_var(): argument #3 ($options) must be of type array|int, string given in d:xampphtdocssystemcoreinput.php:391 stack trace: _______________________________________________________________________________ #0 d:xampphtdocssystemcoreinput.php(391): filter_var('127.0.0.1', 275, '') // first check if filter_var is available if (is_callable('filter_var')) { switch ($which) { case 'ipv4': $flag = filter_flag_ipv4; break; case 'ipv6': $flag = filter_flag_ipv6; break; default: $flag = ''; break; } return (bool) filter_var($ip, filter_validate_ip, $flag); } _______________________________________________________________________________ #1 d:xampphtdocssystemcoreinput.php(354): ci_input->valid_ip('127.0.0.1') if ( ! $this->valid_ip($this->ip_address)) _______________________________________________________________________________ #2 d:xampphtdocsapplicationmodelscms_model.php(32): ci_input->ip_address() if(!$this->input->is_ajax_request() && !isset($_get['is_json_ajax'])) { $this->db->query("insert into visitor_log(`date`, `ip`) values(?, ?)", array(date("y-m-d"), $this->input->ip_address())); } _______________________________________________________________________________ #3 d:xampphtdocsapplicationmodelscms_model.php(24): cms_model->logvisit() $this->logvisit(); _______________________________________________________________________________ #4 d:xampphtdocssystemcoreloader.php(303): cms_model->__construct() $ci->$name = new $model(); _______________________________________________________________________________ #5 d:xampphtdocsapplicationthird_partymxloader.php(192): ci_loader->model('cms_model', 'cms_model', false) /* check application & packages */ parent::model($model, $object_name, $connect); _______________________________________________________________________________ #6 d:xampphtdocsapplicationlibrariesrealms.php(42): mx_loader->model('cms_model') // get the realms $this->ci->load->model('cms_model'); _______________________________________________________________________________ #7 d:xampphtdocssystemcoreloader.php(1099): realms->__construct() { $ci->$classvar = new $name; } * * we use this as a simple mechanism to access the logging * class and send messages to be logged. * * @access public * @return void */ if ( ! function_exists('log_message')) { function log_message($level = 'error', $message, $php_error = false) { static $_log; if (config_item('log_threshold') == 1) { return; } $_log =
Last Update: 2023-04-22
Usage Frequency: 1
Quality:
Reference:
Warning: Contains invisible HTML formatting