Mantis

[Resolved] probleme lors de creation de nouveaux etats

Posted by mantisgfi 
[Resolved] probleme lors de creation de nouveaux etats
April 14, 2009 05:19PM
Bonjour,

J'ai un probleme lors de la mise en place de nouveaux états du workflow, tout se passe bien lors de la modification des fichiers : config_inc.php et custom_constant_inc.php mais dès que je mets à jour le fichier custom_strings_inc.php et plus précisemment quand je mets à jour en ajoutant les chaines de traduction de statuts (j'ai supprimé les messages concernant les etats dont je ne me sers plus et j'ai créée des nouveaux messages correspondants à mes nouveaux états, exemple de code ajouté et qui ensuite engendre le probleme :
$s_Processing_bug_button = "Valider";
$s_Processing_bug_title = "Passer en nouvel &eacutetat : En cours";
$s_email_notification_title_for_status_bug_Processing = "Le bug suivant devient EN COURS.";
)

Le souci dés que je modifie le fichier "custom_strings_inc.php ", je n'ai plus accès a Mantis, une page blanche s'affiche.

Pouvez-vous m'aider s'il vous plait cela me bloque depuis 2 jours et j'ai verifié si je n'ai pas d'erreur dans mon code mais je n'ai rien trouvé

Pouvez-vous notamment m'indiquer la liste des fichiers à modifier quand on modifie les états du workflow et où sont déclarer les chaines de caracteres pour les messages définis dans "custom_strings_inc.php " ?

J'espere que quelqu'un pourra me repondre je vous remercie d'avance !

Cordialement,
Re: probleme lors de creation de nouveaux etats
April 15, 2009 08:50AM
Il faut regarder les logs du serveur web qui doivent indiquer où est l'erreur.

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: probleme lors de creation de nouveaux etats
April 15, 2009 10:41AM
Ok merci
gom
Re: probleme lors de creation de nouveaux etats
April 15, 2009 11:24AM
Quote
mantisgfi
Bonjour,

J'ai un probleme lors de la mise en place de nouveaux états du workflow, tout se passe bien lors de la modification des fichiers : config_inc.php et custom_constant_inc.php mais dès que je mets à jour le fichier custom_strings_inc.php et plus précisemment quand je mets à jour en ajoutant les chaines de traduction de statuts (j'ai supprimé les messages concernant les etats dont je ne me sers plus et j'ai créée des nouveaux messages correspondants à mes nouveaux états, exemple de code ajouté et qui ensuite engendre le probleme :
$s_Processing_bug_button = "Valider";
$s_Processing_bug_title = "Passer en nouvel &eacutetat : En cours";
$s_email_notification_title_for_status_bug_Processing = "Le bug suivant devient EN COURS.";
)

Le souci dés que je modifie le fichier "custom_strings_inc.php ", je n'ai plus accès a Mantis, une page blanche s'affiche.

Pouvez-vous m'aider s'il vous plait cela me bloque depuis 2 jours et j'ai verifié si je n'ai pas d'erreur dans mon code mais je n'ai rien trouvé

Pouvez-vous notamment m'indiquer la liste des fichiers à modifier quand on modifie les états du workflow et où sont déclarer les chaines de caracteres pour les messages définis dans "custom_strings_inc.php " ?

J'espere que quelqu'un pourra me repondre je vous remercie d'avance !

Cordialement,


Salut,

Voilà comment moi j'ai fait ... si ça peut aider ...

[forum.morinie.fr]


Gôm


Mantis : 1.0.6 - 1.1.2 (avec Plugins)
Apache : 2.0.63
PHP : 4.4.9
MySQL : 5.0.51b
OS : Windows 2003 Server R2 SP2
Environnement : WAMP Server 2.0c
Re: probleme lors de creation de nouveaux etats
April 15, 2009 02:09PM
Je n'arrive pas à trouver où se trouve le souci, voici la log générée (sachant que je n'ai effectuée de smodifications que sur le fichier "Custom_strings_inc.php" ) :

