CodeIgniter Forums
Views not loading on IIS - 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: Views not loading on IIS (/showthread.php?tid=41498)



Views not loading on IIS - El Forum - 05-09-2011

[eluser]Aaron Wagner[/eluser]
I have a site that I began developing on my Mac with Apache, and we recently moved it over to what will eventually be it's production home which is an IIS 6 server. The problem is, that now the view's are not loading. The profiler output displays, and I can echo a string from the controller, but loading a view, for whatever reason, does not work. We have not implemented URL rewriting yet, and I have this as my index page in the config:

Code:
$config['index_page'] = 'index.php?';

Locally, the same code works perfectly, but on the IIS box, I can't get anything to display. I have no idea if anything else works, as I can't interact with anything.

I don't know if this is related, but I had to set the sessions.user_data column in the database to accept nulls. It was throwing a database error, complaining that there was no default value for that column. We are relying heavily on checking users session. However, if I just try to load a view with no checks of any kind, it still will not load.