On a working Tiki 24.x (253bcbb09b2f1c2df4bced1802f4c13cc0cf32be, 253bcbb0 · FIX PluginManager: move source code link with other general info · 1 day ago);
If I diagnose composer from the shell I have:
tsaharoniki@server001:~/public_html$ ./temp/composer.phar diagnose Checking composer.json: WARNING License "LGPL-2.1" is a deprecated SPDX license identifier, use "LGPL-2.1-only" or "LGPL-2.1-or-later" instead Checking platform settings: OK Checking git settings: OK Checking http connectivity to packagist: OK Checking https connectivity to packagist: OK Checking github.com rate limit: OK Checking disk free space: OK __Checking pubkeys: Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 87719BA6 8F3BB723 4E5D42D0 84A14642 Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369 153E328C AD90147D AFE50952__ OK Checking composer version: OK Composer version: 2.2.9 PHP version: 8.1.4 PHP binary path: /usr/bin/php8.1 OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019 cURL version: 7.64.0 libz 1.2.11 ssl OpenSSL/1.1.1i zip: extension present, unzip present, 7-Zip not available
I install the package mPDF (see the recording):
Screen Recording 2022 03 27 At 13.25.00
My Vendor folder is updated (today's date) and inside other folders have been updated or added
drwxr-xr-x 8 tsaharoniki tsaharoniki 4096 Mar 27 13:25 vendor tsaharoniki@server001:~/public_html$ cd vendor -rw-r--r-- 1 tsaharoniki tsaharoniki 178 Mar 6 20:46 autoload.php drwxr-xr-x 2 tsaharoniki tsaharoniki 4096 Mar 27 12:08 composer drwxr-xr-x 3 tsaharoniki tsaharoniki 4096 Mar 27 12:08 mpdf drwxr-xr-x 3 tsaharoniki tsaharoniki 4096 Mar 27 12:08 myclabs drwxr-xr-x 3 tsaharoniki tsaharoniki 4096 Mar 6 20:46 npm-asset drwxr-xr-x 3 tsaharoniki tsaharoniki 4096 Mar 27 12:08 paragonie drwxr-xr-x 3 tsaharoniki tsaharoniki 4096 Mar 27 12:08 psr drwxr-xr-x 3 tsaharoniki tsaharoniki 4096 Mar 27 12:08 setasign
In the file : vendor/composer/platform_check.php there is a check for PHP8
if (!(PHP_VERSION_ID >= 80000)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.0". You are running ' . PHP_VERSION . '.'; }
This forbid the Tiki to run with PHP7.4.
Many commit around packages have been done since the initial report and on Tiki24.1 using Debian Linux 10 and Virtualmin version 7.1-1 I didn't face the issue. (PHP8, PHP7.4 are available)
As temporary mesure I changed the id version required at vendor/composer/platform_check.php line 7
And everything is back to normal.
if (!(PHP_VERSION_ID >= 70403)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.0". You are running ' . PHP_VERSION . '.'; }
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |