We need to find out if $path is storing a value:
echo $path;
Put that line directly below your:
$path = mapPath( ... stuff
Let me know what you get when you do echo $path.
My other suggestion is to check if there is a problem before line 103 with some other part of your code where you forgot a curly brace, a closing parenthesis, or a semicolon, closing double quote, etc.
You can check that by completely commenting out the block of code that you just inserted:
/*
if (!empty($Test3->Value("picloc")))
{
$path = mapPath($Test3->Value("picloc");
echo '<img src = '.$path.' alt="No Picture Available" height="247" width="415" border="0">';
}
else
{ // no request yet for pic, so display default
echo "<img src = \"Imagesdefault.jpg\">";
}
*/
If you do that, do you still get the error message?