I created a contact us web form on my dummy site. For some reasons, I cannot receive emails from the web form. There is no error showing up in front. Someone suggested me to check Error log files in the Cpanel. When I try to download the Error log files of the concern domain, I get an following error that you do not have the permission to download the files.
Forbidden
You don’t have permission to access /panel/modules-new/errorlogview/index-content.php on this server.
What should I do to download the Error Log of that particular domain.
I created a contact us web form on my dummy site. For some reasons, I cannot receive emails from the web form. There is no error showing up in front. Someone suggested me to check Error log files in the Cpanel. When I try to download the Error log files of the concern domain, I get an following error that you do not have the permission to download the files.
Forbidden
You don’t have permission to access /panel/modules-new/errorlogview/index-content.php on this server.
What should I do to download the Error Log of that particular domain.
Regards,
I think the Error Log service has been disabled.
What is your domain and the email address you are trying to receive mails to?
@ChrisPAR Thank you for looking into this. The domain is creative-sites.ga and email address is info@creative-sites.ga . The code I wrote is as follows: MAy be you can find any error in the code.
<div id=contact>
<h2>Contact Form</h2>
<p>Please drop us a message with your name, short description of your project, a telephone number and best time to contact. We aim to reply all our emails quickly as possible. </p>
<?php
//check for header injection
function header_injection($str){
return preg_match(/[
@ChrisPAR Thank you for looking into this. The domain is creative-sites.ga and email address is info@creative-sites.ga . The code I wrote is as follows: MAy be you can find any error in the code.
To begin with, I noticed your site is on CloudFlare. Have you transferred your site to them by changing nameservers or did you enable it from cPanel?
If you enabled it from cPanel, which is my first suspicion, it breaks emails.
Thank you for the suggestion, you are right, I have created Cloudflare Account and transferred the nameservers. But not through control panel. I can send & receive emails through my roundcoube webmail account.
Issue is that I do not receive the message which I send through my Contact Form on my website. I have checked the link you suggested, and I think i have followed it correctly.
Could you please check my code, may be you find something suspicious? Or And why I cannot view the Error in Cpanel?
I asked a friend to check the code. He uploaded the files into his hosting server and it was working. There is nothing wrong with the code. Issue is Profreehost is blocking my messages.
What should I now do so that my messages are not blocked by Profreehost?