$this->data, server error? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: $this->data, server error? (/showthread.php?tid=48614) |
$this->data, server error? - El Forum - 01-23-2012 [eluser]solid9[/eluser] Don't know the reason, Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Can you spot the not of $this->data ? Thanks. $this->data, server error? - El Forum - 01-23-2012 [eluser]keevitaja[/eluser] Code: public $data['header'] = $this->load->view('header', null, TRUE); you can't call $this outside method... $this->data, server error? - El Forum - 01-23-2012 [eluser]Jason Stanley[/eluser] You should post the actual error. Anyway, the problem is caused here. Code: public $data['header'] = $this->load->view('header', null, TRUE); Change To: Code: public $data['header'] = ''; $this->data, server error? - El Forum - 01-23-2012 [eluser]solid9[/eluser] thanks guys but I already solved the problem. |