Fail To Move Yii Project From Windows To Linux

I am trying to move the project that created in windows via yiic to ubuntu. How ever I have got the following error message after I copied the files.


Warning: require(/home/panda/Dropbox/htdocs/miniproduction/yii/framework/base/interfaces.php): failed to open stream: No such file or directory in /home/panda/Dropbox/htdocs/miniproduction/yii/framework/YiiBase.php on line 870


Fatal error: require(): Failed opening required '/home/panda/Dropbox/htdocs/miniproduction/yii/framework/base/interfaces.php' (include_path='.:/opt/lampp/lib/php') in /home/panda/Dropbox/htdocs/miniproduction/yii/framework/YiiBase.php on line 870

What can I do?

linux has more strict permission on files copied. check your read permission on your files/folder.

You can check that file

/home/panda/Dropbox/htdocs/miniproduction/yii/framework/YiiBase.php

exists, and modify your paths accordingly.

Usual problem when moving from win to *nix systems is case-sensitive identifiers. Try to call

‘cd /home/panda/Dropbox/htdocs/miniproduction/yii/framework/’ from console and you’ll see if this path is legal.