CodeIgniter Forums
Any recent change on Dreamhost that stops CI from working? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Any recent change on Dreamhost that stops CI from working? (/showthread.php?tid=11683)

Pages: 1 2


Any recent change on Dreamhost that stops CI from working? - El Forum - 09-22-2008

[eluser]jtkendall[/eluser]
Actually I'm wrong on that echo statement. Forgot ob_end_flush() outputs the content.


Any recent change on Dreamhost that stops CI from working? - El Forum - 09-22-2008

[eluser]Zarate[/eluser]
Ummm, no difference. Actually, you can try any path and you get the same error:

http://zarate.tv/xmlwadus

It seems to be at Apache/.htaccess level :|


Any recent change on Dreamhost that stops CI from working? - El Forum - 09-24-2008

[eluser]Zarate[/eluser]
Solved. Check this out:

http://www.terencechang.com/2008/08/28/codeigniter-no-input-file-specified-php-5-apache-2/

"If PHP5 is running on Apache 2.2 as CGI mode, which many web hosting company set as default; Apache is not going to support “PATH_INFO” inside Codeigniter."

See that new "?" just by index.php in the .htaccess file? That makes the difference and now everything is working again. I'm sure this is a difference between the 2 Dreamhost servers (arrow and mangano, just so you know).

To the admins: you might want to update the wiki with this information.

My hell is over. Hope this helps!!!

Juan


Any recent change on Dreamhost that stops CI from working? - El Forum - 09-24-2008

[eluser]Michael Wales[/eluser]
I believe you can also change the URI mode to REQUEST_URI and not have to worry about any ? mark craziness on DH.


Any recent change on Dreamhost that stops CI from working? - El Forum - 09-24-2008

[eluser]Zarate[/eluser]
[quote author="Michael Wales" date="1222278498"]I believe you can also change the URI mode to REQUEST_URI and not have to worry about any ?[/quote]

That didn't work for me. The thing is it didn't even make it to CI. What I mean is that when you get the "No input file specified" error, what has happened is that the PHP interpreter did not get any file to, errr, interpret. CI code doesn't get executed at all, the problem happens before.

If I understood correctly, of course.

Cheers,

Juan