- This topic has 9 replies, 2 voices, and was last updated 5 years, 4 months ago by
Support. This post has been viewed 1391 times
-
AuthorPosts
-
February 26, 2021 at 1:36 pm #10036466
wardsdesign
ParticipantI am getting a server error when trying to submit the form. Can you provide some guidance?
Error sending your message.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Template Version: 8.3.0February 26, 2021 at 11:53 pm #10036478Support
KeymasterHello,
Thanks for the access to your server files, this is very useful in this type of issue.
Error 500 can be related to a lot of things.
We checked the most common reasons for this error:
– PHP version (7.0 in your case) – OK
– Syntax error in the PHP file (no issues found) – OK
– CURL is enabled in the server (is enabled) – OKAt this point we did a try checking the PHP error logs, but without success, since it is not enabled in your server. We also did a try enabling trough the PHP settings but no success too.
In this case you need ask to your hosting company to enable the PHP error_log in the server. This way we can see what’s the exactly PHP error generating the error 500.
We await for the PHP logs to proceed with this ticket.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
March 4, 2021 at 7:13 am #10036634wardsdesign
ParticipantWe have the PHP error log enabled. Please let me know if you find anything.
March 4, 2021 at 11:45 pm #10036640Support
KeymasterThis reply has been marked as private.March 9, 2021 at 2:28 am #10036746wardsdesign
ParticipantThanks, the form is now working and sending the message. But the sender is getting an error message. Can this be fixed?
March 9, 2021 at 2:57 am #10036747Support
KeymasterHello,
Probably that’s because the variable
$debugin the PHP file is different from0.Please try changing to:
$debug = 0;
Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
March 10, 2021 at 3:52 am #10036787wardsdesign
ParticipantHi Rodrigo,
It looks like the $debug is set to “0”. Could it be something else?
March 10, 2021 at 6:56 am #10036804Support
KeymasterHello,
We accessed your files and the reason is that part of code:
if ($debug == 2) { echo json_encode($arrResult); }That should be:
if ($debug == 0) { echo json_encode($arrResult); }We made this change in the PHP file and now it’s working.
We hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
March 10, 2021 at 8:10 am #10036809wardsdesign
ParticipantThanks as always. You are the best.
March 10, 2021 at 11:44 pm #10036819Support
KeymasterHello,
Great the issue is now resolved!
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.