Errors with sub controllers

I'm working with CI on a pretty large project (used it on countless projects before), but in this project I made use of the folders in controllers for the admin panel. I get some weird errors with headers and sessions though; sometimes I get a header error on a generic page and I always get an error when I attempt to use redirect(). (folder structure)

First error is just on a page loading a view, the second is attempting to use redirect.

Assuming that the file reported (admin/pages.php) doesn't have a space before the <?php, check if the file hasn't been saved with a UTF BOM header. That one is notorious for generating this error message...


The horror! thanks. Smile

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.