PDA

View Full Version : Fatal error: Call to undefined function: virtual()



tekky
04-22-2006, 09:43 AM
I'm installing this COMMENTS script and having some trouble. I'm supposed to include it by using <?php virtual("/comments/comments.php"); ?>, but when I do that I get "Fatal error: Call to undefined function: virtual()"

I replaced VIRTUAL with INCLUDE, and it made the script work, kind of, except that now it thinks that every single comment is about the page comments.php, rather than the actual page it's coming from.

Anybody know if BlueHost has VIRTUAL defined in php? The script also allows for <!--#include virtual="/comments/comments.php" --> OR <!--#include file="/comments/comments.php" -->, but those yield no results whatsoever.

Ideas?