framadate issueshttps://framagit.org/framasoft/framadate/framadate/-/issues2024-03-11T08:47:49Zhttps://framagit.org/framasoft/framadate/framadate/-/issues/553Creating Date Poll results in "white screen"2024-03-11T08:47:49Zkangaroo72Creating Date Poll results in "white screen"Dear all,
Apologize, but I'm not an expert with these things, but I would be very happy to get it back to work...
I'm running nginx 1.21 on Ubuntu 20.04LTS with PHP 8.0.5.
I can configure the poll, but when I confirm, nginx logs the foll...Dear all,
Apologize, but I'm not an expert with these things, but I would be very happy to get it back to work...
I'm running nginx 1.21 on Ubuntu 20.04LTS with PHP 8.0.5.
I can configure the poll, but when I confirm, nginx logs the following...
`2021/06/27 00:22:13 [error] 2725624#2725624: *12724 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "PHPMailer\PHPMailer\FILTER_FLAG_HOST_REQUIRED" in /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php:3599
Stack trace:
#0 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(3565): PHPMailer\PHPMailer\PHPMailer::isValidHost()
#1 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(2304): PHPMailer\PHPMailer\PHPMailer->serverHostname()
#2 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(1421): PHPMailer\PHPMailer\PHPMailer->createHeader()
#3 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(1316): PHPMailer\PHPMailer\PHPMailer->preSend()
#4 /var/www/framadate/app/classes/Framadate/Services/MailService.php(58): PHPMailer\PHPMailer\PHPMailer->send()
#5 /var/www/framadate/create_date_poll.php(239): Framadate\Services\MailService->send()
#6 {main}
thrown in /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 3599" while reading response header from upstream, client: 93.215.83.135, server: date.escher.cc, request: "POST /create_date_poll.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "date.escher.cc"`
Maybe someone can help me troubleshooting??
Thanks a lothttps://framagit.org/framasoft/framadate/framadate/-/issues/536Emoji Support2022-10-17T04:43:04ZAndreas KosmowiczEmoji SupportHave you ever tried to enter emojis in your "name" field?
Actually I did try it. At least entering 1 emoji as my name led to a 500 on the system `https://nuudel.digitalcourage.de/`.
Might be a general issue in framadate?Have you ever tried to enter emojis in your "name" field?
Actually I did try it. At least entering 1 emoji as my name led to a 500 on the system `https://nuudel.digitalcourage.de/`.
Might be a general issue in framadate?https://framagit.org/framasoft/framadate/framadate/-/issues/492Missing input form in create_poll.php when using RemoteUser env var2020-01-30T17:52:51ZPatrickMissing input form in create_poll.php when using RemoteUser env varHello,
I use REMOTE_USER which is correctly set (LOG apache2 show this and a PHP test too) but create pool form is not displayed !
see attached screenshot : [framadate-REMOTE_USER](/uploads/093fce6544e6e53a3c6d79f1028de54f/framadate-...Hello,
I use REMOTE_USER which is correctly set (LOG apache2 show this and a PHP test too) but create pool form is not displayed !
see attached screenshot : [framadate-REMOTE_USER](/uploads/093fce6544e6e53a3c6d79f1028de54f/framadate-REMOTE_USER.PNG)
And I do not understand where env VAR REMOTE_USER is read in the source code, it's just tested once to check it exist, but I do not see anywhere it's used :
`create_poll.php:$useRemoteUser = USE_REMOTE_USER && isset($_SERVER['REMOTE_USER']);`
many thanks for your helphttps://framagit.org/framasoft/framadate/framadate/-/issues/474smtp use, error2020-02-05T15:41:00ZDavidsmtp use, errorBonjour,
Mon instance : https://sondage.retzien.fr tourne bien mais j'ai dû désactivé l'utilisation du SMTP. Parce que quand je l'active j'ai une erreur dans les logs :
```
[Thu Nov 21 20:38:00.817072 2019] [proxy_fcgi:error] [pid 475...Bonjour,
Mon instance : https://sondage.retzien.fr tourne bien mais j'ai dû désactivé l'utilisation du SMTP. Parce que quand je l'active j'ai une erreur dans les logs :
```
[Thu Nov 21 20:38:00.817072 2019] [proxy_fcgi:error] [pid 4750] [client 109.190.200.24:53602] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: SMTP Error: Could not connect to SMTP host. in /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php:1898\nStack trace:\n#0 /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php(1725): PHPMailer\\PHPMailer\\PHPMailer->smtpConnect(Array)\n#1 /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php(1481): PHPMailer\\PHPMailer\\PHPMailer->smtpSend('Date: Thu, 21 N...', 'This is a multi...')\n#2 /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#3 /var/www/sondage/app/classes/Framadate/Services/MailService.php(58): PHPMailer\\PHPMailer\\PHPMailer->send()\n#4 /var/www/sondage/create_date_poll.php(237): Framadate\\Services\\MailService->send('david@mercereau...', '[Sondage / Rend...', 'Ce message ne d...')\n#5 {main}\n thrown in /var/www/sondage/vendo...\n', referer: https://sondage.retzien.fr/create_date_poll.php
```
Cette erreur se produit à la dernière étape de la création du sondage (après ajout de la date d'expiration) sur la page create_date_poll.php.
Version framadate : 1.1.10
PHP : 7.0
Debian 9
Ma config :
```
$config = [
/* general config */
'use_smtp' => false, // use email for polls creation/modification/responses notification
'smtp_options' => [
'host' => 'localhost', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator
'auth' => false, // Enable SMTP authentication
'username' => '', // SMTP username
'password' => '', // SMTP password
'secure' => '', // Enable encryption (false, tls or ssl)
'port' => 25, // TCP port to connect to
],
```
Je précise que le serveur SMTP fonctionne bien sur le port 25... :
> telnet localhost 25
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> 220 srvweb.retzien.net ESMTP Postfix (Debian/GNU)
Est-ce que vous avez une idée qui me permettrai d'avancé ?
Belle journée,
David
P.S. J'ai testé avec la vesrion 1.2 mais sans plus de succès, je n'ai pas cette erreur mais je ne reçois aucun mail... rien dans les log de mails donc même pas une tentative de connexion... (et j'ai remarqué d'autres bug étrange dans la 1.2, certainement dû au côté Alpha...)https://framagit.org/framasoft/framadate/framadate/-/issues/448PHPMailer crash after unsuccessful email dispatch2019-07-02T09:53:11ZCryptGoatPHPMailer crash after unsuccessful email dispatchOS: Debian 9
FramaDate ver: 1.1.10
The PHPMailer crashes and the poll cannot be created if an email address is used that PHPMailer/FramaDate cannot send a mail to (mail server response: "554 5.7.0 Reject, id=22658-03 - spam"). Moving on...OS: Debian 9
FramaDate ver: 1.1.10
The PHPMailer crashes and the poll cannot be created if an email address is used that PHPMailer/FramaDate cannot send a mail to (mail server response: "554 5.7.0 Reject, id=22658-03 - spam"). Moving on from step 3 during the poll creating process then results in a blank page with out error message (after "Removal date and confirmation (3 of 3)"). See attached log file.
[framasoft_bug_apache_error.log](/uploads/84eaf07b84143114733241c15f3c4839/framasoft_bug_apache_error.log)https://framagit.org/framasoft/framadate/framadate/-/issues/446Rephrase expiration poll step2019-07-02T10:17:07ZGhost UserRephrase expiration poll stepPlease add an option to *delete* polls instead of archiving them. Consider even making "delete" the default.
Currently polls are archived after some time - which means they stay "forever". But often polls don't need to be archived, esp....Please add an option to *delete* polls instead of archiving them. Consider even making "delete" the default.
Currently polls are archived after some time - which means they stay "forever". But often polls don't need to be archived, esp. those for scheduling an event. These can simply be delete after being closed.
Additionally, the GDPR requires a retention policy, which means: For those who are subject of GDPR there has to be an way to delete the poll.https://framagit.org/framasoft/framadate/framadate/-/issues/436CSV export: non answered is reported as "No"2019-09-06T07:12:38ZJackDesBwaCSV export: non answered is reported as "No"CSV export do not differentiate between an negative answer and an absence of answer. This make it unpracticable to analyze the poll with these exported results.
Procedure to reproduce: Create a poll, add an incomplete line (some choices...CSV export do not differentiate between an negative answer and an absence of answer. This make it unpracticable to analyze the poll with these exported results.
Procedure to reproduce: Create a poll, add an incomplete line (some choices answered, some not answered), export as CSV
Observed: the dates/choices whose user has not answered are reported as "No"
Expected: these choices should be different than "No", for example "Not answered"
Version: Seen on framadate.org, 2019-05-12 (do not know which version it is)
Example: https://framadate.org/SF4ilvJp9G9WQJxo (valid until 2019-12-31)https://framagit.org/framasoft/framadate/framadate/-/issues/431Handle poll end date properly2019-04-19T12:05:03ZThomasthomas.citharel@framasoft.orgHandle poll end date properly- [ ] Parse date correctly
- [ ] Use a [DateInterval](https://secure.php.net/manual/en/class.dateinterval.php)
The following discussion from !383 should be addressed:
- [ ] @tcit started a [discussion](https://framagit.org/framasoft/fr...- [ ] Parse date correctly
- [ ] Use a [DateInterval](https://secure.php.net/manual/en/class.dateinterval.php)
The following discussion from !383 should be addressed:
- [ ] @tcit started a [discussion](https://framagit.org/framasoft/framadate/framadate/merge_requests/383#note_401567):
> This way of handling dates is absolutely disgusting. 🤢https://framagit.org/framasoft/framadate/framadate/-/issues/430When posting a Comment, the page is not reloaded2019-04-19T10:26:31ZPierre de La MorinerieWhen posting a Comment, the page is not reloaded1. Write a comment
2. Click on "Send comment"
3. Nothing happens. The page is not reloaded.
The comment is actually posted, but nothing shows it.1. Write a comment
2. Click on "Send comment"
3. Nothing happens. The page is not reloaded.
The comment is actually posted, but nothing shows it.https://framagit.org/framasoft/framadate/framadate/-/issues/429When submitting a vote, an "Notice: Undefined property: stdClass::$uniqId in ...2019-04-18T13:58:47ZPierre de La MorinerieWhen submitting a vote, an "Notice: Undefined property: stdClass::$uniqId in Services/PollService.php on line 260" error occursThe vote is properly registered, but there is a nasty error message polluting the page.The vote is properly registered, but there is a nasty error message polluting the page.https://framagit.org/framasoft/framadate/framadate/-/issues/426Navigation clavier sur le formulaire de vote2019-04-17T15:03:31ZAyMNavigation clavier sur le formulaire de voteLors du vote il n’est pas possible de sélectionner au clavier les boutons radio oui/no/si nécessaire parce que l’input par défaut n’est pas défini.
Ça fonctionne en revanche lorsque on modifie un vote existant.
Démo (observer le focus c...Lors du vote il n’est pas possible de sélectionner au clavier les boutons radio oui/no/si nécessaire parce que l’input par défaut n’est pas défini.
Ça fonctionne en revanche lorsque on modifie un vote existant.
Démo (observer le focus clavier lorsqu’il n’y a pas d’action à la souris) :
![framadate-keyboard-navigation](/uploads/24a68558a9ece42aa7108133c6b09da7/framadate-keyboard-navigation.gif)
Le bug a probablement été introduit lorsqu’il est devenu possible de ne pas sélectionner de choix (cases bleues vides).https://framagit.org/framasoft/framadate/framadate/-/issues/420Encoding issues2019-04-16T10:01:46ZThomasthomas.citharel@framasoft.orgEncoding issuesList of issues
- https://framagit.org/framasoft/framadate/framadate/issues/416
- https://framagit.org/framasoft/framadate/framadate/issues/126
Maybe https://framagit.org/framasoft/framadate/framadate/issues/384List of issues
- https://framagit.org/framasoft/framadate/framadate/issues/416
- https://framagit.org/framasoft/framadate/framadate/issues/126
Maybe https://framagit.org/framasoft/framadate/framadate/issues/384https://framagit.org/framasoft/framadate/framadate/-/issues/416Problème encodage mail de notification de suppression2019-04-16T11:16:09Zb_bProblème encodage mail de notification de suppressionSalut, dans la lignée de #126 & #375 il reste un problème d'encodage dans le mail envoyé à la personne qui a créé le sondage lors de la suppression de celui-ci, exemple avec le titre de sondage suivant `test accentué ÉÀÇÈéàçè` on obtient...Salut, dans la lignée de #126 & #375 il reste un problème d'encodage dans le mail envoyé à la personne qui a créé le sondage lors de la suppression de celui-ci, exemple avec le titre de sondage suivant `test accentué ÉÀÇÈéàçè` on obtient ceci dans le mail `Quelqu'un·e vient de supprimer votre sondage "test accentu� ��������".`
Je me demande s'il ne faudrait pas remplacer `Utils::htmlEscape($poll->title))` par `$poll->title` ici https://framagit.org/framasoft/framadate/framadate/blob/develop/app/classes/Framadate/Services/NotificationService.php#L73, vos avis ?https://framagit.org/framasoft/framadate/framadate/-/issues/388Mail delivery without authentication and encryption not working2018-11-12T07:49:50Zmt7479Mail delivery without authentication and encryption not workingI have a local installation of postfix configured to relay mail.
I've modified my config like this:
```
'auth' => false, // Enable SMTP authentication
'username' => '', // SMTP usern...I have a local installation of postfix configured to relay mail.
I've modified my config like this:
```
'auth' => false, // Enable SMTP authentication
'username' => '', // SMTP username
'password' => '', // SMTP password
'secure' => false, // Enable encryption (false, tls or ssl)
'port' => 25,
```
but Framadate still tries to send the mail with encryption:
```
cat /var/log/mail.log
Nov 11 21:52:15 xxx postfix/smtpd[7125]: lost connection after STARTTLS from localhost[127.0.0.1]
Nov 11 21:52:15 xxx postfix/smtpd[7125]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=1 commands=2
```
I tried enclosing false in quotes without success.https://framagit.org/framasoft/framadate/framadate/-/issues/384Lors d'ajout de colonne, les virgules sont transformées en tiret dans le titre2019-04-15T13:16:50ZThierry MunozLors d'ajout de colonne, les virgules sont transformées en tiret dans le titreBonjour,
J'ai remarqué que lorsque je rajoute une colonne à un sondage existant (sondage classique), le texte initial a les virgules transformées en tirets. Ceci n'arrive pas lors de la création.
Voici par exemple le titre que j'insère ...Bonjour,
J'ai remarqué que lorsque je rajoute une colonne à un sondage existant (sondage classique), le texte initial a les virgules transformées en tirets. Ceci n'arrive pas lors de la création.
Voici par exemple le titre que j'insère : `[Samedi 17/11/2018 : Sortie 8, Lagrasse-Ribaute, 1/2 journée](https://ornaisonskayak.com/event/sortie-8-lagrasse-%e2%9e%aa-ribaute)`
Et voici ce qui apparaît :![Sélection_812](/uploads/de69dea95ca97b076fc9c1e264ce06f6/Sélection_812.png)
En rouge sont entourés les tirets qui auraient dû être des virgules.
Cordialement,
Thierryhttps://framagit.org/framasoft/framadate/framadate/-/issues/369Template syntax error when creating a poll2018-09-11T13:51:42ZMarc KarassevTemplate syntax error when creating a pollError:
`Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/var/www/framadate/tpl/create_poll_step_3.tpl" on line 36 "<p>{__('Step 3', 'Once you have confirmed the creation of your poll, you will automatically be ...Error:
`Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/var/www/framadate/tpl/create_poll_step_3.tpl" on line 36 "<p>{__('Step 3', 'Once you have confirmed the creation of your poll, you will automatically be redirected to the poll's administration page.')}</p>" - Unexpected "s", expected one of: "","" , ")" <-- thrown in /var/www/framadate/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 36`
Steps to reproduce:
- checkout ´develop´ branch
- run `docker-compose up`
- go to `localhost`
- create whatever poll type
- go to poll creation step 3https://framagit.org/framasoft/framadate/framadate/-/issues/357Framadate crashed on poll creation when PHPMailer send mail to localhost serv...2018-07-30T14:12:24ZChristian P. MOMONchristian.momon@devinsy.frFramadate crashed on poll creation when PHPMailer send mail to localhost server which is no TLS**Context**
* Framadate 1.1.7
* PHPMail 6.0.5
* local SMTP Server with NO TLS on Debian Stretch
* config.php :
* 'use_smtp' => true,
* 'smtp_options' => [
* 'host' => 'localhost',
* 'auth' => false,
* 'username' => '',
...**Context**
* Framadate 1.1.7
* PHPMail 6.0.5
* local SMTP Server with NO TLS on Debian Stretch
* config.php :
* 'use_smtp' => true,
* 'smtp_options' => [
* 'host' => 'localhost',
* 'auth' => false,
* 'username' => '',
* 'password' => '',
* 'secure' => false,
* 'port' => 25,
**Problem**
On last step of poll creation, Framadate crashed (empty page in browser) when sending mails.
Apache logs:
```
PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: SMTP Error: Could not connect to SMTP host. in /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php:1900
Stack trace:
#0 /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php(1725): PHPMailer\\PHPMailer\\PHPMailer->smtpConnect(Array)
#1 /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php(1481): PHPMailer\\PHPMailer\\PHPMailer->smtpSend('Date: Sun, 29 J...', 'This is a multi...')
#2 /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()
#3 /var/www/date.chapril.org/app/classes/Framadate/Services/MailService.php(58): PHPMailer\\PHPMailer\\PHPMailer->send()
#4 /var/www/date.chapril.org/create_date_poll.php(226): Framadate\\Services\\MailService->send('cmomon@april.or...', '[date.chapril][...', 'Ce message ne d...')
#5 {main}
th
```
Syslog:
```
Jul 29 15:30:07 lamp postfix/smtpd[32461]: connect from localhost[127.0.0.1]
Jul 29 15:30:07 lamp postfix/smtpd[32461]: lost connection after STARTTLS from localhost[127.0.0.1]
Jul 29 15:30:07 lamp postfix/smtpd[32461]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=1 commands=2
```
The problem seems to come from PHPMailer configuration.
Watching PHPMailer.php file at line 270:
```
/**
* Whether to enable TLS encryption automatically if a server supports it,
* even if `SMTPSecure` is not set to 'tls'.
* Be aware that in PHP >= 5.6 this requires that the server's certificates are valid.
*
* @var bool
*/
public $SMTPAutoTLS = true;
```
Watching PHPMailer.php file at line 1898:
```
//Automatically enable TLS encryption if:
// * it's not disabled
// * we have openssl extension
// * we are not already using SSL
// * the server offers STARTTLS
if ($this->SMTPAutoTLS and $sslext and 'ssl' != $secure and $this->smtp->getServerExt('STARTTLS')) {
$tls = true;
}
if ($tls) {
if (!$this->smtp->startTLS()) {
throw new Exception($this->lang('connect_host'));
}
// We must resend EHLO after TLS negotiation
$this->smtp->hello($hello);
}
```
So, the PHPMailer comments say that TLS is used if available, and so we hope/wait that it will work without TLS if it is not available. But the source code throws an exception if the TLS try failed. There is no alternative: TLS or throw. Why force TLS?
Is-it a PHPMailer bug???
The consequence is: **Framadate + SMTP localhost server + NO TLS => FAILED**.
**Suggestions**
First, open an issue on the PHPMailer project.
Second, add an option parameter in config.php file to make possible to set the `$mail->SMTPAutoTLS = false` in MailService.php file.
Currently, I have to modify the Framadate MailService.php file to force SMTPAutoTLS to false:
```
private function configureMailer(PHPMailer $mailer) {
$mailer->isSMTP();
$mailer->SMTPAutoTLS = false; // <-- Temporary fix from Cpm 2018-07-29
```https://framagit.org/framasoft/framadate/framadate/-/issues/345Comments not working on release 1.1.42018-07-09T13:56:24ZThomasthomas.citharel@framasoft.orgComments not working on release 1.1.4*This issue was originally at https://github.com/framasoft/framadate/issues/69*
Someone achieve to make comments working ?
When I click on submit nothing happens and no error in script..
The rest is ok ;)
Example url : https://coopeco-...*This issue was originally at https://github.com/framasoft/framadate/issues/69*
Someone achieve to make comments working ?
When I click on submit nothing happens and no error in script..
The rest is ok ;)
Example url : https://coopeco-supermarche.be/framadate/studs.php?poll=WvYNfXwuS6r4jEKm&user=Nicolas%20Jourdain&id=189
Have a nice dayhttps://framagit.org/framasoft/framadate/framadate/-/issues/317Requête externe depuis l'éditeur markdown avancé2018-04-15T10:26:34ZRomain DessortRequête externe depuis l'éditeur markdown avancéL'éditeur markdown avancé pour la création des sondages (simplemde) fait une requête externe sur https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css pour Font Awesome.
[Il semble être possible](https://github.com...L'éditeur markdown avancé pour la création des sondages (simplemde) fait une requête externe sur https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css pour Font Awesome.
[Il semble être possible](https://github.com/sparksuite/simplemde-markdown-editor#configuration) de lui dire de ne pas le faire si le css est déjà présent localement.
Ça semble lié à cette issue #264 mais comme elle est assez générique j'ai ouvert celle-ci. N'hésite pas à la fermer si elle fait doublon.Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/252Year 2018 is seen as -0001 in the expiration date2018-02-18T22:24:57ZSolarusYear 2018 is seen as -0001 in the expiration dateHi everyone.
There must be a problem with timestamp because 2018 is displayed as -0001 in the expiration date.
Other dates are working properly.
[opensondage](/uploads/557011c103109119ef082d547ed16c96/opensondage.png)
Thanks for your h...Hi everyone.
There must be a problem with timestamp because 2018 is displayed as -0001 in the expiration date.
Other dates are working properly.
[opensondage](/uploads/557011c103109119ef082d547ed16c96/opensondage.png)
Thanks for your help.!