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

Проблема с установкой costa rico yii2 images #94

Open
vadim-32 opened this issue Feb 6, 2020 · 9 comments
Open

Проблема с установкой costa rico yii2 images #94

vadim-32 opened this issue Feb 6, 2020 · 9 comments

Comments

@vadim-32
Copy link

vadim-32 commented Feb 6, 2020

Добрый день,
я получаю эту ошибку всякий раз, когда я пытаюсь установить расширение.
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package costa-rico/yii2-images dev-master exists as costa-rico/yii2-images[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, dev-imagesEffetcs, dev-widget] but these are rejected by your constraint.

Файл composer.json
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.14",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0",
"mihaildev/yii2-ckeditor": "",
"mihaildev/yii2-elfinder": "
",
"costa-rico/yii2-images": "dev-master"

},
"require-dev": {
    "yiisoft/yii2-debug": "~2.1.0",
    "yiisoft/yii2-gii": "~2.1.0",
    "yiisoft/yii2-faker": "~2.0.0",

    "codeception/base": "~2.3.0",
    "codeception/verify": "~0.4.0",
    "codeception/specify": "~0.4.6",
    "symfony/browser-kit": ">=2.7 <=4.2.4"
},
"config": {
    "process-timeout": 1800,
    "fxp-asset": {
        "enabled": false
    }
},
"scripts": {
    "post-install-cmd": [
        "yii\\composer\\Installer::postInstall"
    ],
    "post-create-project-cmd": [
        "yii\\composer\\Installer::postCreateProject",
        "yii\\composer\\Installer::postInstall"
    ]
},
"extra": {
    "yii\\composer\\Installer::postCreateProject": {
        "setPermission": [
            {
                "runtime": "0777",
                "web/assets": "0777",
                "yii": "0755"
            }
        ]
    },
    "yii\\composer\\Installer::postInstall": {
        "generateCookieValidationKey": [
            "config/web.php"
        ]
    }
},
"repositories": [
    {
        "type": "composer",
        "url": "https://asset-packagist.org"
    }
]

}

@alex290
Copy link

alex290 commented Feb 11, 2020

Тоже самое не могу поставить

@vadim-32
Copy link
Author

Тоже самое не могу поставить

В место "dev-master" напиши 1.0.5

@alex290
Copy link

alex290 commented Feb 11, 2020

Тоже самое не могу поставить

В место "dev-master" напиши 1.0.5

Это первое что я сделал и тогда вываливается куча ошибок На рабочем сайте

Везде где стоит это расширение

Setting unknown property: rico\yii2images\Module::imageCompressionQuality

На dev-master все отлично работало

@vadim-32
Copy link
Author

Исправил ошибку?

@alex290
Copy link

alex290 commented Feb 14, 2020

Я себе форкнул проект. Чтоб ошибки не вылазило. А то у меня все проекты начали капризничать.

@vadim-32
Copy link
Author

Я себе форкнул проект. Чтоб ошибки не вылазило. Все проекты начали капризничать.

как вывести картинки в категории и на главной?

@alex290
Copy link

alex290 commented Mar 5, 2020

как вывести картинки в категории и на главной?

Вопрос непонятен. Если хочешь детально обсудить. Напиши [email protected]

@svil1502
Copy link

svil1502 commented Sep 4, 2020

"costa-rico/yii2-images": "*",

@alex290
Copy link

alex290 commented Sep 4, 2020

"costa-rico/yii2-images": "*",
Можно использовать мой форк. Он рабочий. https://github.com/alex290/yii2-images

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

3 participants