Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend completely without any styling #161

Open
larry-tx opened this issue Sep 27, 2016 · 2 comments
Open

Backend completely without any styling #161

larry-tx opened this issue Sep 27, 2016 · 2 comments

Comments

@larry-tx
Copy link

I just installed a Yii2 site using your Yii2-start. Everything went fine, but the backend has no styling. It's clearly not picking up the AdminLTE CSS.

@larry-tx
Copy link
Author

I think I've figured out the root of the problem but not how to get rid of it. I have two entirely separate URLs: one for the frontend and one for the backend. For some reason, this module insists on inserting /backend/ after the URL for my backend! I never asked it to do that. Of course, then everything totally crashes! What a crazy idea! It goes looking for something like http://myurl.com/backend/css and of course that doesn't exist. What it should be looking for is http://myurl.com/css. I've used Yii2 for years and never had this problem. How on earth to I get rid of that ridiculous '/backend/' in the URLs?

@buter747
Copy link

buter747 commented Jan 29, 2017

Привет.
У меня была такая же проблема после установки yii2-start (Winows 7, Apache, XAMPP)

Решение:

Set document roots of your Web server: /path/to/yii2-start/
Use the URL http://yii2-start/ to access application frontend.
Use the URL http://yii2-start/backend/ to access application backend.

И все оллрайт.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants