Mail.php error

Hi I’m getting an error when i test a site i’m working on ( and the error is below - to my novice eye it seems as if i’m unable to connect to mail.php - have i got something wrong?
Regards paul
Warning: require_once(Mail.php) [ function.require-once]: failed to open stream: No such file or directory in /home/.marilee/sugars4life/ on line 8

Fatal error: require_once() [ function.require]: Failed opening required ‘Mail.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/.marilee/sugars4life/ on line 8

PHP cannot find mail.php

From your error message, it would need to be in either ‘/usr/local/php5/lib/php’ which it can’t be as that is a system location. Or ‘/home/.marilee/sugars4life/’.

If it is in that location, it is likely that the permissions are wrong on the file.

If it isn’t in that location, check for an .htaccess file somewhere and see if it is trying to change the PHP include settings. This will not work by default on DH as PHP is run as a CGI process rather than under mod_php. If this is the issue, post back as there are several ways around the issue.


Julian Knight