I am implementing a code where visitors can email our company.
in my gmail.php, it has this code for line 11
require_once('PHPMailerAutoload.php') or exit();
the error it gives is when i run it is
Warning: require_once(1) [function.require-once]: failed to open stream: No such file or directory in /home/maxsell/public_html/php/gmail.php on line 11
Fatal error: require_once() [function.require]: Failed opening required '1' (include_path='/home/maxsell/php:.:/usr/lib/php:/usr/local/lib/php') in /home/maxsell/public_html/php/gmail.php on line 11
and if i click on [function.require-once]
it loads
The requested URL /php/function.require-once was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I made this in our other website and it worked there. I tried changing file path in require_once
but it doesn't work. gmail.php and PHPMailerAutoload.php is in the same folder.
edit: here is a directory contents directory contents