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] Cloned Env...
 
Notifications
Clear all

[SOLVED] Cloned Environnement -> Undefined variable: connexion in DataCloning.php

30 Posts
3 Users
0 Reactions
9,522 Views
(@iflorian)
Posts: 63
Active Member
Topic starter
 

Hi,
Is-it possible to have a change in ProjeQtOr concerning relative path in the following conf files which works with simulation ? 
- tool/parametersLocation.php --> variable $parametersLocation
- parameters.php --> variable $logFile

Otherwise, the simulation doesn't work as it is. 

Thanks for your reply in advance. 
After, I can close this topic. 

Best regards,
Florian


“Be a yardstick of quality. Some people aren't used to an environment where excellence is expected.” ~ Steve Jobs
"...and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." ~ Think Different

 
Posted : 18 Aug 2022 12H21
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Otherwise, the simulation doesn't work as it is. 

Work fine for me with relative path.
What is the error logged ?


 
Posted : 18 Aug 2022 19H42
(@iflorian)
Posts: 63
Active Member
Topic starter
 

Otherwise, the simulation doesn't work as it is. 

Work fine for me with relative path.
What is the error logged ?
 

Hi, 
I have no error logged. Just if I have the path "'../../projeqtor_data/files/config/parameters.php" in my parametersLocation.php of my projeqtortest, I get the error page with cloned environnement : 

 ERROR *
parameter file not found at '../../projeqtor_data/files/config/parameters_NMgZCp.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 .

Because the simulation environnment is under directory "simulation", so the relative_path for this environnement is not good because it should be with "../"  additional.
It is the same issue with log file... 

Maybe there is an additionnal parameter in order to indicate relative path in parameters.php ? 

Thank a lot,

Florian

 


“Be a yardstick of quality. Some people aren't used to an environment where excellence is expected.” ~ Steve Jobs
"...and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." ~ Think Different

 
Posted : 19 Aug 2022 11H04
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

No, there is no other way than speciying an absolute path.
If you leave simulation path to its defaut, relative path will work, if not an absolute path is mandatory.


 
Posted : 22 Aug 2022 11H10
(@iflorian)
Posts: 63
Active Member
Topic starter
 

Thank a lot,

I can close this topic 🙂

Have a good day !
Florian


“Be a yardstick of quality. Some people aren't used to an environment where excellence is expected.” ~ Steve Jobs
"...and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." ~ Think Different

 
Posted : 22 Aug 2022 11H43
Page 2 / 2
Share:

Scroll to Top