sadeso Posted June 6, 2018 Share 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? Link to comment Share on other sites More sharing options...
wolstech Posted June 6, 2018 Share 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. Link to comment Share on other sites More sharing options...
sadeso Posted June 9, 2018 Author Share 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. Link to comment Share on other sites More sharing options...
wolstech Posted June 9, 2018 Share 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). Link to comment Share on other sites More sharing options...
sadeso Posted June 11, 2018 Author Share Posted June 11, 2018 renaming or deleting as it is currently .htaccess keeps appearing the same message Link to comment Share on other sites More sharing options...
wolstech Posted June 11, 2018 Share Posted June 11, 2018 Lets see what Krydos has to say about this. Link to comment Share on other sites More sharing options...
Krydos Posted June 11, 2018 Share 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. Link to comment Share on other sites More sharing options...
sadeso Posted June 13, 2018 Author Share Posted June 13, 2018 I change it to 644 and it does not return any mail sent Link to comment Share on other sites More sharing options...
sadeso Posted June 13, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Krydos Posted June 13, 2018 Share Posted June 13, 2018 So is it working then? Link to comment Share on other sites More sharing options...
sadeso Posted June 20, 2018 Author Share 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/ Link to comment Share on other sites More sharing options...
Krydos Posted June 20, 2018 Share Posted June 20, 2018 drwxrwxr-x. 2 sadeso1 sadeso1 28 Jun 20 15:30 mail That directory needs to be 755 not 775. Link to comment Share on other sites More sharing options...
sadeso Posted June 21, 2018 Author Share Posted June 21, 2018 (edited) checking Edited June 21, 2018 by sadeso Link to comment Share on other sites More sharing options...
sadeso Posted June 28, 2018 Author Share Posted June 28, 2018 thanks for the information, issue solved Link to comment Share on other sites More sharing options...
Recommended Posts