02-06-2015, 07:11 AM
Few days ago I was make some changes in my code before going to sleep.
By mistake I make this code: models extends MY_Controller.
MY_Controller have standart code:
class MY_Controller extends CI_Controller {
public data = array();
public function __construct()
{
parent::__construct();
$this->data['blabla'] = blabla;
}
}
I don't have xdebug, and when I was run php -S localhost:2222 (php version 5.5) I saw only one error "segmentation fault". If u try to search what this mean, u will find thousands answers how fix it. Some peoples recomend check memory or remove php-mysql.
xdebug don't help me fix errors, and I was researched all last modifed files to find my mistake.
By mistake I make this code: models extends MY_Controller.
MY_Controller have standart code:
class MY_Controller extends CI_Controller {
public data = array();
public function __construct()
{
parent::__construct();
$this->data['blabla'] = blabla;
}
}
I don't have xdebug, and when I was run php -S localhost:2222 (php version 5.5) I saw only one error "segmentation fault". If u try to search what this mean, u will find thousands answers how fix it. Some peoples recomend check memory or remove php-mysql.
xdebug don't help me fix errors, and I was researched all last modifed files to find my mistake.