#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2009-04-15 07:24:08
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
2009-04-15 07:24:08 172.16.75.95 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
2009-04-15 07:36:54 172.16.75.95 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
2009-04-15 07:36:54 172.16.75.95 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
2009-04-15 07:37:05 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 07:37:15 172.16.75.199 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 07:52:06 172.16.75.161 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
2009-04-15 07:52:06 172.16.75.161 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
2009-04-15 08:14:33 172.16.75.161 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 08:14:33 172.16.75.161 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 08:14:36 172.16.75.161 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 08:15:49 172.16.75.95 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 08:15:49 172.16.75.95 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 08:15:52 172.16.75.95 - 172.16.75.199 80 GET /favicon.ico - 404 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 08:16:25 172.16.75.161 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 10:04:11 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 11:16:58 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 11:34:45 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 12:02:29 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 12:02:29 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 12:02:29 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 12:03:29 172.16.75.95 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8
2009-04-15 12:05:16 172.16.75.199 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
2009-04-15 12:06:44 172.16.75.95 - 172.16.75.199 80 GET /login_page.php - 200 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+fr;+rv:1.9.0.8)+Gecko/2009032609+Firefox/3.0.8




Edited 1 time(s). Last edit at 04/15/2009 02:14PM by mantisgfi.
Re: probleme lors de creation de nouveaux etats
April 15, 2009 03:25PM
Il n'y a pas un log avec les erreurs (c'est le cas avec Apache).

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: probleme lors de creation de nouveaux etats
April 15, 2009 03:40PM
Je ne m'y connais pas trop en serveur web mais celui qui est utilisé dans mon cas c'est: IIS et je ne sais pas où trouver ce type de logs ? Est-ce que vous connaissez IIS ? désolée de vous déranger et merci pour votre aide
Re: probleme lors de creation de nouveaux etats
April 15, 2009 03:59PM
Non justement.

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: probleme lors de creation de nouveaux etats
April 15, 2009 04:41PM
ok

Est-ce que je peux vous envoyer le code de mon fichier en question : "Custom_strings_inc.php" ?

car c'est d'autant plus bizarre que l'anomalie n'apparait que quand j'ajoute les nouveaux messages correspondants à mes nouveaux états en français car la définition des mêmes messages en anglais passent bien.
Re: probleme lors de creation de nouveaux etats
April 15, 2009 04:42PM
Oui

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
gom
Re: probleme lors de creation de nouveaux etats
April 15, 2009 04:48PM
Quote
mantisgfi
ok

Est-ce que je peux vous envoyer le code de mon fichier en question : "Custom_strings_inc.php" ?

car c'est d'autant plus bizarre que l'anomalie n'apparait que quand j'ajoute les nouveaux messages correspondants à mes nouveaux états en français car la définition des mêmes messages en anglais passent bien.

Attention à l'encodage de caractères !!! Notepad provoque souvent des problèmes avec le CR qui est différent entre Windows et Linux.

Seule solution : modifie tes fichiers texte avec Ultra Edit, PSPad Editor ou Notepad++ ... j'ai une préférence pour Notepad++ ! winking smiley


Gôm


Mantis : 1.0.6 - 1.1.2 (avec Plugins)
Apache : 2.0.63
PHP : 4.4.9
MySQL : 5.0.51b
OS : Windows 2003 Server R2 SP2
Environnement : WAMP Server 2.0c
Re: probleme lors de creation de nouveaux etats
April 15, 2009 04:53PM
merci beaucoup


voici le code qui pose problème :

