View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problem about Copy project - Page 2 - ProjeQtOr
 
 

Problem about Copy project

More
11 Feb 2012 20:27 #7 by babynus
Fixed.

Thanks gerg35. You were almost there, and your analysis was correct.

To fix completely :
- sort array $activities before copying (then copy is in the good order), but sort must preserve keys (use uasort)
- then same issue with milestones : as they are copied after activities, order is not correct (they are alway after activities) : I had to implement array of object that can be of different classes, and adapt sort functionality.

Then it works !

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
13 Feb 2012 11:39 #8 by chris35
Hi Babynus,

I get the v2.0.1 snapshot from the svn repository to test your fix.

When I copy a project, the following error is occured:

Erreur sur finalizeMessageDisplay('resultDiv') :
La destination n'est pas un 'node' ou pas un 'widget'
ou lastOperation or lastOperationStatus n'est pas un 'node'.


Fatal error: Maximum execution time of 30 seconds exceeded in C:\projets\projector\V2.0\projector\model\persistence\Sql.php on line 171
Contactez votre administrateur.



My template project have:
- 34 activities, not assigned to resources
- 4 milestones

Where can I configure the timeout to increase the value?
It seems to be a little long time to take more than 30 seconds to copy the project, what do you think about?

Thanks

Please Log in or Create an account to join the conversation.

More
13 Feb 2012 18:54 #9 by babynus

Where can I configure the timeout to increase the value?

in php.ini,
max_execution_time = 300
or in the php code, for instance in copyProjctTo.php
set_time_limit(300);


It seems to be a little long time to take more than 30 seconds to copy the project, what do you think about?

Yes, it seems quite long... but all depends on your server capacity.
I should have a try...

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.028 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.