-
AuthorPosts
-
June 16, 2017 at 5:31 pm #809015SergeyGuest
Hello
I’ve purchased Enfold theme and have a serious problem with my website now. This is the only means I’ve found to contact Enfold team. I can’t start a topic at forums and don’t see any other means to address the problem. Please kindly help me to restore my website.
I’ve set up a website using Enfold theme on WordPress. Having contact form not working (not sending e-mails as it supposed to do) I’ve referred to forums and tried the following solutions suggested by a moderator:
1. Installed Contact Form 7 Plugin
2. Updated functions.php file with the following data:function change_cf_from() {
return “wordpress@YOURWEBSITE.com”;
}
add_filter(‘avf_form_from’, ‘change_cf_from’, 10)The result is that I have a permanent Http 500 ERROR and can’t have access either to the website itself or wp-admin panel. Please help to restore the website asap and to get the contact form working properly.
Sorry for not choosing a correct form of support but I don’t see any other way now.
Thanks a lot!Regards
SergeyJune 19, 2017 at 10:23 pm #810006Hey Sergey,
You would need to login from ftp, edit functions.php and remove the code you have added.
After that, install WP SMTP to see what the results will be when sending emailsBest regards,
BasilisJune 20, 2017 at 12:52 am #810064Hey Basilis,
please advise how I can follow your recommendations with BlueHost’s cPanel? I can provide my login/password, if needed.
Much appreciated!
SergeyJune 20, 2017 at 6:39 am #810195Hi,
Do you know how to use an FTP client like FileZilla? If you do, then you can log into your site using that, then navigate to the file in question (located in the theme root), then edit it from there. You might be able to do that with cPanel as well but I’m not sure, you would have to ask you host about that.
Best regards,
RikardJune 20, 2017 at 4:39 pm #810463Rikard, thank you, I’ve restored the access! Now only the issue with contact form is open.
June 21, 2017 at 5:46 am #810738Hi,
Great, glad you got it back. I can see that you have a missing semi-colon in the code you posted. Maybe you could try this instead:
function change_cf_from() { return “wordpress@YOURWEBSITE.com”; } add_filter(‘avf_form_from’, ‘change_cf_from’, 10);
Don’t forget to change the YOURWEBSITE.com bit as well.
Best regards,
RikardJune 21, 2017 at 6:40 pm #811106Hi,
irrespective of semicolon this code causes 500 Error.
June 22, 2017 at 7:24 am #811345Hi,
Ok, thanks for the feedback. Where exactly are you placing the code?
Best regards,
RikardJune 22, 2017 at 2:34 pm #811547In the end of Functions.php.
I also tried to alter another ‘functions’ file located at …/wp-content/themes/enfold/functions-enfold.php . The result is the same – Error 500.June 25, 2017 at 9:19 pm #812810Hi,
Please alter the code
function change_cf_from() { return "wordpress@YOURWEBSITE.com"; } add_filter('avf_form_from', 'change_cf_from', 10);
and copy from the form not your email
Best regards,
BasilisJune 27, 2017 at 8:18 pm #813582Basilis, thank you so much, now everything works perfectly!
June 28, 2017 at 5:09 pm #813971Hi Creatunestudio,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.