Expert/ircddbgateway Editor Empty

General support for the Pi-Star System
Post Reply
kn4cnu
Posts: 3
Joined: Sun Feb 03, 2019 2:47 pm

Expert/ircddbgateway Editor Empty

Post by kn4cnu »

When clicking the ircddbgateway link, the page doesn't show any fields to make changes. This thread is about the same issue, viewtopic.php?t=1312 but I don't see any quotes or exclamation points in the /etc/ircddbgateway file. This device is running Pi-Star:4.1.0-RC4.

nginx logs show the following error:
2019/09/28 09:53:38 [error] 907#907: *541 FastCGI sent in stderr: "PHP message:
PHP Warning: syntax error, unexpected '=' in /tmp/aXJjZGRiZ2F0ZXdheQ.tmp on lin
e 171
in /var/www/dashboard/admin/expert/edit_ircddbgateway.php on line 99
PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/d
ashboard/admin/expert/edit_ircddbgateway.php on line 102" while reading response
header from upstream, client: 192.168.43.57, server: , request: "GET /admin/exp
ert/edit_ircddbgateway.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php
7.0-fpm.sock:", host: "pi-star.local", referrer: "http://pi-star.local/admin/exp
ert/edit_ircddbgateway.php"

Line 171 in /tmp/aXJjZGRiZ2F0ZXdheQ.tmp seems to be

xlxHostsFileUrl=http://xlxapi.rlx.lu/api.php?do=GetXLXDMRMaster

I tried putting quotes around the parameter to no avail. Does anyone have any suggestions?
Thanks,
Robert
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Expert/ircddbgateway Editor Empty

Post by KE0FHS »

Seems likely that it's the second equal sign that is causing you trouble. I wonder if it would work to use the URL encoded alternative: %3D

Code: Select all

http://xlxapi.rlx.lu/api.php?do%3DGetXLXDMRMaster
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
kn4cnu
Posts: 3
Joined: Sun Feb 03, 2019 2:47 pm

Re: Expert/ircddbgateway Editor Empty

Post by kn4cnu »

Changing that got the page to load. I don't think I manually added that URL. Do others have the same issue? How do I know if it works?
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Expert/ircddbgateway Editor Empty

Post by KE0FHS »

My guess is that not many of those URLs contain variables with equal signs, so probably not many people run into this issue.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
kn4cnu
Posts: 3
Joined: Sun Feb 03, 2019 2:47 pm

Re: Expert/ircddbgateway Editor Empty

Post by kn4cnu »

Just to be clear, I edited /etc/ircddbgateway

I'm still learning this stuff. I assume this downloads a server list. How would one find a list of URLs to use in that field. I guess a URL shortener would work.

Thanks,
Robert
Post Reply