ProjeQtOr free project management software - [SOLVED] Move parameters.php in new folder, update parametersLocation.php but not workin - ProjeQtOr
 

[SOLVED] Move parameters.php in new folder, update parametersLocation.php but not workin

More
31 Juil 2020 11:22 #1 by canstrousse
Hi,

First thing, ProjeQtor is incredible, i really appreciate using it !!

I'm not really a Boss using Linux and i try to apply recommandations after installation ..

So, i created a folder << files/config >> at the same level as << public_html >>, i have so :
files
mail
public_html
I moved << public_html/files/config/parameters.php >> to << files/config/parameters.php >>
I made a Chmod 777 on files/config
I wrote this in << public_html/tool/parametersLocation.php >>
1 <?php
2 $parametersLocation = './files/config/parameters.php';

And when i want to run the Website, i obtain...

*** ERROR ****
parameter file not found at './files/config/parameters.php'
Check file '/tool/parametersLocation.php' or remove it to use '/tool/parameters.php'.

If problem persists, you may get some help at the forum at ProjeQtOr web site

Where is my mistake ?

Thank's a Lot. .

Please Connexion or Create an account to join the conversation.

More
31 Juil 2020 11:41 #2 by babynus
Location is relative to parametersLocation.php path, so it should be
$parametersLocation = '../../files/config/parameters.php';

But you'd better define an absolute path to the file, not a relative one, for instance (adapt to your context):
$parametersLocation = '/var/www/files/config/parameters.php';

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

Please Connexion or Create an account to join the conversation.

More
31 Juil 2020 12:28 #3 by canstrousse

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.028 seconds