Когда я получаю путь к изображению из базы данных, используя ajax в codeigniter.это дает мне эту ошибку.Это функция, из которой изображение получено из базы данных.
public function master_get_employees()
{
if ($this->input->post()) { //If Any Values Posted
if ($this->input->is_ajax_request()) { //If Request Generated From Ajax
$ID = $this->input->post('ID');
if (!isset($ID) || !is_numeric($ID)) {
echo "FAIL::Something went wrong with POST request, Please contact system administrator for further assistance::error";
return;
}
$table = "employees e";
$selectData = "e.id AS ID,e.Picture as pic,e.IsEnabled";
$where = array(
'e.id' => $ID, 'e.IsActive' => 1
);
$result = $this->Common_model->select_fields_where_like_join($table, $selectData, $where, TRUE);
print json_encode($result);
}
}
}
И ошибка в том.![this is the error](https://i.stack.imgur.com/CRTb4.jpg)