abhi1693 / yii2-app-advanced-startup-kit

Yii 2 Practical Advanced Application Template (GUI Startup Kit)
Other
31 stars 22 forks source link

Not Found #7

Closed sofer-eg closed 9 years ago

sofer-eg commented 9 years ago

The requested URL /installer/install/index was not found on this server.

Do you have any idea why it happens?

abhi1693 commented 9 years ago

You can access /installer/install/index from the backend only. Once the installation is completed successfully, you cannot access the said url. Try accessing the url via backend and let me know if the problem still persists.

sofer-eg commented 9 years ago

Yes, I'm trying this ulr from backend. Is it correct path in config?

'modules'    => [
    'installer' => [
        'class' => \abhimanyu\installer\InstallerModule::className()
    ],
]

Here is no directory called abhimanyu in /my-app/backend/ or somewhere else.

abhi1693 commented 9 years ago

Yes, the paths in the config are all correct. You will find that directory under vendors. Have you initialized your application's environment?

sofer-eg commented 9 years ago

Yes, I was run init after instalation and select dev environment. I configure webserver to access /my-app/backend/web directory via http://backend.my-app.com, moved index.php from /my-app/backend to /my-app/backend/web, then I open url http://backend.my-app.com, and it redirected to http://backend.my-app.com/installer/install/index, so beforeAction in /backend/SiteController works fine.