the error:
Fatal error: Call to undefined function virtual()
is happening because of a setting in your dreamweaver site definition.
Dreamweaver is using the "virtual" syntax because in your Site Definition, the "Create Links Relative To:" option is set to Site. If you change that to "Document" instead, Dreamweaver will use the "require_once"syntax.