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

[SOLVED] Bad URI for tool directory

More
31 Aug 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 Log in 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 Log in 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 Log in 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 Log in 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 Log in or Create an account to join the conversation.

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