Tiki composer install error and fixAuthor: Arijus Bernotas - Published 2021-03-04 22:45 - (1106 Reads)
Composer self-update failed. Reinstalling composer
All settings correct for using Composer
Composer (version 2.0.11) successfully installed to: /srv/http/arilect.com/tikisocial/temp/composer.phar
Use it: php temp/composer.phar
Could not scan for classes inside "vendor/adodb/adodb-php/" which does not appear to be a file nor a folder
Could not scan for classes inside "vendor/h5p/h5p-core" which does not appear to be a file nor a folder
Could not scan for classes inside "vendor/h5p/h5p-editor" which does not appear to be a file nor a folder
Could not scan for classes inside "vendor/pear/xml_rpc" which does not appear to be a file nor a folder
Could not scan for classes inside "vendor/smarty/smarty/libs/sysplugins/smarty_security.php" which does not appear to be a file nor a folder
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update `.
Your lock file does not contain a compatible set of packages. Please run composer update.
- cweagans/composer-patches is locked to version 1.6.7 and an update of this package was not requested.
- cweagans/composer-patches 1.6.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api2.0.0 but it does not match the constraint.
You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
After running compser update in folder vendors_bundled next set of serrors:
- Applying patches for jquery-plugins/jquery-validation
../installer/composer-patches/jquery-validator_fix-remote-validation-unhighlights.patch (Fix remote validation unhighlights)
- Applying patches for jquery/jquery-sheet
../installer/composer-patches/jquery-sheet_fix-visibility-issues.patch (Fix visibility issues)
- Applying patches for phpunit/phpunit
../installer/composer-patches/phpunit-phpunit_remove_match_interface_usage.patch (Remove Match Interface for PHP8)
Could not apply patch! Skipping. The error was: Cannot apply patch ../installer/composer-patches/phpunit-phpunit_remove_match_interface_usage.patch
- Applying patches for npm-asset/converse.js
- Applying patches for pear/text_wiki_mediawiki
../installer/composer-patches/text_wiki_mediawiki__php7fixes.patch (Removed deprecated syntax in PHP7)
../installer/composer-patches/text_wiki_mediawiki__func_collision.patch (Renamed method to avoid collision with func from parent class)
- Applying patches for pear/xml_rpc
../installer/composer-patches/pear_xml_rpc-php7-patch-RELEASE_1_5_5.patch (Add support for PHP7)
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package evert/sitemap-php is abandoned, you should avoid using it. No replacement was suggested.
Package league/commonmark-extras is abandoned, you should avoid using it. Use league/commonmark instead.
Package webuni/commonmark-attributes-extension is abandoned, you should avoid using it. Use league/commonmark instead.
Package zendframework/zend-version is abandoned, you should avoid using it. Use ocramius/package-versions instead.
Package zendframework/zendservice-akismet is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
Generating autoload files
Warning: Ambiguous class resolution, "PEAR_Exception" was found 2x: in "/srv/http/arilect.com/tikisocial/vendor_bundled/vendor/pear/pear_exception/PEAR/Exception.php" and "/srv/http/arilect.com/tikisocial/vendor_bundled/vendor/pear/pear/./PEAR/Exception.php", the first will be used.
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /srv/http/arilect.com/tikisocial/vendor_bundled/vendor/h5p/h5p-core/h5p.classes.php on line 2590
But! Running $sh setup.sh
and then choosing 'c' r composer fixes those above.