kaelwithme
(Kaelwithme)
1
this is what my directory looks like:
cache
config/
main.php
protected/
commands/
components/
controllers/
extensions/
messages/
models/
runtime/
yiic[text file]
yiic.bat
yiic.php
runtime/
themes/
index.php
admin/
cache/
config/
main.php
index.php
protected/
components/
controllers/
models/
views/
runtime/
but everytime i log out of my admin page [via button logout] i get this error…

mdomba
(Maurizio Domba Cerin)
2
That logout button calls an actionLogout… check there where are you redirecting…
mikl
(Mike)
3
@kael:
Why are you posting your questions to the Tips, Snippets and Tutorial section?
kaelwithme
(Kaelwithme)
4
according to my site controller under the public function actionLogout
$this->redirect(Yii::app()->homeUrl . '/admin');
i’m redirecting to that url
and this is what the url on views/layout/main.php looks like
array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
kaelwithme
(Kaelwithme)
5
\
oh i’m sorry… where should i post my inquiries then?
mikl
(Mike)
6
mdomba
(Maurizio Domba Cerin)
7
- topic moved to General Discussion for Yii 1.1
Check the value of Yii::app()->homeUrl…