Hello,
I would try the project so I have download the version v9.0.2 of projeqtor.
I have installed it on my server apache v2.4.38 and php 7.3.
The database is postgreSQL v11.9.
When I try to create an user(or something else) by clicking on the save button, the button appears unavailable but nothing append (Capture1.png).
There is no data in the database.
In the log file, no action reported by clicking on the save button:
2021-01-12 08:09:23.007 ===== TRACE ===== NEW CONNECTED USER 'admin'
I have a mistake on JavaScript debbuger (Capture.PNG) :
Erreur sur loadContent('../tool/saveObject.php', 'resultDivMain', 'objectForm', 'true').
La destination 'resultDivMain' n'est pas un 'node' ou pas un 'widget'.
Is there someone already have this issue and maybe the way to repair this issue?
Many thanks for your help!
Please look for errors in log file and post errors here.
Fichier model/persistence/SqlElement.php
Ligne 1068, enlever l'espace entre control () et control() :$control = $this->control ();Devient :$control = $this->control();
Toujours le même fichier :
Ligne 4591, il manque un paramètre à la fonction :$right = securityGetAccessRightYesNo ( 'menu' . get_class ( $this ), (($this->id) ? 'update' : 'create'), $this );$right = securityGetAccessRightYesNo ( 'menu' . get_class ( $this ), (($this->id) ? 'update' : 'create'), $this, $user );Le paramètre $user est a rajouter à la fin comme ci dessus.
Hi,
Thanks for your fix proposale
1) space before parenthesis : I don't think it may be an issue. It apppears on meny other lines without issue.
2) add $user parameter : it should not be an issue, it is optional parameter,$user value will be set if not passed.
It updated like proposed, but I'm not sure it will fix Franck73 issue
NB : Please follow Forum rules and post your message in english
HI,
First of all, many thanks to try to find a solution to my issue!
I tried the solution proposed by tanguy.daniel but it did not resolve the problem.
Nothing append and log file is the same as before.
always same mistake in .js file :"Erreur sur loadContent('../tool/saveObject.php', 'resultDivMain', 'objectForm', 'true').
La destination 'resultDivMain' n'est pas un 'node' ou pas un 'widget'." -> projeqtor.js:180:11
I 'm agree with you.
But something is strange, when you give null as parameter it's end on an "exit()".
THe workaround i gave solve a issue i have encountered trying to create a new account. The user cannot log in the first time because of the "exit()' . When i set parameter to $user it works.
Please check for errors in PHP error log file.
Or possibly you have other errors on the browser console.
Please look for any error to post here to give us some cliue.
NB ;: which browser / version are you using ?