$scripturl refers to the url of your forum and should be initialized by smf during normal processing.
check the function where the line is that it is reporting the error, make sure any function that refers to the variable says this somewhere near the top:
global $scripturl
which tells php to make the function available.
ps.
gri these are issues that would be more appropriate to ask on smf forum.. unless that message in your sig is true in which case.. maybe you need to figure out a way to get back in the good graces of smf people..
One of the users of my smf forum has got errors:
8: Undefined variable: scripturl
File: /home/megasmf/public_html/gri/vitation/Themes/default/BoardIndex.template.php (eval?)
Line: 656
and
8: Undefined variable: scripturl
File: /home/megasmf/public_html/gri/vitation/Themes/default/MessageIndex.template.php (eval?)
Line: 656
?board=13.0
.
What does it mean ?
-gri