Forum Moderators: coopster
My problem is that this error shows the root directory of my site, which I do not want.
Is there a way to make a custom PHP error page to hide this directory information?
You can turn off error_reporting [php.net] or better yet, get your production environment configured correctly so that errors are logged rather than pushed back out to the browser: error handling Runtime Configuration [us2.php.net].