You forgot to give write-permissions to your webserver-user, see point 3 in
linux-step-by-step.md
!
\n"); fclose($configfile); ?>
MMDVM-Dashboard by DG9VH
Setup-Process
Your config-file is written in config/config.php, please remove setup.php for security reasons!
Your dashboard is now available.
MMDVM-Dashboard by DG9VH
Setup-Process
Please give necessary information below
MMDVMHost-Configuration
Path to MMDVMHost-logfile
" name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required">
Path to MMDVM.ini
" name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required">
MMDVM.ini-filename
" name="MMDVMINIFILENAME" class="form-control" placeholder="MMDVM.ini" aria-describedby="MMDVMINIFILENAME" required data-fv-notempty-message="Value is required">
Path to MMDVMHost-executable
" name="MMDVMHOSTPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="MMDVMHOSTPATH" required data-fv-notempty-message="Value is required">
Enable extended lookup (show names)
>
Path to DMR-ID-Database-File (including filename)
" name="DMRIDDATPATH" class="form-control" placeholder="/var/mmdvm/DMRIDs.dat" aria-describedby="DMRIDDATPATH">
YSFGateway-Configuration
Enable YSFGateway
>
Path to YSFGateway-logfile
" name="YSFGATEWAYLOGPATH" class="form-control" placeholder="/var/log/YSFGateway/" aria-describedby="YSFGATEWAYLOGPATH">
Logfile-prefix
" name="YSFGATEWAYLOGPREFIX" class="form-control" placeholder="YSFGateway" aria-describedby="YSFGATEWAYLOGPREFIX">
Path to YSFGateway.ini
" name="YSFGATEWAYINIPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFGATEWAYINIPATH">
YSFGateway.ini-filename
" name="YSFGATEWAYINIFILENAME" class="form-control" placeholder="YSFGateway.ini" aria-describedby="YSFGATEWAYINIFILENAME">
Path to YSFHosts.txt
" name="YSFHOSTSPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFHOSTSPATH">
YSFHosts.txt-filename
" name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME">
ircddbgateway-Configuration
Path to Links.log
" name="LINKLOGPATH" class="form-control" placeholder="/var/log/" aria-describedby="LINKLOGPATH">
Name of ircddbgateway-executeable
" name="IRCDDBGATEWAY" class="form-control" placeholder="ircddbgatewayd" aria-describedby="IRCDDBGATEWAY">
Global Configuration
'; echo '
Timezone
'; echo '
'; function timezonechoice($selectedzone) { $all = timezone_identifiers_list(); $i = 0; foreach($all AS $zone) { $zone = explode('/',$zone); $zonen[$i]['continent'] = isset($zone[0]) ? $zone[0] : ''; $zonen[$i]['city'] = isset($zone[1]) ? $zone[1] : ''; $zonen[$i]['subcity'] = isset($zone[2]) ? $zone[2] : ''; $i++; } asort($zonen); $structure = ''; foreach($zonen AS $zone) { extract($zone); // if($continent == 'Africa' || $continent == 'America' || $continent == 'Antarctica' || $continent == 'Arctic' || $continent == 'Asia' || $continent == 'Atlantic' || $continent == 'Australia' || $continent == 'Europe' || $continent == 'Indian' || $continent == 'Pacific') { if(!isset($selectcontinent)) { $structure .= '
'; // continent } elseif($selectcontinent != $continent) { $structure .= '
'; // continent } if(isset($city) != ''){ if (!empty($subcity) != ''){ $city = $city . '/'. $subcity; } if ($continent != "UTC") { $structure .= "
".str_replace('_',' ',$city)."
"; //Timezone } else { $structure .= "
UTC
"; //Timezone } } else { if (!empty($subcity) != ''){ $city = $city . '/'. $subcity; } $structure .= "
".$continent."
"; //Timezone } $selectcontinent = $continent; // } } $structure .= '
'; return $structure; } echo timezonechoice($selectedzone); echo '
'; echo ''; echo '
'; echo '
'; } get_tz_options(constant("TIMEZONE"), "Timezone", ''); ?>
URL to Logo
" name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO">
URL to DMRplus-Logo
" name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO">
URL to BrandMeister-Logo
" name="BRANDMEISTERLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="BRANDMEISTERLOGO">
Refresh page after in seconds
" name="REFRESHAFTER" class="form-control" placeholder="60" aria-describedby="REFRESHAFTER" required data-fv-notempty-message="Value is required">
Show progressbars
>
Enable CPU-temperature-warning
>
Warning temperature
" name="TEMPERATUREHIGHLEVEL" class="form-control" placeholder="60" aria-describedby="TEMPERATUREHIGHLEVEL" required data-fv-notempty-message="Value is required">
Enable Network-Switching-Function
>
Username for switching networks:
" name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER">
Password for switching networks:
" name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW">
Enable Management-Functions below
>
Username for view log:
" name="VIEWLOGUSER" class="form-control" placeholder="username" aria-describedby="VIEWLOGUSER">
Password for view log:
" name="VIEWLOGPW" class="form-control" placeholder="password" aria-describedby="VIEWLOGPW">
Username for halt:
" name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER">
Password for halt:
" name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW">
Username for reboot:
" name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER">
Password for reboot:
" name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW">
Username for restart:
" name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER">
Password for restart:
" name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW">
Reboot MMDVMHost command:
" name="REBOOTMMDVM" class="form-control" placeholder="sudo systemctl restart mmdvmhost.service" aria-describedby="REBOOTMMDVM">
Reboot system command:
" name="REBOOTSYS" class="form-control" placeholder="sudo reboot" aria-describedby="REBOOTSYS">
Halt system command:
" name="HALTSYS" class="form-control" placeholder="sudo halt" aria-describedby="HALTSYS">
Show Powerstate (online or battery, wiringpi needed)
>
GPIO pin to monitor:
" name="POWERONLINEPIN" class="form-control" placeholder="18" aria-describedby="POWERONLINEPIN">
State that signalizes online-state:
" name="POWERONLINESTATE" class="form-control" placeholder="1" aria-describedby="POWERONLINESTATE">
Show link to QRZ.com on Callsigns
>
Save configuration