Zii.widget problem Everything works except zii.widgets
Posted 06 October 2010 - 05:26 AM
I moved Yii 1.4 content in public_html/yii and then i created project in /yii/myproject.
directory structure in webserver:
Everything else works except zii.widgets. It gives error:
Alias "zii.widgets.CBreadcrumbs" is invalid. Make sure it points to an existing directory or file.
Same problem comes with CMenu. I have tried all kind of Aliases with Yii import but nothing helps. I'm really stuck in with this. Everything works in my Home computers localhost server but when i try to build project in real webserver problem occurs. I hope somebody could help me so i can continue my work, i really like Yii!
Posted 15 April 2011 - 08:19 AM
Posted 16 April 2011 - 10:24 AM
Be careful with mixed case classnames and filenames. CJuiAutoComplete.php and CJuiAutocomplete.php refers to the same file under Windows but two different files under Linux (and things can get even more complicated on Mac OSX).
Posted 25 September 2012 - 05:05 AM
tanx .my problem solved by:
$this->widget('zii.widgets.CBreadCrumbs', array( 'links' => $linksSequence, 'homeLink' => CHtml::link('Home', Yii::app()->homeUrl), ));
rename CBreadCrumbs to CBreadcrumbs:
$this->widget('zii.widgets.CBreadcrumbs', array( 'links' => $linksSequence, 'homeLink' => CHtml::link('Home', Yii::app()->homeUrl), ));
Linux operating capital case sensitive.