e-mail checkbox doesn't work on cPanel

crystal13

Registered
Dec 9, 2015
4
0
1
Rome
cPanel Access Level
Website Owner
Hello,

I'm building a bootstrap website. This site has an e-mail module.

The e-mail module has a name, a Phone, a message fields and a checkbox for "newsletter" (yes/no).

This module works perfecly on aruba web server. Instead on cPanel web server I don't see the result of the newsletter checkbox when I receive the e-mail. Seems that the "yes/no" is blocked by cPanel for any reason.

Please can you help me to undestand the problem?

Thank you in advance
Crystal
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello :)

Do you notice any specific error messages on the "Error Log" option within your cPanel interface?

Thank you.
 

crystal13

Registered
Dec 9, 2015
4
0
1
Rome
cPanel Access Level
Website Owner
Hello, thank you for your answer.

I saw the Error log option in cPanel interface (300 lines) but there is nothing related to e-mail module. There are 2 errors that appear when I load the home page.

Do you have any ideas?

I don't think that my code is wrong because on Aruba it works correctly (I'm doing a web server migration).

Thank you
Crystal
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Is this a PHP script? If so, do you notice output to the error_log file within the document root this script is uploaded to? You will need some type of error message to troubleshoot the issue.

Thank you.
 

crystal13

Registered
Dec 9, 2015
4
0
1
Rome
cPanel Access Level
Website Owner
Is this a PHP script? If so, do you notice output to the error_log file within the document root this script is uploaded to? You will need some type of error message to troubleshoot the issue.

Thank you.
Yes it's PHP script.
I'm new on cPanel.
Can you drive me where I should see "the error_log file within the document root this script is uploaded to"?

Thank you very much for your help.
Crystal
 

crystal13

Registered
Dec 9, 2015
4
0
1
Rome
cPanel Access Level
Website Owner
Hello,
when I send an email from the web site, in my error registry appears only these rows:

Code:
[Fri Dec 11 08:53:47 2015] [error] [client 88.35.244.66] File does not exist: /home/wwwvetre/public_html/404.shtml, referer: example.com/it/it_it/
[Fri Dec 11 08:53:47 2015] [error] [client 88.35.244.66] File does not exist: /home/wwwvetre/public_html/it/it_it/jquery.js, referer: example.com/it/it_it/
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Can you drive me where I should see "the error_log file within the document root this script is uploaded to"?
It's typically in the same directory as the index.php file associated with the script unless you have changed the PHP error reporting output in your php.ini file.

Thank you.