Not sure if the right place for this but i'll give it a go and see what happens I have a php script running which I am trying to include content from another script on (I know it works as I have had it working in the past). However at the moment instead of outputting the content of the 2nd script into the page of the first it is showing me an error message of Fatal error: Call to undefined function virtual() in The reason this is not working is related to the php/whm/apache settings and although I have had it working in the past, I cannot for the life of me remember the settings I used. Anyone care to take a guess please? Thanks
Is the second script located within the same directory? If not, it sounds like you may have php's open base directory option enabled, which binds users to their own home directory.
open base directory option has nothing to do with this error: Fatal error: Call to undefined function virtual() Virtual - google - virtual function apache mod - results: http://php.net/manual/en/function.virtual.php
Yep, you are correct. I just assumed the script was trying to call a function that it did not have access to. Here is a helpful post I found when I did a little searching: http://www.webassist.com/forums/showpost.php?p=11058&postcount=2