Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
This causes a fatal PHP error and blank screen during logging in for a non-admin user in Projeqtor v13.0.1 (admin user appears to login fine). The Apache error log reports:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "Parameter" not found in /var/www/example.org/projeqtor/tool/projeqtor.php:1612\nStack trace:\n#0 [internal function]: exceptionHandler()\n#1 {main}\n thrown in /var/www/example.org/projeqtor/tool/projeqtor.php on line 1612'
The fix is to load the Parameter class before attempting to use it. Insert the following line into tool/projeqtor.php immediately below the existing require_once stanza at line 39:
require_once '../model/Parameter.php';
Hi,
Thanks for reporting the issue and proposing a fix.
In fact, I'm afraid you'll face other issues as ProjeQtOr V13.0 is not compatible with PHP 8.5
See compatibility matrix on our website.
Yup, I'm aware of that thanks. PHP 8.5 was released last November and has been the default for Fedora since April. Everything else I run on it (mostly WordPress) works well. To compensate, I have made another intervention in tool/projeqtor.php line 80 (or 81 after the exceptionHandler fix) replacing:
set_error_handler('errorHandler');
with:
set_error_handler('errorHandler', E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);
Which for now prevents depreciation warnings being fatal errors.
Good idea.
Will be included in next release.