sadeso Posted June 6, 2018 Posted June 6, 2018 Hi, Through a contact form I try to send certain data to an email account but it shows "Internal Server Error", the domain is hosted in Ricky, I have reviewed the configuration of both php and html and everything is correct Will there be any steps to that this works? The PHP.ini in ricky is enabled the mail parameter? Any solution?
wolstech Posted June 6, 2018 Posted June 6, 2018 Does the script file have permissions of 644? If you used SFTP to upload, you need to change the permissions before the script will work.
sadeso Posted June 9, 2018 Author Posted June 9, 2018 ForbiddenYou don't have permission to access /mail/contact_me.php on this server.Server unable to read htaccess file, denying access to be safeAdditionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
wolstech Posted June 9, 2018 Posted June 9, 2018 Rename or delete your .htaccess file. That error is because the server can't access it for some reason (probably wrong permissions).
sadeso Posted June 11, 2018 Author Posted June 11, 2018 renaming or deleting as it is currently .htaccess keeps appearing the same message
Krydos Posted June 11, 2018 Posted June 11, 2018 -rw-rw-r--. 1 sadeso1 sadeso1 1288 Jun 11 15:48 contact_me.php That is 664. It needs to be 644 like Wolstech already said.
sadeso Posted June 13, 2018 Author Posted June 13, 2018 I change it to 644 and it does not return any mail sent
sadeso Posted June 13, 2018 Author Posted June 13, 2018 it seems that it is solved by the side of the permissions (6XX) the matter goes through configuration of the MX I assume to be using https
sadeso Posted June 20, 2018 Author Posted June 20, 2018 [Wed Jun 20 02:55:21.824039 2018] [:error] [pid 49135] [client XXX.X.XXX.13:34102] SoftException in Application.cpp:657: Directory "/home/XXX/public_html/mail" is writeable by group, referer: https://acpsoluciones.ml/
Krydos Posted June 20, 2018 Posted June 20, 2018 drwxrwxr-x. 2 sadeso1 sadeso1 28 Jun 20 15:30 mail That directory needs to be 755 not 775.
sadeso Posted June 21, 2018 Author Posted June 21, 2018 (edited) checking Edited June 21, 2018 by sadeso
Recommended Posts