Errors with sub controllers

#1
[eluser]Unknown[/eluser]
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().

http://screensnapr.com/u/i/zim889.png
http://screensnapr.com/u/i/9ywlat.png

http://screensnapr.com/u/i/x8utov.png (folder structure)

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

#2
[eluser]WanWizard[/eluser]
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...

#3
[eluser]Unknown[/eluser]
http://screensnapr.com/u/i/0qjak4.png

The horror! thanks. Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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