Hi Babynus,
I have a created a Project template that consists a typical Waterfall development activities. It has 410 activities of Type Phases, Activities and Tasks without affectation and assignments and planned hours. My intention was to make this as template for my every new project and add affectation, assignments & additional tasks as per project need.
Once the template was done and click on copy project, it was hovering for a long time and end up with following 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 600 seconds exceeded in D:xampphtdocsprojeqtormodelActivityPlanningElement.php on line 163
I can increase the execution time but to copy 410 records into a new project, is that time not sufficient? Or Am I missing any here?
Regards,
Raj
Hi,
410 records in a herarchicaly defined planning, possibly with dependencies and else may be quite heavy.
But I must admite that this functionnality has been improved upon functionality, not upon performance.
Try and increase exec time, and let me now how long it takes to copy it... this interest me.
Hi Babynus,
* To my surprise when I verified in PHP.ini the max_execution_time was set to 30. This was set as per Readme.txt. I am not sure where this `600` is coming from?
* I have increased max_execution_time=600 (php.ini) and did the copy project. It again displayed the same error but in SQL.php file.
Please let me know where else i need to change the configuration. I have attached the export of activities for your reference. Once you download, please delete the file.
*Another interesting note is, when i copy activities from `Activities` screen using multiple updates (Selected all activities to a new project), only 58 activities copied in less than 2 minutes*.
Regards,
Raj
Hi,
Normal you have no more with "execution_time=600", as this is dynamically set to this value before copy...
So you must increase to higher value (dynamic setting will make no change as your value will be higher than new one).
Try execution_time=3600 (1 hours).
Hi,
I have increased execution time as you suggested (3600) and tried out. This time no error and no action. I had to reconnect again to access the screens.
Can you please advise?
Thanks
Raj
H
Do you have any error in the log file ?
Do you have any error in Apache log file ?
In apache access log file i found following when i initiated copy project.
::1 - - [04/Mar/2015:16:08:27 +0530] "POST /projeqtor5/tool/copyObject.php?destinationWidth=48 HTTP/1.1" 200 216 "http://localhost/projeqtor5/view/main.php" "Mozilla/5.0 (Windows NT 6.1; rv:35.0) Gecko/20100101 Firefox/35.0"
In apache error log, I didn't see any except the following error.
[Tue Mar 24 17:26:00.320581 2015] [core:notice] [pid 8184:tid 232] AH00094: Command line: 'd:\xampp\apache\bin\httpd.exe -d D:/xampp/apache'
[Tue Mar 24 17:26:00.323581 2015] [mpm_winnt:notice] [pid 8184:tid 232] AH00418: Parent: Created child process 4596
[Tue Mar 24 17:26:01.142663 2015] [ssl:warn] [pid 4596:tid 244] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
I believe you can simulate this with the excel file I provided.
Thanks
Raj