Hi, this is my first post in this forum and i hope it goes under the right topic. Here comes the problem:
I moved Yii 1.4 content in public_html/yii and then i created project in /yii/myproject.
directory structure in webserver:
public_html/yii/framework
public_html/yii/myproject
Everything else works except zii.widgets. It gives error:
CException
Description
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!
Page 1 of 1
Zii.widget problem Everything works except zii.widgets
#2
Posted 06 October 2010 - 06:05 AM
Have you checked that you have a folder "zii" in yii framework?
Find more about me.... btw. Do you know your WAN IP?
#3
Posted 15 April 2011 - 08:19 AM
Have you solved this problem? Because I'm getting the same error while using zii CJuiAutocomplete. I would be glad for any hint how to fix it.
#4
Posted 16 April 2011 - 10:24 AM
mrk, on 15 April 2011 - 08:19 AM, said:
Have you solved this problem? Because I'm getting the same error while using zii CJuiAutocomplete. I would be glad for any hint how to fix it.
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).
#5
Posted 25 September 2012 - 05:05 AM
phtamas, on 16 April 2011 - 10:24 AM, said:
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).
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.
Share this topic:
Page 1 of 1

Help











