0

I'm using survey module for Yii2 application, but I cant access the create page of this extension.

In the page of this extension there is:

Now go to /survey in your backend and create a survey

I also I've changed my backend to fcadmin in my project, then I use localhost/myproject/fcadmin/survey to access survey page, but there is Not Found (#404) error.

enter image description here

How to I have to access the page of this extension?? I really need help.

my main config in fcadmin:

 'modules' => [
        'survey' => [
            'class' => '\onmotion\survey\Module',
            'params' => [
                'uploadsUrl' => '@frontend/files/survey/', 
               // 'uploadsUrl' => '/uploads/survey/', 
                'uploadsPath' => '@frontend/files/survey/',
            ],
               'as access' => [
                   'class' => AccessControl::class,
                   'except' => ['default/done'],
                   'only' => ['default*'],
                   'rules' => [
                       [
                           'allow' => true,
                           'roles' => ['survey'],
                       ],
                   ],
               ],
        ],
 ]
Mohammad Aghayari
  • 1,010
  • 3
  • 15
  • 38

1 Answers1

0

The correct address is localhost/yourproject/fcadmin/survey

Mahsa
  • 398
  • 1
  • 3
  • 12