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: error (/showthread.php?tid=31450) |
error - El Forum - 06-19-2010 [eluser]Unknown[/eluser] I would like to do this tutorial: tutorial,but when I written in the browser,[url=http://localhost/CodeIgniter/index.php/books/main]browser[/url The error: Code: load->model('books/books_model'); } function main(){ $this->load->view('books_main'); } function input(){ $this->load->view('books_input'); } } ?> Why? Monique error - El Forum - 06-19-2010 [eluser]Krzemo[/eluser] You have output compression on and there is probably an error written to output before headers are sent. Turn output compression in config.php off, and then you will see what is the error exactly about. Hope it helps. Regards error - El Forum - 06-20-2010 [eluser]Unknown[/eluser] [quote author="Cshamoh" date="1277002260"]You have output compression on and there is probably an error written to output before headers are sent. Turn output compression in config.php off, and then you will see what is the error exactly about. Hope it helps. Regards[/quote] thank you. the problem was:I written: <? instead of <?php |