8000 Некорректная папка · Issue #201 · noumo/easyii · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Некорректная папка #201

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

Open
nick-mad opened this issue Apr 4, 2017 · 2 comments
Open

Некорректная папка #201

nick-mad opened this issue Apr 4, 2017 · 2 comments

Comments

@nick-mad
Copy link
nick-mad commented Apr 4, 2017

При установке расширения через composer сразу после установки появляется ошибка
The file or directory to be published does not exist: /usr/home/tree/public_html/yii-cms/vendor/bower/fancybox/source

в файле:
\vendor\noumo\easyii\assets\FancyboxAsset.php

нужно изменить строку 6
с
public $sourcePath = '@bower/fancybox/source';
на
public $sourcePath = '@bower/fancybox/src';

@dzyof
Copy link
dzyof commented Sep 11, 2017

там еще нужно выкачать версию фансибокса ниже чем она ставится

@nick-mad
Copy link
Author

Действительно, в версии Fancybox 2.1.7 путь был /source
Поэтому можно после установки пакета через composer выполнить команду
composer require bower-asset/fancybox:^2
И будет установлена версия Fancybox 2.1.7 последняя во второй ветке.
Ну или можно обновить файл composer.json изменив строку
"bower-asset/fancybox": "*" на "bower-asset/fancybox": "^2"

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

No branches or pull requests

2 participants
0