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 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

The problem with question marks however is still present.
I've got an idea. Could we perhaps specify the page encoding with meta tag in compose stage? Because in phpmyadmin I see ??? for all of the russian text entered during the compose stage. While list settings are now stored in actual russian in the database.

#2 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

I placed .htaccess with the following code into the root folder of the new installation and it fixed the issue with question marks instead of russian letters inside the admin panel:

AddDefaultCharset UTF-8

I'll test capital "p"'s now.

#3 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

Name of the list is all ??? in phpmyadmin.
Sender name is ok, since I tried to type it in phpmyadmin directly in russian.

Many thanks for your persistance, Arnaud! For now we're auto-replacing all russian capital "Р"'s with english capital "P"'s for our current newsletters smile
But the whole problem with p's and russian encodings is very intriguing.
Please excuse me, but I have to take a small break for now, since the work time is nearly over.
Keeping in touch!

#4 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

Made the separate new installation of PMN 2.0.4. All tables are manually turned into cp1251_general_ci in phpmyadmin. Line 14 of db_connector.inc.php now looks like:

            $cnx->query("SET NAMES CP1251");

In PMN's global configuration section encoding is set to windows-1251. Whenever I save some text in russian e.g. list name, I get all characters shown as ??? in PMN.

Tried to type in russian sender name directly into phpmyadmin, looks even more puzzling:
1491399215_.png

#5 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

In phpmyadmin the "Comparison" column for all PMN tables is set to "utf8_general_ci". The default value for new tables in this database is "cp1251_general_ci".
For our old site all tables (in separate base) are set to "cp1251_general_ci".
The type is always "MyISAM", if that's important.

#6 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

Ok, I've selected windows-1251, checked mail encoding. The result looked ok in phpmynewsletter, however in test mailbox it looked like (see the image).
1491392038_---.png
I believe, that's because most of the mail services default to utf-8 these days. And when sending in utf-8 (both with mail encoding and without mail encoding) this capital "Р" becomes corrupted. According to http://jrgraphix.net/r/Unicode/0400-04FF it is number 0420, if this information may be of any use.
I have one more clue myself: this may be connected to the way MySQL database handles the storing of russian text, but I'm not competent in these things.
Thanks!

#7 Re : Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

Thanks, Arnaud!

We've upgraded the php just like you said, and the installation went OK.
Well, phpmynewsletter works like a charm, but we have a very strange bug.
There's one particular letter in russian alphabet, "Р", graphical analogue in latin: P. It looks totally fine in every preview inside phpmynewsletter, but when the preview actually arrives to the test mailbox, all such letters turn into either question marks, or disappear completely from the text.
This thing only happens to this single letter in russian alphabet, not any other one. Moreover, it happens only to the capitalised version of it.
Do you have any ideas what may be the cause of this?

Many thanks in advance!

#8 Support général » [Résolu] Installation problem » 06-04-2017 12:39:03

noircat
Réponses : 15

Hello,

The demo seemed great, but when I try to install phpMyNewsletter 2.0.4 on my site, I get the following error:

Parse error: syntax error, unexpected T_FUNCTION in /home/u202132/[...]/www/newsletter/include/lib/pmn_fonctions.php on line 115

I use personal hosting, the OS is Linux I believe. Php version 5.2, mysql 5.6. Any advice?
Thanks in advance!

*Sorry for not using french*

Pied de page des forums

Propulsé par FluxBB