[Resolved] probleme lors de creation de nouveaux etats
Bonjour,
J& #039;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& #039;ai supprimé les messages concernant les etats dont je ne me sers plus et j& #039;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 état : 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& #039;ai plus accès a Mantis, une page blanche s& #039;affiche.
Pouvez-vous m& #039;aider s& #039;il vous plait cela me bloque depuis 2 jours et j& #039;ai verifié si je n& #039;ai pas d& #039;erreur dans mon code mais je n& #039;ai rien trouvé
Pouvez-vous notamment m& #039;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& #039;espere que quelqu& #039;un pourra me repondre je vous remercie d& #039;avance !
Cordialement,
Il faut regarder les logs du serveur web qui doivent indiquer où est l& #039;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
Quote mantisgfi
Bonjour,
J& #039;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& #039;ai supprimé les messages concernant les etats dont je ne me sers plus et j& #039;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 état : 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& #039;ai plus accès a Mantis, une page blanche s& #039;affiche.
Pouvez-vous m& #039;aider s& #039;il vous plait cela me bloque depuis 2 jours et j& #039;ai verifié si je n& #039;ai pas d& #039;erreur dans mon code mais je n& #039;ai rien trouvé
Pouvez-vous notamment m& #039;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& #039;espere que quelqu& #039;un pourra me repondre je vous remercie d& #039;avance !
Cordialement,
Salut,
Voilà comment moi j& #039;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
Je n& #039;arrive pas à trouver où se trouve le souci, voici la log générée (sachant que je n& #039;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.
Il n& #039;y a pas un log avec les erreurs (c& #039;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
Je ne m& #039;y connais pas trop en serveur web mais celui qui est utilisé dans mon cas c& #039;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
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
ok
Est-ce que je peux vous envoyer le code de mon fichier en question : "Custom_strings_inc.php" ?
car c& #039;est d& #039;autant plus bizarre que l& #039;anomalie n& #039;apparait que quand j& #039;ajoute les nouveaux messages correspondants à mes nouveaux états en français car la définition des mêmes messages en anglais passent bien.
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
Quote mantisgfi
ok
Est-ce que je peux vous envoyer le code de mon fichier en question : "Custom_strings_inc.php" ?
car c& #039;est d& #039;autant plus bizarre que l& #039;anomalie n& #039;apparait que quand j& #039;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& #039;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& #039;ai une préférence pour Notepad++ !
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
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é,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é et disponible en recette,
40:Recetté,
50:En production,
60:Clos,
70: Suspendu,
80:Annulé &<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 état : 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 état : 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 état : Livré 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 état : Recetté";
$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 état : 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 état : 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 état : 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.
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 état : Annulé";
merci à tous
Et oui avec la couleur ça saute aux yeux
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
ah oui là c& #039;est sur, ça saute aux yeux .Merci
Online Users
Guests:
16
Record Number of Users:
1
on April 02, 2023
Record Number of Guests:
115
on November 09, 2023
Top Users
|