CodeIgniter Forums
[SOLVED] CodeIgniter isn't running on IIS server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: [SOLVED] CodeIgniter isn't running on IIS server (/thread-43928.html)



[SOLVED] CodeIgniter isn't running on IIS server - El Forum - 07-28-2011

[eluser]souri84[/eluser]
Hi everybody,

I have a biiiiiiiigggg problem.... :

I have a client who wants to install a website on a IIS server. The website works well on an Apache server (developed on Ubuntu) but when I run it on IIS, I have a blank webpage....

do I load a helper or a particular class ?

Thanks for advance for your answers.

Souri84


[SOLVED] CodeIgniter isn't running on IIS server - El Forum - 07-28-2011

[eluser]LuckyFella73[/eluser]
afaik codeigniter should run on "IIS" as well but you can't
use .htaccess files for the rewrite stuff in the same way like
working with apache.


[SOLVED] CodeIgniter isn't running on IIS server - El Forum - 07-28-2011

[eluser]NeoArc[/eluser]
Try error_reporting(E_ALL);

(This goes inside the Front controller file: index.php )


[SOLVED] CodeIgniter isn't running on IIS server - El Forum - 08-03-2011

[eluser]souri84[/eluser]
After a bad week-end, I found error : It's not an IIS problem, it's an ODBC problem.

here is my hostname to connect oracle database under ubuntu :

Code:
'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXXXX)(PORT=1521))(CONNECT_DATA=(SID=XXXXX)))';

and here is my hostname to connect oracle database under IIS :

Code:
'DRIVER={Microsoft ODBC for Oracle};SERVER=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST =XXXXX)(PORT = 1521)))(CONNECT_DATA =(SID=XXXXX)));;Uid=XXXXX;Pwd=XXXXX;';

In fact, I have to force connection to use Microsoft ODBC for Oracle in IIS server while on ubuntu, I don't need to specify it.

sorry for my bad english, I'm French... !

Bye !