Forum

Unable to change da...
 
Notifications
Retirer tout

Unable to change dates to Validated End Dates or Request End Dates

4 Posts
2 Utilisateurs
0 Reactions
3,792 Vu
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 
[#2825]

I imported new projects using the Import Function. I then created activities for the projects that were imitated.

But now when I try to change the validated end date or Request End dates, I receive the following error message

Error on finalizeMessageDisplay('resultDiv') :
Destination or is not a node or not a widget
or lastOperation or lastOperationStatus is not a node

Fatal error: Maximum execution time of 30 seconds exceeded in /home/iconicprod/public_html/Project-Management/model/ProjectPlanningElementMain.php on line 314
Contact your administrator.


 
Posté : 18/12/2015 2:18 am
(@babynus)
Posts: 14952
Membre Admin
 

Which version of ProjeQtOr ?
Issue is triggered at "/model/ProjectPlanningElementMain.php on line 314" : is it always on same line every time ?

When you try to change the dates, about how many lines (acitvities + projects) will be changed ?
Did you try and increase max_execution_time in php.ini (for instance to 300 instead of default value 30) ?


 
Posté : 18/12/2015 2:11 pm
(@iconic)
Posts: 280
Reputable Member
Début du sujet
 

It is only changing 1 activity of 1 project.


 
Posté : 22/12/2015 7:03 am
(@babynus)
Posts: 14952
Membre Admin
 

Try and change lines 452-455 in /model/persistence/SqlElement.php from

	public function save() {
		if (isset($this->_onlyCallSpecificSaveFunction) and $this->_onlyCallSpecificSaveFunction==true) return;
		return $this->saveSqlElement();
	}
	public function save() {
		debugLog("save ".get_class($this)." #".$this->id);
		if (isset($this->_onlyCallSpecificSaveFunction) and $this->_onlyCallSpecificSaveFunction==true) return;
		$result=$this->saveSqlElement();
		debugLog($result);
		return $result;
	}

Then set debugLevel to 3 in parameters.php file.
Run test.
Post log file here.


 
Posté : 23/12/2015 11:28 am
Share:
Retour en haut