PhpMyNewsLetter 2.0

Support et annonces PhpMyNewsLetter.

Vous n'êtes pas identifié(e).

Annonce

Pour me permettre de mieux vous aider au mieux, merci d'être le plus précis possible en donnant :
- la version de phpmynewsletter utilisée
- votre hébergement : personnel, dédié, mutualisé
- votre hébergeur (OVH, free, Infomaniak, 1and1,...)
- votre OS : linux, windows
- version de PHP (5.3, 5.6, 7.0, hhvm...)
Toutes les réponses à mes questions qui sont sans retour de votre part seront considérées comme résolues !

#1 14-12-2016 13:01:02

ciol63
Membre

[Résolu] Problème après mail mode preview

Bonjour Arnaud,

merci pour cette mise à jour que j'ai hâte d'utiliser cependant après mon l'envoie de mon mail en "mode preview" j'ai cette erreur :

<b>Warning</b>:  Illegal string offset 'email' in <b>..pmn2/send_preview.php</b> on line <b>122</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at ..pmn2/send_preview.php:122) in <b>..pmn2/send_preview.php</b> on line <b>163</b><br />

du coup je n'ai pas de possibilité de valider l'envoie de la newsletter par contre je reçois bien le mail de la newsletter en mode preview malgré cette erreur.

Merci
Loic

Hors ligne

#2 14-12-2016 17:09:05

Arnaud
Administrateur

Re : [Résolu] Problème après mail mode preview

Bonjour Loic,

Par hasard, le mode développement ne serait pas activé ? Si oui, alors remettre en mode production dans les paramètres, environnement.

Tiens nous au courant  wink


Je prends le temps de créer un outil pour tous, de niveau professionnel, mais simple !
Il n'est pas encore parfait, soyez indulgents, ça vient...
Si vous avez des questions, n'hésitez pas ! Mais soyez précis pour une réponse plus rapide  wink

Hors ligne

#3 14-12-2016 17:53:53

ciol63
Membre

Re : [Résolu] Problème après mail mode preview

Non je suis bien en production

Dernière modification par ciol63 (14-12-2016 17:59:31)

Hors ligne

#4 14-12-2016 17:59:17

ciol63
Membre

Re : [Résolu] Problème après mail mode preview

