I developed an application with Yii that works correctly in my development pc. But when i copy it to the server in some sections of the app it throws a Fatal error:
Fatal error: Class ‘CTheme’ not found in /home/blabla/public_html/yii-1.1.7.r3135/framework/web/CThemeManager.php on line 31
Is it a problem with case insensitive vs case sensitive operating systems.
I hate developing on windows for that very reason, server is linux, dev machine is Vista, it drives me nuts every time I deploy a new site.
Also it seems unusual that you have your framework installed in the public_html folder, a typical install for me puts the framework in a folder above public_html.
Soon soon soon (soon) I will be getting a mac…soon.
Hello; im using linux in my pc, and the server is also a unix system, so, i think the problem is of another kind.
I dont know what triggers the error, because the application works perfectly in many sections. These also use Yii::app()->getTheme(), so, Yii autoload and path configuration works fine.