framadate issueshttps://framagit.org/framasoft/framadate/framadate/-/issues2023-01-13T08:27:09Zhttps://framagit.org/framasoft/framadate/framadate/-/issues/596Which file creates the config.php2023-01-13T08:27:09ZSundoriusWhich file creates the config.phpHello, I need to add a line for a default value of a duration I added, and I can't find where the file "config.php" is created.
I need this information, so when I install framadate on a computer to be able to have that value automatically.Hello, I need to add a line for a default value of a duration I added, and I can't find where the file "config.php" is created.
I need this information, so when I install framadate on a computer to be able to have that value automatically.https://framagit.org/framasoft/framadate/framadate/-/issues/580missing name and mail input field2022-05-15T15:08:18ZTealkmissing name and mail input fieldHello
I have reinstalled framadate today and when creating an entry the first 2 input fields are missing
https://poll.rollenspiel.monster/create_poll.php?type=date
![image](/uploads/8440252e5b4c59c98f02fbd141c6c1a8/image.png)
- Nginx 1...Hello
I have reinstalled framadate today and when creating an entry the first 2 input fields are missing
https://poll.rollenspiel.monster/create_poll.php?type=date
![image](/uploads/8440252e5b4c59c98f02fbd141c6c1a8/image.png)
- Nginx 1.18.0-6.1
- php8.1-fpm
- mariadb 1:10.5.15-0+deb11u1https://framagit.org/framasoft/framadate/framadate/-/issues/579cannot start framadate2022-05-03T07:34:51Zmontanavikingcannot start framadateFresh installation of framadate gives server error on localhost
Apache2 error log:
[php7:error] [pid 13598] [client ::1:58536] PHP Fatal error: require_once(): Failed opening required '/var/www/framadate/app/inc/../../vendor/autoload.ph...Fresh installation of framadate gives server error on localhost
Apache2 error log:
[php7:error] [pid 13598] [client ::1:58536] PHP Fatal error: require_once(): Failed opening required '/var/www/framadate/app/inc/../../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/framadate/app/inc/init.php on line 24
Running Ubuntu 18.04
Apache 2.4.29
MySQL 5.7.37
PHP: 7.2.24
Thanks for advice!
Philhttps://framagit.org/framasoft/framadate/framadate/-/issues/576How to customize the homepage? (index.tpl)2022-03-20T10:39:01ZValerio BozzolanHow to customize the homepage? (index.tpl)Hi all! :smile:
I was trying to improve the wiki:
https://framagit.org/framasoft/framadate/framadate/-/wikis/home
But I see that in the documentation I cannot find a way to customize the Framadates's homepage for example to add a link...Hi all! :smile:
I was trying to improve the wiki:
https://framagit.org/framasoft/framadate/framadate/-/wikis/home
But I see that in the documentation I cannot find a way to customize the Framadates's homepage for example to add a link to the privacy policy and GDPR.
Has anyone customized the homepage? How did you do it?
As workaround I'm changing `./tpl/index.tpl` directly in production after cleaning `./tpl_c` but maybe this is not a good idea. Thank you for your clarification!https://framagit.org/framasoft/framadate/framadate/-/issues/575Framadate behind Reverse Proxy with SSL Offloading: wrong links with http only2022-03-21T09:23:37ZAxel KleppingFramadate behind Reverse Proxy with SSL Offloading: wrong links with http onlyHi!
I'm trying to get Framadate to work with Apache (http) behind an Citrix ADC (Netscaler) Load Balancer/Reverse Proxy, which does all the SSL offloading stuff (https to the user).
Unfortunatly all links generated e.g. for style sheets...Hi!
I'm trying to get Framadate to work with Apache (http) behind an Citrix ADC (Netscaler) Load Balancer/Reverse Proxy, which does all the SSL offloading stuff (https to the user).
Unfortunatly all links generated e.g. for style sheets are http only, so modern browsers don't load these files because of mixed content.
`
<link rel="stylesheet" href="http://framadate.myserver.org/css/bootstrap.min.css">
<link rel="stylesheet" href="http://framadate.myserver.org/css/datepicker3.css">
<link rel="stylesheet" href="http://framadate.myserver.org/css/style.css">
<link rel="stylesheet" href="http://framadate.myserver.org/css/frama.css">
<link rel="stylesheet" href="http://framadate.myserver.org/css/print.css" media="print">
<link rel="stylesheet" href="http://framadate.myserver.org/css/fork-awesome.min.css">
<script src="http://framadate.myserver.org/js/jquery-3.6.0.min.js"></script>
<script src="http://framadate.myserver.org/js/bootstrap.min.js"></script>
<script src="http://framadate.myserver.org/js/bootstrap-datepicker.js"></script>
<script src="http://framadate.myserver.org/js/locales/bootstrap-datepicker.de.js"></script>
<script src="http://framadate.myserver.org/js/core.js"></script>
`
Of course I can write a rewrite rule on the Load Balancer to replace all http with https links, but isn't there an (undocumented?) option to tell Framadate to generate only https links? That would be much easier and should work with all other reverse proxys as well!?
Thx in advance...
Axelhttps://framagit.org/framasoft/framadate/framadate/-/issues/564Create pool : Delay 10 secondes2021-11-09T09:20:20ZcoucouCreate pool : Delay 10 secondesBonjour,
En francais :
J'ai framadate depuis la release de 2017 et j'ai décidé de faire la dernière mise à jour sur un nouveau serveur.
Tout s'est globalement bien passé, mais je constate une lenteur comparée à l'ancienne version.
La le...Bonjour,
En francais :
J'ai framadate depuis la release de 2017 et j'ai décidé de faire la dernière mise à jour sur un nouveau serveur.
Tout s'est globalement bien passé, mais je constate une lenteur comparée à l'ancienne version.
La lenteur se situe à la dernière étape, au moment de cliquer sur "Create pool", il y a environ 10 secondes de délai pour obtenir les liens du sondage.
A l'installation de la nouvelle version, j'ai remarqué qu'il faut obligatoirement configuré le smtp dans le config.php pour que ça fonctionne. J'ai l'impression que framadate attend d'envoyer le mail avant d'accéder à la prochaine page. Est-ce un problème de phpmailer ?
Sur l'ancienne release, j'utilisais exim4 et il n'y avait aucune lenteur. Est-ce possible d'utiliser exim4 sur la nouvelle version ?
english google traduction
I have framadate since the 2017 release and decided to do the last update on a new server.
Everything went well overall, but I notice a slowness compared to the old version.
The slowness is at the last step, when clicking on "Create a pool", there is about 10 seconds of delay to obtain the links of the survey.
When installing the new version, I noticed that it is mandatory to configure the smtp in the config.php for it to work. I have the impression that framadate is waiting to send the email before going to the next page. Is this a phpmailer problem?
On the old version, I was using exim4 and there was no slowness. Is it possible to use exim4 on the new version?https://framagit.org/framasoft/framadate/framadate/-/issues/560Opening survey link creates error 500 since v1.1.17 for ICalService2021-10-21T08:31:53ZbavramorOpening survey link creates error 500 since v1.1.17 for ICalServiceWhen I create a new survey and thereafter open the link, I get following error 500:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Framadate\\Services\\ICalService' not found in /srv/www/test/home/www/studs.php:66\ Stac...When I create a new survey and thereafter open the link, I get following error 500:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Framadate\\Services\\ICalService' not found in /srv/www/test/home/www/studs.php:66\ Stack trace:\ #0 {main}\ thrown in /srv/www/test/home/www/studs.php on line 66'
It does not occur with 1.1.16https://framagit.org/framasoft/framadate/framadate/-/issues/542Clarify expired polls purge admin section2021-03-15T16:19:25ZMaschinenraumClarify expired polls purge admin sectionIn our instance are several Dates which are expired for a long time but still exists.
Is there a automated deletion process ? And if yes how do I configure it ?
Or do I (or the poll's creator) have to delete every poll manually ?
I di...In our instance are several Dates which are expired for a long time but still exists.
Is there a automated deletion process ? And if yes how do I configure it ?
Or do I (or the poll's creator) have to delete every poll manually ?
I didn't find any issue or wiki entry for thishttps://framagit.org/framasoft/framadate/framadate/-/issues/490Incorrect translation of the day of the week2020-01-24T13:17:02ZPeter JouauxIncorrect translation of the day of the weekUnder the German language selection, the days of the week are published in English. For example, see attached file.![Anmerkung_2020-01-24_134937](/uploads/dcd54327ba270890c4d8a74c3c147773/Anmerkung_2020-01-24_134937.jpg)Under the German language selection, the days of the week are published in English. For example, see attached file.![Anmerkung_2020-01-24_134937](/uploads/dcd54327ba270890c4d8a74c3c147773/Anmerkung_2020-01-24_134937.jpg)https://framagit.org/framasoft/framadate/framadate/-/issues/472Requested URL not found after creating poll2019-11-16T17:54:24Zgluehbirne123Requested URL not found after creating pollAfter creating a poll i should forwarded to the admin page.
i always get "requested url not found on this server".
i installed framadate twice on different platforms (ubuntu server an mamp) with the same effect.After creating a poll i should forwarded to the admin page.
i always get "requested url not found on this server".
i installed framadate twice on different platforms (ubuntu server an mamp) with the same effect.https://framagit.org/framasoft/framadate/framadate/-/issues/452No installation wiki, so having problems running2019-07-22T14:11:43ZTomNo installation wiki, so having problems runningCan someone please give instillation instructions?
I'm getting the following message when I try to run
`
Warning: require_once(C:\xampp\htdocs\project\framadate\app\inc/../../vendor/autoload.php): failed to open stream: No such file or ...Can someone please give instillation instructions?
I'm getting the following message when I try to run
`
Warning: require_once(C:\xampp\htdocs\project\framadate\app\inc/../../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\project\framadate\app\inc\init.php on line 23
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\project\framadate\app\inc/../../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\project\framadate\app\inc\init.php on line 23
`https://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/249Enable date only polls (not date AND time)2018-02-19T09:05:54ZBruno DuyéEnable date only polls (not date AND time)Hello,
I wanted to use framadate with musicians to find a date for a concert. We don't care about times.
So, I filled two dates fields, and no time.
Bad luck, this makes an *empty* poll (I mean : without any choice!) without warning... ...Hello,
I wanted to use framadate with musicians to find a date for a concert. We don't care about times.
So, I filled two dates fields, and no time.
Bad luck, this makes an *empty* poll (I mean : without any choice!) without warning...
This is very frustrating, and doesn't help me to "proove" that "open source is better" ;-)