![]() |
Error when i want to include class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Error when i want to include class (/showthread.php?tid=63898) |
Error when i want to include class - apollon - 12-20-2015 How i can resolve this problem? Whe i want to include class i see that error. Version CI 3, php 5.6 PHP Code: [color=rgba(0, 0, 0, 0.870588)][size=small][font=roboto, calibri]Severity: 8192[/font][/size][/color] PHP Code: [php][color=rgba(0, 0, 0, 0.870588)][size=small][font=roboto, calibri]Line Number: 469[/font][/size][/color] class Auth extends MY_Controller{ public function __construct(){ parent::__construct(); } } require_once 'Auth.php'; class Settings extends MY_Controller{ public function __construct(){ parent::__construct(); $this->load->model('my_model'); } } [/php] RE: Error when i want to include class - skunkbad - 12-20-2015 (12-20-2015, 02:43 PM)apollon Wrote: How i can resolve this problem? Whe i want to include class i see that error. Version CI 3, php 5.6 It looks like on line 469 of Auth.php is a "&" that is incompatible with php 5.6 |