View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Bug: New Setup does not include projeqtor.php - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

21 août 2025 (16h-17h30)

4 septembre 2025 (16h-17h30)

16 septembre 2025 (10h30-12h)

 
 

Planifiez avec ProjeQtOr

17 et 18 septembre 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

24 et 25 septembre 2025 (9h-12h30)

 

 

 

Bug: New Setup does not include projeqtor.php

More
28 Avr 2025 09:18 - 28 Avr 2025 10:57 #1 by Agony4173
Hey all,

I am currently trying to automatically build ProjeQtOr into a docker container. While executing, I sumbled upon the following error message:
<b>Fatal error</b>: Uncaught Error: Call to undefined function enableCatchErrors() in /var/www/html/tool/file.php:299
Stack trace:
#0 /var/www/html/tool/file.php(322): getStaticFileNameWithCacheMgt('js/dynamicCss.j...')
#1 /var/www/html/index.php(77): echoStaticFileNameWithCacheMgt('view/js/dynamic...')
#2 {main}
thrown in <b>/var/www/html/tool/file.php</b> on line <b>299</b><br />

Looking at the code, the error is obvious. Inside the index.php, the projeqtor.php does not get included, if it is a new installation. See the else clause here:
sourceforge.net/p/projectorria/code/HEAD...ojeqtor/index.php#l5
if (is_file ( "../tool/parametersLocation.php" )) {
include_once '../tool/projeqtor.php';
$theme=getTheme();
if (RequestHandler::isCodeSet('nosso') or (isset($paramNoSSO) and $paramNoSSO===true)) {
SSO::setAvoidSSO();
}
if(isNewGui())$firstColor=Parameter::getUserParameter('newGuiThemeColor');
else $firstColor='545381';
$background=(isNewGui())?'#'.$firstColor.' !important':' #C3C3EB';
$initialisation=false;
} else {
function isNewGui() {
return true;
}
function getTheme() {
return 'ProjeQtOrFlatBlue';
}
function isFF() {
return true;
}
$theme=getTheme();
$background="#545381";
$initialisation=true;
$version=0;
$build=0;
$svnRevision=0;
$firstColor='545381';
$background='#545381 !important';
include_once '../tool/file.php';
}

I just wanted to quickly check if I am missing anything here.

Best,
Agony
Last edit: 28 Avr 2025 10:57 by Agony4173. Reason: Tried reformatting code

Please Connexion or Create an account to join the conversation.

More
28 Avr 2025 12:46 - 28 Avr 2025 12:46 #2 by Agony4173
After further looking into this, the main issue is the functions:
- enableCatchErrors();
- disableCatchErrors();

Those are referenced in the file
tools/projeqtor.php
. This file does not get referenced, as you see in the above code.

From my point of view, there are two solutions:
1) Quick & Dirty: Replace those functions with the following code, depending on if it should be enabled or disabled:
global $globalCatchErrors;
$globalCatchErrors=true;

2) Refactor tools/projeqtor.php so it can be referenced at the beginning of index.php
Last edit: 28 Avr 2025 12:46 by Agony4173.

Please Connexion or Create an account to join the conversation.

More
29 Avr 2025 20:47 #3 by Agony4173
Okay installing Projeqtor 12.1.1 is kind of a mess. I jump from error to error.

When is the last time _anyone_ actually tried to install this from scratch? Are there no CI/CD tests?

Please Connexion or Create an account to join the conversation.

More
04 Mai 2025 00:58 #4 by babynus
Hi,

You're righ, it seems that new js caching set issues with fresh installs.
We'll fix this.

As a workaround, directly go to url http://localhost/projeqtor/view/main.php

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.065 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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