Google Recaptcha v3

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #10036466
    wardsdesign
    Participant

    I 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.0
    #10036478
    Support
    Keymaster

    Hello,

    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) – OK

    At 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


    #10036634
    wardsdesign
    Participant

    We have the PHP error log enabled. Please let me know if you find anything.


    #10036640
    Support
    Keymaster
    This reply has been marked as private.
    #10036746
    wardsdesign
    Participant

    Thanks, the form is now working and sending the message. But the sender is getting an error message. Can this be fixed?


    #10036747
    Support
    Keymaster

    Hello,

    Probably that’s because the variable $debug in the PHP file is different from 0.

    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


    #10036787
    wardsdesign
    Participant

    Hi Rodrigo,

    It looks like the $debug is set to “0”. Could it be something else?


    #10036804
    Support
    Keymaster

    Hello,

    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


    #10036809
    wardsdesign
    Participant

    Thanks as always. You are the best.


    #10036819
    Support
    Keymaster

    Hello,

    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


Viewing 10 posts - 1 through 10 (of 10 total)

This topic is marked as "RESOLVED" and can not rceive new replies.