- Posts: 2
- Thank you received: 0
Contact form not working
-
wschnute
Inactive member - Topic Author
- New Member
Less
More
1 year 6 months ago #50548
by wschnute
Contact form not working was created by wschnute
I have installed Flowers template on a joomla 4 test website and keep getting an error when trying to send message -= "??Could not execute: /usr/sbin/sendmail??" - I have debug on and have tested sendmail from the global config and it works - advice?
Test site = [url] lccc.info/index.php/contact-us [/url]
Test site = [url] lccc.info/index.php/contact-us [/url]
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6766
- Thank you received: 719
1 year 6 months ago #50549
by milos
Replied by milos on topic Contact form not working
Hello,
Please check if your server is capable to send emails. Check if the email is properly set in Global Configuration, according to the server's requirements. Please consult your hosting provider about the correct settings for sending emails from your site.
Also, check if your email address is correctly set (for example in the Contact component of Joomla or in the Rapid Contact module).
To confirm that email settings are correct, check if you are receiving any emails from your site. For example, check if your site is sending an email when you are using a contact form or registering a new user account.
If emails are not sent, please consult your web hosting support for help.
Regards,
Milos
Please check if your server is capable to send emails. Check if the email is properly set in Global Configuration, according to the server's requirements. Please consult your hosting provider about the correct settings for sending emails from your site.
Also, check if your email address is correctly set (for example in the Contact component of Joomla or in the Rapid Contact module).
To confirm that email settings are correct, check if you are receiving any emails from your site. For example, check if your site is sending an email when you are using a contact form or registering a new user account.
If emails are not sent, please consult your web hosting support for help.
Regards,
Milos
Please Log in to join the conversation.
-
wschnute
Inactive member - Topic Author
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 months 1 week ago #51293
by wschnute
Replied by wschnute on topic Contact form not working
Hello - I am still having a problem with the contact form not working - now on a different joomla 4 site -
www.sunflowergirlfarm.com/index.php/contact-us
,
I can go to the site and send an email to me using send mail or php mail - and also I get mail when someone registers and send in an order - but the form, will not work.
I get this error with debug on:
+++++++++++++++++++in /home/customer/www/sunflowergirlfarm.com/public_html/libraries/src/WebAsset/WebAssetRegistry.php (line 134)
+++++++++++++++++++
Advice?
I can go to the site and send an email to me using send mail or php mail - and also I get mail when someone registers and send in an order - but the form, will not work.
I get this error with debug on:
+++++++++++++++++++in /home/customer/www/sunflowergirlfarm.com/public_html/libraries/src/WebAsset/WebAssetRegistry.php (line 134)
-
Code:[color=var(--highlight-default)] [/color][color=var(--highlight-keyword)]{[/color]
-
Code:[color=var(--highlight-keyword)] [/color][color=var(--highlight-comment)]// Check if any new file was added[/color]
-
Code:[color=var(--highlight-comment)] [/color][color=var(--highlight-default)]$this[/color][color=var(--highlight-keyword)]->[/color][color=var(--highlight-default)]parseRegistryFiles[/color][color=var(--highlight-keyword)]();[/color]
-
Code:[color=var(--highlight-keyword)] if (empty([/color][color=var(--highlight-default)]$this[/color][color=var(--highlight-keyword)]->[/color][color=var(--highlight-default)]assets[/color][color=var(--highlight-keyword)][[/color][color=var(--highlight-default)]$type[/color][color=var(--highlight-keyword)]][[/color][color=var(--highlight-default)]$name[/color][color=var(--highlight-keyword)]])) {[/color]
-
Code:[color=var(--highlight-keyword)] throw new [/color][color=var(--highlight-default)]UnknownAssetException[/color][color=var(--highlight-keyword)]([/color][color=var(--highlight-default)]sprintf[/color][color=var(--highlight-keyword)]([/color][color=var(--highlight-string)]'There is no "%s" asset of a "%s" type in the registry.'[/color][color=var(--highlight-keyword)], [/color][color=var(--highlight-default)]$name[/color][color=var(--highlight-keyword)], [/color][color=var(--highlight-default)]$type[/color][color=var(--highlight-keyword)]));[/color]
-
Code:[color=var(--highlight-keyword)] }[/color]
-
Code:[color=var(--highlight-keyword)] return [/color][color=var(--highlight-default)]$this[/color][color=var(--highlight-keyword)]->[/color][color=var(--highlight-default)]assets[/color][color=var(--highlight-keyword)][[/color][color=var(--highlight-default)]$type[/color][color=var(--highlight-keyword)]][[/color][color=var(--highlight-default)]$name[/color][color=var(--highlight-keyword)]];[/color]
-
Code:[color=var(--highlight-keyword)] }[/color]
+++++++++++++++++++
Advice?
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6766
- Thank you received: 719
9 months 1 week ago #51295
by milos
Replied by milos on topic Contact form not working
Hello,
The last line of the error log says that the PHPMail function is not available on the server. Please consult the hosting support.
Regards,
Milos
The last line of the error log says that the PHPMail function is not available on the server. Please consult the hosting support.
Code:
PHPMailer\PHPMailer\ ExceptionCould not instantiate mail function.
Regards,
Milos
Please Log in to join the conversation.
Time to create page: 0.154 seconds