Yii Framework Forum: url manager help - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

url manager help url manager help blog Rate Topic: -----

#1 User is offline   algo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 22-November 10

Posted 22 November 2010 - 09:28 PM

saya coba membaca tutorial yii mengenai
yii-blog-1.1.5.pdf
kemudian mengenai url manager hal 49 dan 50 ke main.php saya
return array(
......
'components'=>array(
......
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'post/<id:nd+>/<title:.*?>'=>'post/view',
'posts/<tag:.*?>'=>'post/index',
'<controller:nw+>/<action:nw+>'=>'<controller>/<action>',
),
),
),

saat gua klik selalu keluar error
Error 404
The system is unable to find the requested action "7".

apa ada file selain main.php yang perlu dicode atau code saya yang kurang
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users