execut / yii2-cms

eXeCUT Yii2 CMS
Apache License 2.0
10 stars 2 forks source link

Your requirements could not be resolved to an installable set of packages. #2

Closed gs63875 closed 4 years ago

gs63875 commented 4 years ago

An error during the installation. image

execut commented 4 years ago

Hello! I try install execut/yii2-cms and all fine! As you can see, this package (jackichan/yii2-redis-log) is not used for clear application:

$ cd /tmp
$ composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application
Installing yiisoft/yii2-app-advanced (2.0.26)
  - Installing yiisoft/yii2-app-advanced (2.0.26): Downloading (100%)         
Created project in yii-application
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 72 installs, 0 updates, 0 removals
  - Installing yiisoft/yii2-composer (2.0.8): Downloading (100%)         
  - Installing sebastian/recursion-context (3.0.0): Downloading (100%)         
  - Installing sebastian/exporter (3.1.2): Downloading (100%)         
  - Installing theseer/tokenizer (1.1.3): Downloading (100%)         
  - Installing sebastian/version (2.0.1): Downloading (100%)         
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (100%)         
  - Installing phpunit/php-text-template (1.2.1): Downloading (100%)         
  - Installing sebastian/environment (3.1.0): Downloading (100%)         
  - Installing phpunit/php-file-iterator (1.4.5): Downloading (100%)         
  - Installing sebastian/diff (2.0.1): Downloading (100%)         
  - Installing sebastian/comparator (2.1.3): Downloading (100%)         
  - Installing phpunit/php-token-stream (2.0.2): Downloading (100%)         
  - Installing phpunit/php-code-coverage (5.3.2): Downloading (100%)         
  - Installing sebastian/resource-operations (1.0.0): Downloading (100%)         
  - Installing sebastian/object-reflector (1.1.1): Downloading (100%)         
  - Installing sebastian/object-enumerator (3.0.3): Downloading (100%)         
  - Installing sebastian/global-state (2.0.0): Downloading (100%)         
  - Installing doctrine/instantiator (1.3.0): Downloading (100%)         
  - Installing phpunit/phpunit-mock-objects (5.0.10): Downloading (100%)         
  - Installing phpunit/php-timer (1.0.9): Downloading (100%)         
  - Installing symfony/polyfill-ctype (v1.13.1): Downloading (100%)         
  - Installing webmozart/assert (1.6.0): Downloading (100%)         
  - Installing phpdocumentor/reflection-common (2.0.0): Downloading (100%)         
  - Installing phpdocumentor/type-resolver (1.0.1): Downloading (100%)         
  - Installing phpdocumentor/reflection-docblock (4.3.2): Downloading (100%)         
  - Installing phpspec/prophecy (1.9.0): Downloading (100%)         
  - Installing phar-io/version (1.0.1): Downloading (100%)         
  - Installing phar-io/manifest (1.0.1): Downloading (100%)         
  - Installing myclabs/deep-copy (1.9.3): Downloading (100%)         
  - Installing phpunit/phpunit (6.5.14): Downloading (100%)         
  - Installing codeception/phpunit-wrapper (6.7.1): Downloading (100%)         
  - Installing symfony/yaml (v4.4.1): Downloading (100%)         
  - Installing codeception/verify (1.1.0): Downloading (100%)         
  - Installing bower-asset/jquery (3.4.1): Downloading (100%)         
  - Installing bower-asset/bootstrap (v3.4.1): Downloading (100%)         
  - Installing bower-asset/yii2-pjax (2.0.7.1): Downloading (100%)         
  - Installing bower-asset/punycode (v1.3.2): Downloading (100%)         
  - Installing bower-asset/inputmask (3.3.11): Downloading (100%)         
  - Installing cebe/markdown (1.2.1): Downloading (100%)         
  - Installing ezyang/htmlpurifier (v4.12.0): Downloading (100%)         
  - Installing yiisoft/yii2 (2.0.30): Downloading (100%)         
  - Installing yiisoft/yii2-bootstrap (2.0.10): Downloading (100%)         
  - Installing symfony/polyfill-php72 (v1.13.1): Downloading (100%)         
  - Installing symfony/polyfill-mbstring (v1.13.1): Downloading (100%)         
  - Installing symfony/polyfill-intl-idn (v1.13.1): Downloading (100%)         
  - Installing symfony/polyfill-iconv (v1.13.1): Downloading (100%)         
  - Installing doctrine/lexer (1.2.0): Downloading (100%)         
  - Installing egulias/email-validator (2.1.11): Downloading (100%)         
  - Installing swiftmailer/swiftmailer (v6.2.3): Downloading (100%)         
  - Installing yiisoft/yii2-swiftmailer (2.1.2): Downloading (100%)         
  - Installing opis/closure (3.5.1): Downloading (100%)         
  - Installing yiisoft/yii2-debug (2.1.12): Downloading (100%)         
  - Installing phpspec/php-diff (v1.1.0): Downloading (100%)         
  - Installing yiisoft/yii2-gii (2.1.3): Downloading (100%)         
  - Installing fzaninotto/faker (v1.9.0): Downloading (100%)         
  - Installing yiisoft/yii2-faker (2.0.4): Downloading (100%)         
  - Installing codeception/stub (2.1.0): Downloading (100%)         
  - Installing behat/gherkin (v4.6.0): Downloading (100%)         
  - Installing symfony/dom-crawler (v4.4.1): Downloading (100%)         
  - Installing symfony/css-selector (v4.4.1): Downloading (100%)         
  - Installing symfony/browser-kit (v4.2.4): Downloading (100%)         
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Downloading (100%)         
  - Installing psr/container (1.0.0): Downloading (100%)         
  - Installing symfony/event-dispatcher (v4.4.1): Downloading (100%)         
  - Installing symfony/service-contracts (v2.0.1): Downloading (100%)         
  - Installing symfony/polyfill-php73 (v1.13.1): Downloading (100%)         
  - Installing symfony/console (v4.4.1): Downloading (100%)         
  - Installing symfony/finder (v4.4.1): Downloading (100%)         
  - Installing ralouphie/getallheaders (3.0.3): Downloading (100%)         
  - Installing psr/http-message (1.0.1): Downloading (100%)         
  - Installing guzzlehttp/psr7 (1.6.1): Downloading (100%)         
  - Installing codeception/base (2.5.6): Downloading (100%)         
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
swiftmailer/swiftmailer suggests installing true/punycode (Needed to support internationalized email addresses, if ext-intl is not installed)
symfony/browser-kit suggests installing symfony/process
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
symfony/event-dispatcher suggests installing symfony/dependency-injection
symfony/event-dispatcher suggests installing symfony/http-kernel
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
symfony/console suggests installing psr/log (For using the console logger)
guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses)
codeception/base suggests installing aws/aws-sdk-php (For using AWS Auth in REST module and Queue module)
codeception/base suggests installing codeception/specify (BDD-style code blocks)
codeception/base suggests installing codeception/phpbuiltinserver (Start and stop PHP built-in web server for your tests)
codeception/base suggests installing flow/jsonpath (For using JSONPath in REST module)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP Module)
codeception/base suggests installing league/factory-muffin (For DataFactory module)
codeception/base suggests installing league/factory-muffin-faker (For Faker support in DataFactory module)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge support)
codeception/base suggests installing stecman/symfony-console-completion (For BASH autocompletion)
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files
$ cd yii-application/
$ composer require execut/yii2-cms
Using version ^0.10.5 for execut/yii2-cms
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 49 installs, 0 updates, 0 removals
  - Installing ckeditor/ckeditor (4.7.3): Downloading (100%)         
  - Installing 2amigos/yii2-ckeditor-widget (2.1.0): Downloading (100%)         
  - Installing iutbay/yii2-fontawesome (0.0.1.1): Downloading (100%)         
  - Installing bower-asset/jquery-ui (1.12.1): Downloading (100%)         
  - Installing yiisoft/yii2-jui (2.0.7): Downloading (100%)         
  - Installing execut/kcfinder (3.20.0): Downloading (100%)         
  - Installing execut/yii2-kcfinder (0.1.5): Downloading (100%)         
  - Installing execut/yii2-save-relations-behavior (1.20.4): Downloading (100%)         
  - Installing unclead/yii2-multiple-input (2.21.5): Downloading (100%)         
  - Installing select2/select2 (4.0.12): Downloading (100%)         
  - Installing kartik-v/yii2-krajee-base (v2.0.5): Downloading (100%)         
  - Installing kartik-v/yii2-widget-select2 (v2.1.7): Downloading (100%)         
  - Installing kartik-v/yii2-date-range (v1.7.1): Downloading (100%)         
  - Installing kartik-v/yii2-widget-alert (v1.1.1): Downloading (100%)         
  - Installing kartik-v/yii2-widget-activeform (v1.5.8): Downloading (100%)         
  - Installing execut/yii2-crud-fields (1.41.3): Downloading (100%)         
  - Installing execut/yii2-migration (1.7.1): Downloading (100%)         
  - Installing setasign/fpdi (1.6.2): Downloading (100%)         
  - Installing mpdf/mpdf (v6.1.3): Downloading (100%)         
  - Installing kartik-v/yii2-mpdf (v1.0.1): Downloading (100%)         
  - Installing kartik-v/yii2-dialog (v1.0.5): Downloading (100%)         
  - Installing kartik-v/yii2-detail-view (v1.8.2): Downloading (100%)         
  - Installing kartik-v/yii2-sortable (v1.2.2): Downloading (100%)         
  - Installing kartik-v/yii2-grid (v3.3.4): Downloading (100%)         
  - Installing kartik-v/yii2-dynagrid (v1.5.1): Downloading (100%)         
  - Installing markbaker/matrix (1.2.0): Downloading (100%)         
  - Installing markbaker/complex (1.4.7): Downloading (100%)         
  - Installing psr/simple-cache (1.0.1): Downloading (100%)         
  - Installing phpoffice/phpspreadsheet (1.10.1): Downloading (100%)         
  - Installing kartik-v/yii2-export (v1.4.0): Downloading (100%)         
  - Installing execut/yii2-base (1.13.1): Downloading (100%)         
  - Installing execut/yii2-loading-overlay (0.3.3): Downloading (100%)         
  - Installing execut/yii2-actions (1.36.1): Downloading (100%)         
  - Installing execut/yii2-goods (0.2.1): Downloading (100%)         
  - Installing imagine/imagine (1.2.3): Downloading (100%)         
  - Installing yiisoft/yii2-imagine (2.2.0): Downloading (100%)         
  - Installing execut/yii2-navigation (1.5.7): Downloading (100%)         
  - Installing execut/yii2-crud (0.5.3): Downloading (100%)         
  - Installing execut/yii2-files (0.6.1): Downloading (100%)         
  - Installing execut/yii2-images (0.7.0): Downloading (100%)         
  - Installing execut/yii2-robots-txt (1.2.3): Downloading (100%)         
  - Installing execut/yii2-dependencies (0.2.3): Downloading (100%)         
  - Installing execut/yii2-settings (0.7.0): Downloading (100%)         
  - Installing execut/yii2-menu (0.6.2): Downloading (100%)         
  - Installing execut/yii2-pages (0.6.7): Downloading (100%)         
  - Installing conquer/helpers (2.0.13): Downloading (100%)         
  - Installing execut/yii2-seo (0.6.2): Downloading (100%)         
  - Installing execut/yii2-alias (0.8.2): Downloading (100%)         
  - Installing execut/yii2-cms (0.10.5): Downloading (100%)         
