Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Move param...
 
Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
2,778 Views
(@canstrousse)
Posts: 13
Active Member
Topic starter
 
[#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. .


 
Posted : 31 Jul 2020 13H22
babynus
(@babynus)
Posts: 14966
Main Contributor 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';

 
Posted : 31 Jul 2020 13H41
(@canstrousse)
Posts: 13
Active Member
Topic starter
 

It works well. Thank's a lot.


 
Posted : 31 Jul 2020 14H28
Share:

Scroll to Top