Closed TheGuardianLight closed 4 months ago
For your information, here's another error I've encountered:
PHP Fatal error: Uncaught Error: Class "SQLite3" not found in /var/www/html/includes/connect_endpoint.php:4\nStack trace:\n#0 /var/www/html/endpoints/db/migrate.php(12): require_once()\n#1 {main}\n thrown in /var/www/html/includes/connect_endpoint.php on line 4, referer: http://192.168.49.129/endpoints/db/
And I can't install php8.0 :
Les paquets suivants contiennent des dépendances non satisfaites :
php8.0 : Dépend: libapache2-mod-php8.0 mais il n'est pas installable ou
php8.0-fpm mais il n'est pas installable ou
php8.0-cgi mais il n'est pas installable
php8.0-common : Dépend: libffi7 (>= 3.3~20180313) mais il n'est pas installable
Dépend: libssl1.1 (>= 1.1.0) mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
Hi, sorry for the delay.
Can you please have a look into this old issue?
https://github.com/ellite/Wallos/issues/65#issuecomment-1826350391
Probably the new migrations also need to be changed. But might give you a starting point. I have to find a way to make it compatible with 8.2 without breaking the older versions. But I don't have the time at the moment.
Hi, sorry for the delay.
Can you please have a look into this old issue?
Probably the new migrations also need to be changed. But might give you a starting point. I have to find a way to make it compatible with 8.2 without breaking the older versions. But I don't have the time at the moment.
Sadly this don't work. I still have this issue :
[Tue Mar 05 16:49:41.291503 2024] [php:error] [pid 12332] [client 192.168.49.1:53891] PHP Fatal error: Uncaught Exception: Unable to open database: unable to open database file in /var/www/wallos/includes/connect_endpoint.php:4\nStack trace:\n#0 /var/www/wallos/includes/connect_endpoint.php(4): SQLite3->__construct()\n#1 /var/www/wallos/endpoints/db/migrate.php(12): require_once('...')\n#2 {main}\n thrown in /var/www/wallos/includes/connect_endpoint.php on line 4
I've managed to find the problem and solve it. However, when I run the migration.php file, I get this message, is it OK?
Migration ../../migrations/000001.php completed successfully. $columnQuery = $db->query("PRAGMA table_info(payment_methods)"); $columnRequired = false; while ($column = $columnQuery->fetchArray(SQLITE3_ASSOC)) { if ($column['name'] === 'enabled') { $columnRequired = true; break; } } if (!$columnRequired) { // 'enabled' column does not exist, add it $db->exec('ALTER TABLE payment_methods ADD COLUMN enabled BOOLEAN DEFAULT 1'); // Set default value for existing records $db->exec('UPDATE payment_methods SET enabled = 1'); } Migration ../../migrations/000002.php completed successfully. $columnQuery = $db->query("PRAGMA table_info(notifications)"); $columnRequired = false; while ($column = $columnQuery->fetchArray(SQLITE3_ASSOC)) { if ($column['name'] === 'from_email') { $columnRequired = true; break; } } if (!$columnRequired) { // 'from_email' column does not exist, add it $db->exec('ALTER TABLE notifications ADD COLUMN from_email VARCHAR(255);'); } Migration ../../migrations/000003.php completed successfully. Migration ../../migrations/000004.php completed successfully. Migration ../../migrations/000005.php completed successfully. Migration ../../migrations/000006.php completed successfully. Migration ../../migrations/000007.php completed successfully. Migration ../../migrations/000008.php completed successfully. Migration ../../migrations/000009.php completed successfully.
When I try to access the site, I get this :
And in my logs I have this error:
PHP Fatal error: Uncaught Error: Call to a member function bindValue() on bool in /var/www/wallos/includes/getdbkeys.php:21\nStack trace:\n#0 /var/www/wallos/index.php(3): require_once()\n#1 {main}\n thrown in /var/www/wallos/includes/getdbkeys.php on line 21, referer: http://192.168.49.128/settings.php
Hi. Migration 000002 seems to have failed, while all the others completed. Does the same happen if you run the migration again?
Hey @ellite , just to jump on this, can you look to move to PHP8.2 a bit sooner please.
My vulnerability scanner is finding lots of stuff due to Wallos using an out of date version. Thanks for your hard work.
PHP Vulnerability: CVE-2021-21703 PHP Vulnerability: CVE-2021-21704 PHP Vulnerability: CVE-2021-21705 PHP Vulnerability: CVE-2021-21707 PHP Vulnerability: CVE-2021-21708 PHP Vulnerability: CVE-2022-31625 PHP Vulnerability: CVE-2022-31626 PHP Vulnerability: CVE-2022-31628 PHP Vulnerability: CVE-2022-31629 PHP Vulnerability: CVE-2022-31630 PHP Vulnerability: CVE-2022-37454 PHP Vulnerability: CVE-2022-4900 PHP Vulnerability: CVE-2023-0567 PHP Vulnerability: CVE-2023-0568 PHP Vulnerability: CVE-2023-0662 PHP Vulnerability: CVE-2023-3247 PHP Vulnerability: CVE-2023-3823 PHP Vulnerability: CVE-2023-3824
Hello !
By any chance, can you give me the name of your vulnerability scanner ?
Hey @ellite , just to jump on this, can you look to move to PHP8.2 a bit sooner please.
My vulnerability scanner is finding lots of stuff due to Wallos using an out of date version. Thanks for your hard work.
PHP Vulnerability: CVE-2021-21703 PHP Vulnerability: CVE-2021-21704 PHP Vulnerability: CVE-2021-21705 PHP Vulnerability: CVE-2021-21707 PHP Vulnerability: CVE-2021-21708 PHP Vulnerability: CVE-2022-31625 PHP Vulnerability: CVE-2022-31626 PHP Vulnerability: CVE-2022-31628 PHP Vulnerability: CVE-2022-31629 PHP Vulnerability: CVE-2022-31630 PHP Vulnerability: CVE-2022-37454 PHP Vulnerability: CVE-2022-4900 PHP Vulnerability: CVE-2023-0567 PHP Vulnerability: CVE-2023-0568 PHP Vulnerability: CVE-2023-0662 PHP Vulnerability: CVE-2023-3247 PHP Vulnerability: CVE-2023-3823 PHP Vulnerability: CVE-2023-3824
I use this one: https://snyk.io/product/container-vulnerability-management/
I use a 30-day trial of Rapid7 InsightVM (https://www.rapid7.com/products/insightvm/download/) Just renew the trial-licence as many times as I need to.
Hello, I wanted to know if the software is compatible with php 8.2?