execut/kcfinder suggests installing ext-http (*)
execut/kcfinder suggests installing ext-imagick (*)
execut/kcfinder suggests installing ext-gmagick (*)
kartik-v/yii2-krajee-base suggests installing yiisoft/yii2-bootstrap4 (for Krajee extensions to work with Bootstrap 4.x version)
setasign/fpdi suggests installing setasign/fpdf (FPDI will extend this class but as it is also possible to use "tecnickcom/tcpdf" as an alternative there's no fixed dependency configured.)
setasign/fpdi suggests installing setasign/fpdi-fpdf (Use this package to automatically evaluate dependencies to FPDF.)
setasign/fpdi suggests installing setasign/fpdi-tcpdf (Use this package to automatically evaluate dependencies to TCPDF.)
phpoffice/phpspreadsheet suggests installing dompdf/dompdf (Option for rendering PDF with PDF Writer)
phpoffice/phpspreadsheet suggests installing tecnickcom/tcpdf (Option for rendering PDF with PDF Writer)
phpoffice/phpspreadsheet suggests installing jpgraph/jpgraph (Option for rendering charts, or including charts with PDF or HTML Writers)
imagine/imagine suggests installing ext-imagick (to use the Imagick implementation)
imagine/imagine suggests installing ext-gmagick (to use the Gmagick implementation)
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files

Your custom application has this problems. Look for they in the your root file composer.json

execut commented 4 years ago

How can I reproduce your problem?

execut commented 4 years ago

I see that the versions we install are different. Maybe this is the case? Try configure your composer to install last version of yii2-cms

gs63875 commented 4 years ago

Hi @execut , Thanks for your reply. I tried with the new app as you explain above now able to download. But I set up everything now showing this issue.

image

backend main

image

can you please tell me what I am missing.

execut commented 4 years ago

Hello! Please show a list of the vendor/execut folder. It seems that the goods package from the execut/yii2-cms/composer.json file was not installed

gs63875 commented 4 years ago

Please have a look. image image

vendor/execut/yii2-cms/composer.json { "name": "execut/yii2-cms", "description": "Yii2 eXeCUT CMS", "keywords": ["yii2", "cms"], "homepage": "https://github.com/execut/yii2-cms", "type": "library", "license": "Apache-2.0", "support": { "issues": "https://github.com/execut/yii2-cms/issues?state=open", "wiki": "https://github.com/execut/yii2-cms/wiki", "source": "https://github.com/execut/yii2-cms" }, "require": { "yiisoft/yii2": "~2.0.6", "bariew/yii2-module-migration-controller": "^1.3", "execut/yii2-base": "", "execut/yii2-navigation": "", "execut/yii2-alias": "", "execut/yii2-seo": "", "execut/yii2-pages": "", "execut/yii2-menu": "", "execut/yii2-settings": "", "execut/yii2-robots-txt": "", "execut/yii2-images": "*" }, "autoload": { "psr-4": { "execut\cms\": "" } } }

execut commented 4 years ago

Yes, the yii2-goods package is not really installed. This means that you have not fully installed yii2-cms. please, reinstall yii2-cms by commands:

./composer.phar remove execut/yii2-cms
./composer.phar require execut/yii2-cms

and give me it output

execut commented 4 years ago

Yes, the yii2-goods package is not really installed. You version yii2-cms is not last. Your file execut/yii2-cms/composer.json does not contain a component execut/yii2-goods. In last version it already exists: https://github.com/execut/yii2-cms/blob/0.10.5/composer.json

gs63875 commented 4 years ago

Please have a look. composer.json is the same. yii2-goods is again missing.

image

execut commented 4 years ago

Your other packages do not allow to install the latest version yii2-cms 0.10.5. Try composer require execut/yii2-cms 0.10.5 and we will see what exactly does not give

gs63875 commented 4 years ago

I think you are right.

image

which version i need to use execut

execut commented 4 years ago

composer.json execut/yii2-cms:

  "require": {
    "php": ">=7.2.0",

Can you upgrade your php to version 7.2?

I used new language constructs and don’t know how to get everything back = (

gs63875 commented 4 years ago

Hmm. Let me upgrade it.

gs63875 commented 4 years ago

Download successfully. But another issue occurs.

image

migration result.

image

execut commented 4 years ago

You configure you console/configs/main-local.php? Here instructions https://github.com/execut/yii2-cms#installation Add it:

return [
    'bootstrap' => [
        \execut\cms\bootstrap\Console::class,
    ],
];

CMS nice work with PostgreSQL. I know about trouble with mysql here #1

gs63875 commented 4 years ago

Hmm :( Now the same issue https://github.com/execut/yii2-cms/issues/1

I should be work with Mysql because in most of the PHP websites use Mysql. Thanks a lot for your time.

execut commented 4 years ago

I will try to fix for mysql this week

execut commented 4 years ago

Fixed errors in mysql