up my website (Yii framework) to Linux Hosting has Error

I’m running it on localhost ( windows with WAMP ) that is very good. but when I upload my source on my hosting (Linux of hostgator)

then It have error:


Warning: include(/protected/myfunc.php) [function.include]: failed to open stream: No such file or directory in /home/zerocold/public_html/bembem.com/mysite/index.php on line 9


Warning: include() [function.include]: Failed opening '/protected/myfunc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zerocold/public_html/bembem.com/congthanhtoan/index.php on line 9

PHP Error


Description


session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/zerocold/public_html/bembem.com/congthanhtoan/index.php:9)






00098:         if(session_id()==='')

00099:         {

00100:             if($this->getUseCustomStorage())

00101:                 session_set_save_handler(array($this,'openSession'),array($this,'closeSession'),array($this,'readSession'),array($this,'writeSession'),array($this,'destroySession'),array($this,'gcSession'));

00102:             session_start();



As linux is case sensitive, make sure the cases of the file names and class names match and vice versa.

I don’t understand about your answer. Can you explain it detail ?

example: if your file is named myfunc.php, on linux you cannot do an include on MyFunc.php etc…

so just to clarify, if your file name is test.php on the server use include(’./test.php’);

if it is Test.php, do include(’./Test.php’);

thanks i done :)

Yii is no 1 ;)