02-29-2024, 11:06 PM
PROBLEM SOLVED !!
The issue is caused by a less than robust implementation of the PHP method genUserID() (in the file common.php)
unction getUserID() {
$result = sysCmd('ls /home/');
return $result[0];
}
This will return the first item in the /home folder. It seems that on my PI, there is a /home/pi folder in addition to the default user one.
Deleting pi's home folder fixes the problem. (I have no idea how this got there, but it appears to be a complete home directory with all of the config files).
Thanks for your (instant!) help and encouragement !
-W
The issue is caused by a less than robust implementation of the PHP method genUserID() (in the file common.php)
unction getUserID() {
$result = sysCmd('ls /home/');
return $result[0];
}
This will return the first item in the /home folder. It seems that on my PI, there is a /home/pi folder in addition to the default user one.
Deleting pi's home folder fixes the problem. (I have no idea how this got there, but it appears to be a complete home directory with all of the config files).
Thanks for your (instant!) help and encouragement !
-W