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

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Problem about Copy project

More
11 Fév 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 Connexion or Create an account to join the conversation.

More
13 Fév 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 Connexion or Create an account to join the conversation.

More
13 Fév 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 Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.028 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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