View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Bad URI for tool directory - ProjeQtOr

Prochaines Sessions

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

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

[SOLVED] Bad URI for tool directory

More
31 Aoû 2022 18:44 #1 by Snaaky
Hi,

When I use ProjeQtOr, some actions request URI "/tool/" to use the .php functionalities.

But, in my case, the URI is not "/tool/*.php" but "../tool/*.php".

I try to remove the parametersLocation.php file to see if I can change this URI in the parameters.php, but I didn't see it.

I didn't see it either in the dabatase, like documentRoot or cronDirectory in the parameter table.

So, the question is : how can I change this call URI once and for all ?

Sincerely.

Please Connexion or Create an account to join the conversation.

More
01 Sep 2022 18:45 #2 by babynus
Replied by babynus on topic Bad URI for tool directory

When I use ProjeQtOr, some actions request URI "/tool/" to use the .php functionalities.

Wich "action" ? 
These URis are not defined in Projeqtor

But, in my case, the URI is not "/tool/*.php" but "../tool/*.php".

Yes, Projeqtor defines Url with a relative patch.

I try to remove the parametersLocation.php file to see if I can change this URI in the parameters.php, but I didn't see it.

This will just redirect to configuration page.

I didn't see it either in the dabatase, like documentRoot or cronDirectory in the parameter table.
So, the question is : how can I change this call URI once and for all ?

No, there is no way to change Projeqtor behavior.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
02 Sep 2022 08:53 #3 by Snaaky
Replied by Snaaky on topic Bad URI for tool directory

Wich "action" ? 
These URis are not defined in Projeqtor

I mean when I click on a button which need a php script in the tool directory (e.g. if the DocumentRoot is /var/www/html, the tool directory is /var/www/html/tool/).
For example, I go to Configuration > Administration and I click on "scan for issues", then the print.php is called, with a parameter "&page=../tool/adminFunctionalities.php" and return an error 500 (see the screen below). But with the Firefox Administration Console, if I modify the request to "&page=tool/adminFunctionalities.php" and send it, I have a return code 200.

Yes, Projeqtor defines Url with a relative patch.

A relative path from the DocumentRoot or from a specific file or directory ? If this is from the DocumentRoot, so the relative path "../tool/" doesn't exist in my case.

This will just redirect to configuration page.

Yes, I know. I just tried to see if this relative path could be change during the configuration process, but no.

No, there is no way to change Projeqtor behavior.

So, how can I get a working ProjeQtOr ? The behavior I have is not functional. 

Please Connexion or Create an account to join the conversation.

More
02 Sep 2022 12:05 - 02 Sep 2022 12:09 #4 by babynus
Replied by babynus on topic Bad URI for tool directory

A relative path from the DocumentRoot or from a specific file or directory ?

It is a path relative to current page.
By default, default page is in directory view of projeqtor.

So, how can I get a working ProjeQtOr ?

You must have so specific configuration for Apache / PHP.
The only way I can imagine this, is that you defined a virtualhost pointing to /var/www/html/projeqtor/view
You localhost should point to var/www/html/projeqtor/

Babynus
Administrator of ProjeQtOr web site
Last edit: 02 Sep 2022 12:09 by babynus.

Please Connexion or Create an account to join the conversation.

More
02 Sep 2022 12:10 - 08 Sep 2022 15:11 #5 by Snaaky
Replied by Snaaky on topic Bad URI for tool directory

It is a path relative to current page.
By default, default page is in directory view of projeqtor.

If it's a path from /view/print.php, the path ../tool/adminFunctionalites.php is good. But with this path, it returns a error 500.
With the path /tool/adminFunctionalities.php, it returns a code 200.

So why isn't working ? What can I do to have the "scan for issue" functionality working ?

EDIT : I just saw your edit, I will search this.

EDIT2 : Sorry, the URI is good. It was just a PHP error...   (memory limit).
Last edit: 08 Sep 2022 15:11 by Snaaky.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.054 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.