Language: PHP
    # # Traduction pour les profils de droits d&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;accès : ( lang_get_current() == &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;french&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ) { $s_access_levels_enum_string = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;10:invit&eacute,25:RESPFONC,40:CTMA,55:RTMA,70: DEVELOPPEUR,90:administrateur&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; } { $s_access_levels_enum_string = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;10:viewer,25:RESPFONC,40:CTMA,55:RTMA,70: DEVELOPPEUR,90:administrator&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; }   # # Traduction pour les statuts : ( lang_get_current() == &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;french&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ) { $s_status_enum_string = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;10:Nouveau, 20:En cours, 30:Livr&eacute et disponible en recette, 40:Recett&eacute, 50:En production, 60:Clos, 70: Suspendu, 80:Annul&eacute &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;;   $s_New_bug_button = "Valider"; $s_New_bug_title = "Passer en nouvel état : Nouveau"; $s_email_notification_title_for_status_bug_New = "Le bug suivant devient NOUVEAU.";   $s_Processing_bug_button = "Valider"; $s_Processing_bug_title = "Passer en nouvel &eacutetat : En cours"; $s_email_notification_title_for_status_bug_Processing = "Le bug suivant devient EN COURS.";   $s_Pending_bug_button = "Valider"; $s_Pending_bug_title = "Passer en nouvel &eacutetat : Suspendu"; $s_email_notification_title_for_status_bug_Pending = "Le bug suivant devient SUSPENDU.";           $s_Delivered_and_available_in_receipt_bug_button = "Valider"; $s_Delivered_and_available_in_receipt_bug_title = "Passer en nouvel &eacutetat : Livr&eacute et dispo en recette"; $s_email_notification_title_for_status_bug_Delivered_and_available_in_receipt = "Le bug suivant devient LIVRE ET DISPO EN RECETTE.";   $s_Receipted_bug_button = "Valider"; $s_Receipted_bug_title = "Passer en nouvel &eacutetat : Recett&eacute"; $s_email_notification_title_for_status_bug_Receipted = "Le bug suivant devient RECETTE.";     $s_In_production_bug_button = "Valider"; $s_In_production_bug_title = "Passer en nouvel &eacutetat : En production"; $s_email_notification_title_for_status_bug_In_production = "Le bug suivant devient EN PRODUCTION.";   $s_Closed_bug_button = "Valider"; $s_Closed_bug_title = "Passer en nouvel &eacutetat : Clos"; $s_email_notification_title_for_status_bug_Closed = "Le bug suivant devient CLOS.";   $s_Cancelled_bug_button = "Valider"; $s_Cancelled _bug_title = "Passer en nouvel &eacutetat : Annulé"; $s_email_notification_title_for_status_bug_Cancelled = "Le bug suivant devient ANNULE.";         } { $s_status_enum_string = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;10:New, 20: Processing, 30: Delivered and available in receipt, 40:Receipted, 50:In production, 60:Closed, 70: Pending, 80:Cancelled&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;;   $s_New_bug_button = "Confirm"; $s_New_bug_title = "Set Issue Ready to New"; $s_email_notification_title_for_status_bug_New = "The following issue is ready TO BE NEW.";   $s_Processing_bug_button = "Confirm"; $s_Processing_bug_title = "Set Issue Ready to be processed"; $s_email_notification_title_for_status_bug_Processing = "The following issue is ready PROCESSING.";   $s_Pending_bug_button = "Confirm"; $s_Pending_bug_title = "Set Issue Ready to be Pending"; $s_email_notification_title_for_status_bug_Pending = "The following issue is ready TO BE PENDING.";           $s_Delivered_and_available_in_receipt_bug_button = "Confirm"; $s_Delivered_and_available_in_receipt_bug_title = "Set Issue Ready to be Delivered and available in receipt"; $s_email_notification_title_for_status_bug_Delivered_and_available_in_receipt = "The following issue is ready TO BE DELIVERED AND AVAILABLE IN RECEIPT.";   $s_Receipted_bug_button = "Confirm"; $s_Receipted_bug_title = "Set Issue Ready to be Receipted"; $s_email_notification_title_for_status_bug_Receipted = "The following issue is ready TO BE RECEIPTED.";       $s_In_production_bug_button = "Confirm"; $s_In_production_bug_title = "Set Issue Ready to be In production"; $s_email_notification_title_for_status_bug_In_production = "The following issue is ready TO BE IN PRODUCTION.";   $s_Closed_bug_button = "Confirm"; $s_Closed_bug_title = "Set Issue Ready to be Closed"; $s_email_notification_title_for_status_bug_Closed = "The following issue is ready TO BE CLOSED.";   $s_Cancelled_bug_button = "Confirm"; $s_Cancelled_bug_title = "Set Issue Ready to be Closed"; $s_email_notification_title_for_status_bug_Cancelled = "The following issue is ready TO BE CANCELLED.";   }    



Edited 1 time(s). Last edit at 04/15/2009 05:16PM by deboutv.
Re: probleme lors de creation de nouveaux etats
April 15, 2009 05:10PM
désolée de vous avoir déranger l&#039;anomalie est dûe à un espace mal placé dans la variable "$s_Cancelled _bug_title = "Passer en nouvel &eacutetat : Annulé";


merci à tous
Re: probleme lors de creation de nouveaux etats
April 15, 2009 05:18PM
Et oui avec la couleur ça saute aux yeux winking smiley

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: probleme lors de creation de nouveaux etats
April 15, 2009 05:27PM
ah oui là c&#039;est sur, ça saute aux yeux .Merci
Sorry, only registered users may post in this forum.

Click here to login



Online Users

Guests: 5
Record Number of Users: 1 on April 02, 2023
Record Number of Guests: 115 on November 09, 2023
Top Users
Hébergeur : Morinie.Fr