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

Установка и темы в protected #729

Closed
yupe opened this issue Mar 19, 2013 · 6 comments
Closed

Установка и темы в protected #729

yupe opened this issue Mar 19, 2013 · 6 comments

Comments

@yupe
Copy link
Owner

yupe commented Mar 19, 2013

Здравствуйте я не могу установить Юри в браузере пишет CException Директория темы "protected/themes" не существует. (Z:\home\localhost\www\yupe\framework\web\CThemeManager.php:110) #0 Z:\home\localhost\www\yupe\framework\base\CComponent.php(152): CThemeManager->setBasePath('protected/theme...') #1 Z:\home\localhost\www\yupe\framework\YiiBase.php(220): CComponent->__set('basePath', 'protected/theme...') #2 Z:\home\localhost\www\yupe\framework\base\CModule.php(386): YiiBase::createComponent(Array) #3 Z:\home\localhost\www\yupe\framework\web\CWebApplication.php(248): CModule->getComponent('themeManager') #4 Z:\home\localhost\www\yupe\framework\web\CWebApplication.php(257): CWebApplication->getThemeManager() #5 Z:\home\localhost\www\yupe\framework\base\CErrorHandler.php(351): CWebApplication->getTheme() #6 Z:\home\localhost\www\yupe\framework\base\CErrorHandler.php(338): CErrorHandler->getViewFile('exception', 500) #7 Z:\home\localhost\www\yupe\framework\base\CErrorHandler.php(210): CErrorHandler->render('exception', Array) #8 Z:\home\localhost\www\yupe\framework\base\CErrorHandler.php(129): CErrorHandler->handleException(Object(CException)) #9 Z:\home\localhost\www\yupe\framework\base\CApplication.php(720): CErrorHandler->handle(Object(CExceptionEvent)) #10 [internal function]: CApplication->handleException(Object(CException)) #11 {main} Что мне делать как быть ???

@kovenant
Copy link

Я угадаю этот баг с семи байт. Создать эту директорию? :)

@alexok
Copy link

alexok commented Mar 20, 2013

вроде по-русски все...)

@yupe
Copy link
Owner Author

yupe commented Mar 20, 2013

не все так просто #731 =)

@mikspark
Copy link
Collaborator

попробовал без отдельного виртуального хоста, поставил так же Z:\home\localhost\www\yupe - все работает.

@chemezov
Copy link
Collaborator

@yupe я немного отстал от темы и не понял зачем темы перенесли в protected?

@yupe
Copy link
Owner Author

yupe commented Mar 22, 2013

@chemezov вообще чтобы убрать от прямого доступа пхп-шные файлы темы...
Хотя теперь я думаю, что можно было обойтись файликом .htaccess

yupe added a commit that referenced this issue Mar 22, 2013
yupe added a commit that referenced this issue Mar 22, 2013
@yupe yupe closed this as completed Mar 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants