Bonjour,
J'ai le message d'erreur suivant lorsque que je lance un programme php (voir ligne de programmation en erreur, plus bas)
J'ai lu dans certains forum qu'il fallait désactivé le "php error warnings".
Est ce viable comme action ?
Merci d'avance pour votre support
Cdlt
mrhaiem
1/Warning: stristr() [function.stristr]: Empty delimiter in D:\DONNEES\wamp\www\Gladis\external_scripts\inbound_email.php on line 159
2/Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utilitaire e-mails entrants', '4', '30', '1355869203', '0', '4', '1', '5')' at line 1
Error Number: 1064
Query Syntax: INSERT INTO aims_core_log (log_text, id, item_id, create_date, item_identifier, log_item_sequence, security_id, role_id) VALUES ('Créé par l'utilitaire e-mails entrants', '4', '30', '1355869203', '0', '4', '1', '5')Unable to process message number: 1 - processing has been halted.
The message subject is :RE: Ticket numéro P2IN-0612797 (Priorité : P4) affecté au groupe GTS_PAR_EUS_VIR.EPAL.OPE_L3.
Technical information :
- php version : 5.3.5
- script information
//Detect blocked subject words and halt processing.
$subjectMatchArray = explode(',',$inboundEmailSettings['SUBJECT_MATCH_'.$i]);
if (is_array($subjectMatchArray)){
foreach ($subjectMatchArray as $matchString){
if (stristr($subject,trim($matchString))){ ------------------------------------------>line 159
$subjectMatch = true;
}
}
}
if ($subjectMatch == true) {
$success = true;
Cordialement
mrhaiem