Question Accept Changes Not Working
- maukamakai
- Topic Author
- Visitor
4 months 1 week ago #1
by maukamakai
Accept Changes Not Working was created by maukamakai
I've installed a fresh copy of webtrees 2.1.20.
Whenever I try to accept any changes I get the following errors:
Firefox:
A dialog box appears with the message: "TypeError: NetworkError when attempting to fetch resource."
Network tools reports a POST request to: webtrees.foggymountain.camp/index.php?ro...ree/fmc/accept/X8/18 , however there is no response and the error that appears is "NS_ERROR_NET_INTERRUPT".
Chrome:
A dialog box appears with the text: "TypeError: Failed to fetch"
Network tools reports the error: "net::ERR_HTTP2_PROTOCOL_ERROR"
webtrees: 2.1.20
Ubuntu: Ubuntu 22.04.4 LTS
PHP: 8.1
caddy: 2.8.4
caddy configuration:
webtrees url: webtrees.foggymountain.camp
I found a similar post at www.webtrees.net/index.php/forum/help-fo...n-new-upgrade#101581 but this does not help me resolve my issue.
Could someone please help be debug this issue?
Whenever I try to accept any changes I get the following errors:
Firefox:
A dialog box appears with the message: "TypeError: NetworkError when attempting to fetch resource."
Network tools reports a POST request to: webtrees.foggymountain.camp/index.php?ro...ree/fmc/accept/X8/18 , however there is no response and the error that appears is "NS_ERROR_NET_INTERRUPT".
Chrome:
A dialog box appears with the text: "TypeError: Failed to fetch"
Network tools reports the error: "net::ERR_HTTP2_PROTOCOL_ERROR"
webtrees: 2.1.20
Ubuntu: Ubuntu 22.04.4 LTS
PHP: 8.1
caddy: 2.8.4
caddy configuration:
webtrees.foggymountain.camp {
encode gzip
root * /var/html/webtrees
file_server
php_fastcgi unix//run/php/php8.1-fpm.sock
}
webtrees url: webtrees.foggymountain.camp
I found a similar post at www.webtrees.net/index.php/forum/help-fo...n-new-upgrade#101581 but this does not help me resolve my issue.
Could someone please help be debug this issue?
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
Less
More
4 months 1 week ago #2
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic Accept Changes Not Working
Did you set the base_url property in your file data/config.ini.php on the server?
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- maukamakai
- Topic Author
- Visitor
4 months 1 week ago - 4 months 1 week ago #3
by maukamakai
Replied by maukamakai on topic Accept Changes Not Working
Yes, the contents of the configuration file is:
Code:
; DO NOT DELETE THIS LINE
dbtype="pgsql"
dbhost="localhost"
dbport="5432"
dbuser="fmcuser"
dbpass="redacted"
dbname="webtrees"
tblpfx="wt_fmc"
base_url="https://webtrees.foggymountain.camp"
rewrite_urls="0"
Last edit: 4 months 1 week ago by maukamakai. Reason: Formatting
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
4 months 1 week ago #4
by Franz Frese
Replied by Franz Frese on topic Accept Changes Not Working
perhaps the "localhost" has to be changed. depends on your provider.
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
4 months 1 week ago - 4 months 1 week ago #5
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic Accept Changes Not Working
Localhost for the db is fine. There is a working communication with the database, otherwise there would not be pending changes.
Ok, so you have the results of the xhr tab of your browser? If you share those, we can take a look.I found a similar post at www.webtrees.net/index.php/forum/help-fo...n-new-upgrade#101581 but this does not help me resolve my issue.
Could someone please help be debug this issue?
stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 4 months 1 week ago by bertkoor.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
4 months 1 week ago #6
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic Accept Changes Not Working
"NS_ERROR_NET_INTERRUPT" suggests that the connection was terminated.
Was the request processed by PHP? Do you see these HTTP requests in your webserver access/error logs?
Do you have any security software (e.g. apache/mod-security) that might be blocking requests?
Was the request processed by PHP? Do you see these HTTP requests in your webserver access/error logs?
Do you have any security software (e.g. apache/mod-security) that might be blocking requests?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.