Legenda Theme – Contact Form is giving Error

This topic has 38 replies, 3 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler

  • Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 18, 2017 at 16:18

    Unfortunately the same situation.
    Please edit legenda/framework/theme-functions.php file and change this code http://prntscr.com/gmnfd0 to http://prntscr.com/gmngg2.

    $result = wp_mail($reciever_email, $subject, $body, $headers);
                    if($result) {
                        $return['status'] = 'success';
                        $return['msg'] = __('All is well, your email has been sent.', ETHEME_DOMAIN);
                    } else{
                        global $ts_mail_errors;
                        global $phpmailer;
                        if (!isset($ts_mail_errors)) $ts_mail_errors = array();
                        if (isset($phpmailer)) {
                            $ts_mail_errors[] = $phpmailer->ErrorInfo;
                        }
                        $return['status'] = 'error';
                        $return['msg'] = 'Error while sending a message!' . "<script type=\"text/javascript\">
                                console.log(" . json_encode($ts_mail_errors) . ");
                            </script>";
                    }

    Let me know as it will be done.

    Regards

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 07:31

    It is not working anymore? When I do the modification you told me. The site is even not opening.

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 07:51

    OK I make the revision but now I receive below error;

    “Error while ajax request

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 19, 2017 at 08:20

    Hello,

    Then we need to connect to your site via FTP to find out what is the reason of this problem. When we use credentials that you provided we get the following response http://prntscr.com/gmx2n9
    Please, contact your hosting provider to fix the problem with FTP connection. Once we get access to FTP we’ll be able to start.

    Regards

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 11:06

    Hi

    I have no idea why you are not able to connect. Eveything is OK and no block of your ip.

    Do you want to go through Cpanel and then Filemanager?

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 12:30

    Any reply? I already lost 2 days. Please help asap.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 13:27

    In this case, provide accesses to Cpanel and File Manager.

    Regards

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 13:35

    Pls. See prv content

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 13:39

    http://prntscr.com/gn0x7f Please check.

    Regards

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 14:11

    I update the password. See prv content.

    IF you are still not able to enter, it is really your computer or ip etc. etc. Please ask one of your colleague try it for you like I informed you before, your colleague entered in the past to ftp cpanel etc without any problem.

    Thanks.

    Please, contact administrator
    for this information.
    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 14:40

    Hi,

    Are you able to log in with new pass?

    Avatar: waadaa
    waadaa
    Participant
    September 19, 2017 at 15:39

    Are you able to log in with new pass?

    Any news?

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 15:44

    We logged in cpanel. I passed your issue to one of our developers. You will be informed about news.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 15:57

    We’ve checked the situation and seems on your server mail function is disabled https://prnt.sc/gn2w4u, so please contact your hosting provider and ask to activate mail function.

    Regards

    Avatar: waadaa
    waadaa
    Participant
    September 20, 2017 at 06:44

    I checked with the isp. They mentioned that pop3 aut methot must be used.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 20, 2017 at 09:00

    Your problem with sending a message doesn’t relate to our theme, and even with default plugin Contact Form 7 a message can’t be sent http://prntscr.com/gnd9u0 so you need to contact hosting provider for further solutions or you also may try to use this plugin https://wordpress.org/plugins/wp-mail-smtp/.

    Regards

    Avatar: waadaa
    waadaa
    Participant
    September 20, 2017 at 10:19

    Thanks. Solved via WP SMTP Plug in.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 20, 2017 at 10:23

    You’re welcome!

    Regards

  • 1 2
    Viewing 38 results - 21 through 38 (of 38 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.