Search found 18 matches

by joticakr
Mon Jan 09, 2023 6:09 am
Forum: General Support
Topic: 502 Bad Gateway
Replies: 7
Views: 4918

Re: 502 Bad Gateway

Hey Arvid,

I wish you a happy new year!
I don't know why and I don't know how, but the problem solved itself. No change made from my side and now it's working again.

BR, Johannes
by joticakr
Tue Dec 13, 2022 12:58 pm
Forum: General Support
Topic: 502 Bad Gateway
Replies: 7
Views: 4918

Re: 502 Bad Gateway

Hi Arvid, sorry for my late response. I setup a fresh install and it works like a charm. After I copied the fp-content folder into it (I finished the first setup with the same user and password as the old one), the same error occured again. Now I have to delete the cache folder in fp-content every t...
by joticakr
Wed Oct 12, 2022 6:01 am
Forum: General Support
Topic: 502 Bad Gateway
Replies: 7
Views: 4918

Re: 502 Bad Gateway

Hi Arvid,

I disabled the plugin, but the behaviour stayed the same. :(

BR, Johannes
by joticakr
Tue Oct 11, 2022 5:47 am
Forum: General Support
Topic: 502 Bad Gateway
Replies: 7
Views: 4918

502 Bad Gateway

Hello all, I have two Flatpress webpages each behind an nginx reverse proxy with completely identical settings. One webpage started giving me "502 Bad Gateway" if I try to edit or create a blog entry. After I empty the theme and template cahce, it works one time, then again the 502 appears...
by joticakr
Thu Aug 26, 2021 4:11 pm
Forum: General Support
Topic: Simple visitor counter
Replies: 1
Views: 3111

Simple visitor counter

Hello all, new day, new question... ;) I try to implement a simple visitor counter on my page like this: $counter = fopen("counter.md","r+"); $wert = fgets($counter, 5); if($wert == "") $wert = 0; $wert++; rewind($counter); fwrite($counter, $wert); fclose($counter); If ...
by joticakr
Wed Aug 25, 2021 1:14 pm
Forum: General Support
Topic: Contact form not working
Replies: 7
Views: 4681

Re: Contact form not working

Hier meine Lösung:

mittels setfalc www-data die nötigen Rechte für /etc/msmtp gegeben.

Gruß, Johannes
by joticakr
Wed Aug 25, 2021 11:51 am
Forum: General Support
Topic: Contact form not working
Replies: 7
Views: 4681

Re: Contact form not working

Okay, one step further.

I installed sendmail and now the contact page gives me the green label that the massege was successfully sent. But I doesn't receive any massage.

Regards,
Johannes
by joticakr
Wed Aug 25, 2021 11:13 am
Forum: General Support
Topic: Contact form not working
Replies: 7
Views: 4681

Re: Contact form not working

Hello,

it seems that flatpress uses my msmtp installation (root sending mails for finished tasks) for the contact form. I thougt that php has an included mail function which is used for this. Is that right?

BR, Johannes
by joticakr
Wed Aug 25, 2021 6:32 am
Forum: General Support
Topic: Contact form not working
Replies: 7
Views: 4681

Re: Contact form not working

Hello,

I got it working by changing the ownership of /etc/msmtprc to www-data:www-data.
But now root is not able to send mails. Any idea how to solve this?

BR, Johannes
by joticakr
Tue Aug 24, 2021 4:36 pm
Forum: General Support
Topic: Contact form not working
Replies: 7
Views: 4681

Re: Contact form not working

I can send mails over msmtp, if it's what you want to know.