Forum

[SOLVED] Move param...
 
Notifications
Retirer tout

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

3 Posts
2 Utilisateurs
0 Reactions
2,744 Vu
(@canstrousse)
Posts: 13
Eminent Member
Début du sujet
 
[#6855]

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 <> at the same level as <>, i have so :
files
mail
public_html
I moved <> to <>
I made a Chmod 777 on files/config
I wrote this in <>
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. .


 
Posté : 31/07/2020 1:22 pm
(@babynus)
Posts: 14952
Membre Admin
 

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';

 
Posté : 31/07/2020 1:41 pm
(@canstrousse)
Posts: 13
Eminent Member
Début du sujet
 

It works well. Thank's a lot.


 
Posté : 31/07/2020 2:28 pm
Share:
Retour en haut