Par contre ne sachant pas si c'est lié lors de la mise à jour j'ai eu ces messages tous à la suite (que j'ai copiés collés au cas ou) mais j'ai quand même eu le message de réussite de la mise à jour

Warning: file_put_contents(..pmn2/css/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/images/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/db/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/db/PDOExtended/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/lang/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/lib/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/lib/ConvertTables/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/lib/Net/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/lib/Net/DNS/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/lib/Net/DNS/RR/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/include/php/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/Chart.js/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/exporting/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/images/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/lang/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/patterns/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/patterns/black/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/patterns/chalk/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/patterns/white/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/plugins/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/plugins/export/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/plugins/responsive/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/plugins/responsive/examples/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/plugins/responsive/examples/images/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/amcharts/themes/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/langs/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/advlist/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/anchor/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/autolink/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/autoresize/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/autosave/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/bbcode/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/charmap/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/code/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/colorpicker/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/contextmenu/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/directionality/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/emoticons/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/emoticons/img/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/example/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/example_dependency/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/config/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/css/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/img/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/img/ico/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/img/ico_dark/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/include/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/jPlayer/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/jPlayer/add-on/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/jPlayer/popcorn/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/jPlayer/skin/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/jPlayer/skin/blue.monday/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/js/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/lang/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/filemanager/uploader/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/fullpage/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/fullscreen/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/hr/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/image/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/importcss/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/insertdatetime/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/layer/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/legacyoutput/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/link/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/lists/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/media/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/nonbreaking/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/noneditable/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/pagebreak/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/paste/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/preview/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/print/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/save/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/searchreplace/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/spellchecker/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/tabfocus/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/table/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/template/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/textcolor/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/textpattern/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/visualblocks/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/visualblocks/css/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/visualchars/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/plugins/wordcount/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/skins/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/skins/lightgray/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/skins/lightgray/fonts/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/skins/lightgray/img/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/themes/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/js/tinymce/themes/modern/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/logs/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/libs/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/libs/FileSaver.js/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/libs/fabric.js/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/libs/jszip/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/libs/pdfmake/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/libs/xlsx/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/plugins/export/shapes/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66
Warning: file_put_contents(..pmn2/upload/): failed to open stream: Is a directory in ..pmn2/upgrade.php on line 66

Hors ligne

#5 14-12-2016 19:19:37

Arnaud
Administrateur

Re : [Résolu] Problème après mail mode preview

C'est quoi ton hébergement stp ??
Visiblement problème de droits en écriture...
Précise tout : mutu, dédié, os, etc...


Je prends le temps de créer un outil pour tous, de niveau professionnel, mais simple !
Il n'est pas encore parfait, soyez indulgents, ça vient...
Si vous avez des questions, n'hésitez pas ! Mais soyez précis pour une réponse plus rapide  wink

Hors ligne

#6 14-12-2016 19:41:47

ciol63
Membre

Re : [Résolu] Problème après mail mode preview

hébergement mutualisé
OVH
Mac OS
PHP Version 5.6.21

Hors ligne

#7 14-12-2016 20:10:53

Arnaud
Administrateur

Re : [Résolu] Problème après mail mode preview

Je voulais dire l'hébergement : linux donc...

En fait, ton installation n'a pas fonctionné correctement...
Tu peux vérifier que tu as le répertoire pmn2/include/php/ et me dire ce qu'il y a dedans comme fichiers stp ?
Me donner également les droits qui sont sur le répertoire parent de ton installation, et les droits sur le répertoire pmn2


Je prends le temps de créer un outil pour tous, de niveau professionnel, mais simple !
Il n'est pas encore parfait, soyez indulgents, ça vient...
Si vous avez des questions, n'hésitez pas ! Mais soyez précis pour une réponse plus rapide  wink

Hors ligne

#8 14-12-2016 20:32:09

ciol63
Membre

Re : [Résolu] Problème après mail mode preview

j'ai 3 fichiers
_actions.php
_vars.php
index.php

pour les droits du fichiers pmn2 et parents j'ai la valeur 705 c'est bien cela que tu me demandes ?  smile

Merci
Loic

Hors ligne

#9 14-12-2016 21:11:36

Arnaud
Administrateur

Re : [Résolu] Problème après mail mode preview

Ok je cherche je te tiens au courant
Demain je pense.


Je prends le temps de créer un outil pour tous, de niveau professionnel, mais simple !
Il n'est pas encore parfait, soyez indulgents, ça vient...
Si vous avez des questions, n'hésitez pas ! Mais soyez précis pour une réponse plus rapide  wink

Hors ligne

#10 14-12-2016 21:30:23

ciol63
Membre

Re : [Résolu] Problème après mail mode preview

je te remercie

Hors ligne

#11 15-12-2016 11:11:01

Arnaud
Administrateur

Re : [Résolu] Problème après mail mode preview

J'ai trouvé, et en fait ce n'est rien !
Tu as sous les yeux les lignes 122 à 130 d'un prémice de la 2.0.5 qui comportera des champs revalorisables (liens, nom, prénom, état civil, etc...)

A supprimer :

            $url_survey = 'appliance/contact-form-arcserve.php?h=fake_hash&list_id='.$list_id.'&email_addr='. $addr[$i]['email'];
            $message = str_replace( '{{URL_SURVEY}}' , $url_survey , $message );
            /*
            $body .= "<html><head></head><body>";
            $body .= "<div align='center' style='font-size:10pt;font-family:arial,helvetica,sans-serif;padding-bottom:5px;color:#878e83;'>";
            $body .= tr("READ_ON_LINE", "<a href='".$row_config_globale['base_url'].$row_config_globale['path']."online.php?i=$msg_id&list_id=$list_id&email_addr=".$addr."&h=fake_hash'>")."<br />";
            $body .= tr("ADD_ADRESS_BOOK", $newsletter['from_addr'])."<br />";
            $body .= "<hr noshade='' color='#D4D4D4' width='90%' size='1'></div>";
            */

Tu supprimes les lignes 122 à 130 tout simplement.
Ce qui évitera l'envoi d'un message à l'écran, et donc cela permettra le header tranquille de la lgine 163.
Le souci des "Warning: file_put_contents", ce n'est rien, je vais le gérer de mon coté.

Tiens moi au courant


Je prends le temps de créer un outil pour tous, de niveau professionnel, mais simple !
Il n'est pas encore parfait, soyez indulgents, ça vient...
Si vous avez des questions, n'hésitez pas ! Mais soyez précis pour une réponse plus rapide  wink

Hors ligne

#12 15-12-2016 18:16:35

ciol63
Membre

Re : [Résolu] Problème après mail mode preview

O top !! tout fonctionne merci encore Arnaud pour ta réactivité (la compétence aussi bien sur)  smile

Loic

Hors ligne

#13 15-12-2016 21:32:11

Arnaud
Administrateur

Re : [Résolu] Problème après mail mode preview

Avec plaisir bien sûr  wink


Je prends le temps de créer un outil pour tous, de niveau professionnel, mais simple !
Il n'est pas encore parfait, soyez indulgents, ça vient...
Si vous avez des questions, n'hésitez pas ! Mais soyez précis pour une réponse plus rapide  wink

Hors ligne

Pied de page des forums

Propulsé par FluxBB