I'm trying to load the admin page, and I get this error. All other pages seem to load just fine.
Code: Select all
Fatal error: Cannot redeclare checkSetup() (previously declared in /var/www/dashboard/mmdvmhost/tools.php:77) in /var/www/dashboard/admin/mmdvmhost/tools.php on line 77
Looking at the code, it seems to be failing when it runs the line "include_once 'mmdvmhost/tools.php';". However, inside "dstarrepeater/system.php" which loads before this (even though I'm not using D-Star features), I see that there's "include_once $_SERVER['DOCUMENT_ROOT'].'/mmdvmhost/tools.php';".
I edited "tools.php" to add "$_SERVER['DOCUMENT_ROOT']" to the "include_once" line and it appears everything is working, though my callsign is still showing up as M1ABC.
I'm actually W1DNS now.