[SOLVED]Notification item et flexicontent-cck-3.1.0-rc2 et joomla 3.6.2

More
9 years 4 months ago - 9 years 3 months ago #63918 by seabird
Bonjour,
Je viens de m'apercevoir que je ne recevais plus les notifications de création d'articles depuis ma mise à jour avec flexicontent-cck-3.1.0-rc2.
Je n'ai pourtant rien changé dans la configuration.
Est ce qu'il y a un souci avec les notifications ?

I just noticed that I don't have notifications of creating articles since my update with FLEXIcontent-cck-3.1.0-rc2.
I haven't changed the configuration.
Is there a problem with notifications?

Merci,
Eric
Last edit: 9 years 3 months ago by ggppdk.

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

More
9 years 4 months ago #63919 by micker
as tu tester l'envois claqssique du site ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
9 years 4 months ago - 9 years 4 months ago #63922 by seabird
Oui tout marche, création d'utilisateur, les notifications jcomment aussi... Il n'y a que la notification des articles qui ne fonctionne plus
Last edit: 9 years 4 months ago by seabird.

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

More
9 years 4 months ago #63923 by micker
oki on va tester cela

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
9 years 4 months ago - 9 years 4 months ago #64191 by seabird
Bonjour ,

Je reviens un peu aux nouvelles concernant la notification.
Avez-vous testé ? Y a t-il un souci pour finir ?
En mettant la mode debug:
J'ai ce message: Sending WORKFLOW notification emails FAILED

Pourtant toutes les autres notifications fonctionnent, (test d'envoi d'email dans la configuration, création d'utilisateur, les notifications jcomment ...)
Il n'y a que la notification des articles qui ne fonctionne plus . C'est étrange, et ceci depuis ma dernière mise à jour.

Eric
Last edit: 9 years 4 months ago by seabird.

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

More
9 years 4 months ago - 9 years 4 months ago #64192 by seabird
Re,

je suis en train un peu d'explorer cette erreur. Et je viens de remarquer que si dans le fichier administrator/components/com_flexicontent/models/ parentclassitem.php , je remplaçais
Code:
$send_result = JFactory::getMailer()->sendMail( $from, $fromname, $recipient, $subject, $body, $html_mode, $cc, $bcc, $attachment, $replyto, $replytoname );
par
Code:
$mailer = JFactory::getMailer(); $mailer->setSender("test@test.com"); $mailer->addRecipient("mommail@mommail.com"); $mailer->setSubject("test objet du mail"); $mailer->setBody("test contenu du message"); $mailer->send();

cela fonctionnait et je recevais bien un mail
Il y a donc un souci quelque-part.

Je vois qu'il y a un problème avec $bbc.
Si dans le fichier administrator/components/com_flexicontent/models/parentclassitem.php, on laisse
Code:
$send_result = JFactory::getMailer()->sendMail( $from, $fromname, $recipient, $subject, $body, $html_mode, $cc, $bcc, $attachment, $replyto, $replytoname );
Cela ne marche pas et on a l'erreur Sending WORKFLOW notification emails FAILED
Par contre si on supprime la variable $bbc , l'envoi se fait correctement

Eric
Last edit: 9 years 4 months ago by seabird.

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

More
9 years 4 months ago - 9 years 4 months ago #64193 by seabird
RE,

Le problème vient visiblement du fichier /libraries/joomla/mail/mail.php dans joomla 3.6.2.
En effet je vois:
Code:
public function addBcc($bcc, $name = '') { // If the blind carbon copy recipient is an array, add each recipient... otherwise just add the one if (isset($bcc)) { return $this->add($bcc, $name, 'addBCC'); } return $this; }

Si je remplace return $this->add($bcc, $name, 'addBCC'); par $this->add($bcc, $name, 'addBCC'); ( je supprime le return)
L'envoi du mail se fait correctement.

Eric
Last edit: 9 years 4 months ago by seabird.

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

More
9 years 4 months ago #64196 by ggppdk
Hello

thanks for report, we will make a fix,

PS: new version is almost done, good to have this fixed


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
9 years 4 months ago - 9 years 4 months ago #64216 by ggppdk
Hello

i tested with J3.6.2 with
- send as BCC , both OFF and ON

and it works

i cannot confirm the issue
the failure must come by the email configuration of Joomla

After you confirm / recheck your email configuration ,
you Send me a PM with super admin access to view this


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 9 years 4 months ago by ggppdk.

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

More
9 years 4 months ago - 9 years 4 months ago #64218 by seabird
Hello,

I started testing again.
I use php mail and I have for example this config
[IMG


If I delete return line 426 in file /libraries/joomla/mail/mail.php (return $this->add($bcc, $name, 'addBCC'); )
Code:
public function addBcc($bcc, $name = '') { // If the blind carbon copy recipient is an array, add each recipient... otherwise just add the one if (isset($bcc)) { return $this->add($bcc, $name, 'addBCC'); } return $this; }

I receive the mail correctly.

But if I don't delete return. I have this error Sending WORKFLOW notification emails FAILED

Thanks

Eric
Last edit: 9 years 4 months ago by seabird.

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save