View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Installation issue - can't complete - ProjeQtOr
 
 

Installation issue - can't complete

More
30 Nov 2021 19:50 #1 by jona
Hi guys.
I'm new to this, so hello at all.
I just wanted to setup projeqtor v934, latest version on my
rockylinux server
I have installed php8.1 with all its subcomponents, mariadb and apache
I came to the configuration page where I set all the parameters for db access etc, saved settings, got a warning for max_input_value and pressed continue (just wanted to proceed first and later "fix" o sea set this value correctly)
Then I got ERROR: an error ocurred.... <timestamp>
So I changed loglevel to get any log file, restarted httpd and got this:

ERROR : trim(): Passing null to parameter #1 ($string) of type string is deprecated

in log file, there is

2021-11-30 21:36:28.219 ***** ERROR ***** [] ERROR *****
2021-11-30 21:36:28.219 ***** ERROR ***** [] on file '/var/www/html/projeqtor/model/persistence/SqlElement.php' at line (747)
2021-11-30 21:36:28.219 ***** ERROR ***** [] cause = trim(): Passing null to parameter #1 ($string) of type string is deprecated

Any ideas how to fix this? Am I missing sth?

Please Log in or Create an account to join the conversation.

More
01 Dec 2021 08:57 #2 by babynus
ProjeQtOr is not validated on PHP 8.1
Please revert to PHP 8.0

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: jona

Please Log in or Create an account to join the conversation.

More
01 Dec 2021 09:13 - 01 Dec 2021 09:25 #3 by jona
I had a quick research last night and it seems php8.x is the "problem" there are not-nullable functions which have been nullable in previous versions.
see [php.watch/versions/8.1/internal-func-non...ble-null-deprecation]
And now that the comment in your source tells

* @param $id the
* id of the object in the database (null if not stored yet)

the problem seams clear to me.

Setting back is not possible for me, because it's not the only thing running on that machine.

In readme.txt it tells "PHP 7.x or 8.0 is advised when available (the latest the better)  : it brings great performance improvments"
so I thought it works.
Last edit: 01 Dec 2021 09:25 by jona.

Please Log in or Create an account to join the conversation.

More
01 Dec 2021 09:14 - 01 Dec 2021 09:25 #4 by jona
Will the next release 9.4.0 work under php8.1?
Last edit: 01 Dec 2021 09:25 by jona.

Please Log in or Create an account to join the conversation.

More
02 Dec 2021 10:28 #5 by jona
Just to follow up, I installed it under a new, blanc vm using php8.0 and it works.

Please Log in or Create an account to join the conversation.

More
03 Dec 2021 17:32 #6 by babynus

Will the next release 9.4.0 work under php8.1?

No, V9.4 is already under finalization, and drawbacks brought by php 8.1 are to numerous to be done in few days.
We'll work on the subject for V9.5

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: jona

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.043 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.