Hi,
After upgrade to projeqtor 12.4.0 in projeqtor.log we can found :
2025-12-24 15:36:56.047 ***** ERROR ***** [V12.4.0] [21] Strack trace :
2025-12-24 15:36:56.047 ***** ERROR ***** [V12.4.0] [21] #0 Sql->query called at [/var/www/intranet-prod/projeqtor/projeqtor/api/index.php:132]
2025-12-24 15:36:56.077 ***** ERROR ***** [V12.4.0] [21] Exception-[22P02] SQLSTATE[22P02]: Invalid text representation: 7 ERREUR: syntaxe en entrée invalide pour le type numeric : « »
LINE 1: ...rom project where (name = '' and idOrganization = '' and idP...
^
2025-12-24 15:36:56.078 ***** ERROR ***** [V12.4.0] [21] For query : select * from project where (name = '' and idOrganization = '' and idProjectType='181') and ((project.id not in (0) or project.id is null ) and (project.id not in (0) or project.id is null or (project.idResource=21) ) and (project.id not in (0) or project.id is null or (project.idUser=21) ))
2025-12-24 15:36:56.078 ***** ERROR ***** [V12.4.0] [21] Strack trace :
2025-12-24 15:36:56.078 ***** ERROR ***** [V12.4.0] [21] #0 Sql->query called at [/var/www/intranet-prod/projeqtor/projeqtor/model/persistence/SqlElement.php:3167]
2025-12-24 15:36:56.078 ***** ERROR ***** [V12.4.0] [21] #1 SqlElement->getSqlElementsFromCriteria called at [/var/www/intranet-prod/projeqtor/projeqtor/api/index.php:299]
2025-12-24 15:36:56.124 ***** ERROR ***** [V12.4.0] [21] Exception-[42883] SQLSTATE[42883]: Undefined function: 7 ERREUR: la fonction database() n'existe pas
LINE 4: WHERE TABLE_SCHEMA = DATABASE()
^
HINT: Aucune fonction ne correspond au nom donné et aux types d'arguments.
Vous devez ajouter des conversions explicites de type.
2025-12-24 15:36:56.124 ***** ERROR ***** [V12.4.0] [21] For query :
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = DATABASE()
AND TABLE_NAME = 'project'
2025-12-24 15:36:56.124 ***** ERROR ***** [V12.4.0] [21] Strack trace :
2025-12-24 15:36:56.124 ***** ERROR ***** [V12.4.0] [21] #0 Sql->query called at [/var/www/intranet-prod/projeqtor/projeqtor/api/index.php:132]
2025-12-24 15:36:56.153 ***** ERROR ***** [V12.4.0] [21] Exception-[22P02] SQLSTATE[22P02]: Invalid text representation: 7 ERREUR: syntaxe en entrée invalide pour le type numeric : « »
LINE 1: ...rom project where (name = '' and idOrganization = '' and idP...
^
2025-12-24 15:36:56.154 ***** ERROR ***** [V12.4.0] [21] For query : select * from project where (name = '' and idOrganization = '' and idProjectType='181') and ((project.id not in (0) or project.id is null ) and (project.id not in (0) or project.id is null or (project.idResource=21) ) and (project.id not in (0) or project.id is null or (project.idUser=21) ))
2025-12-24 15:36:56.154 ***** ERROR ***** [V12.4.0] [21] Strack trace :
2025-12-24 15:36:56.154 ***** ERROR ***** [V12.4.0] [21] #0 Sql->query called at [/var/www/intranet-prod/projeqtor/projeqtor/model/persistence/SqlElement.php:3167]
2025-12-24 15:36:56.154 ***** ERROR ***** [V12.4.0] [21] #1 SqlElement->getSqlElementsFromCriteria called at [/var/www/intranet-prod/projeqtor/projeqtor/api/index.php:299]
Actually, there is no "DATABASE()" function in postgreSQL database.
“Be a yardstick of quality. Some people aren't used to an environment where excellence is expected.” ~ Steve Jobs
"...and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." ~ Think Different
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
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.