How to hide php's warning message?
I have a script in perl, and I use php virtual() function to include it in my site.
Everything works perfect, but I keep getting this error at the top of my page. The weird part is that I only get this error after I navigate to a webpage on my website. So, if I go to www.mysite.com, there is no error, and when I click on "news" that navigates me to www.mysite.com/news, the error message appears. However, if I go directly to www.mysite.com/news from my browser, I do not get the error message.
The script runs properly everywhere, just this annoying message makes my website look bad.
Does anyone knows why the error message only appears when I navigate to a 2nd webpage on my website? Also, the script works so the page is actually included, just this weird error message...
Warning: virtual() [function.virtual]: Unable to include '/cgi-bin/script/l' - request execution failed in /home/mysite/public_html/index.php on line 2