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.

Unable to change da...
 
Notifications
Clear all

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

4 Posts
2 Users
0 Reactions
3,808 Views
(@iconic)
Posts: 280
Active Member
Topic starter
 
[#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.


 
Posted : 18 Dec 2015 2H18
babynus
(@babynus)
Posts: 14966
Main Contributor 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) ?


 
Posted : 18 Dec 2015 14H11
(@iconic)
Posts: 280
Active Member
Topic starter
 

It is only changing 1 activity of 1 project.


 
Posted : 22 Dec 2015 7H03
babynus
(@babynus)
Posts: 14966
Main Contributor 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.


 
Posted : 23 Dec 2015 11H28
Share:

Scroll to Top