Forums / General Questions / The email form on "contact us" can't submit, why?

The email form on "contact us" can't submit, why?

Started by rabarrig on 1 Jul 2011, 8:12 AM · Views: 4,577

Results 1 to 20 of 24
1 Jul 2011, 8:12 AM
#1
rabarrig avatar

rabarrig

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

The email form on "contact us" can't submit, why?

Hi all... i need help making a contact us form work... i'm a noob in the zen world... i kinda need a tutorial, so i can understand how does it work and what are the options for.

ANY help would be much appreciated.

Greets.

1 Jul 2011, 8:23 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: The email form on "contact us" can't submit, why?

Zen Cart comes with a contact us form that works.

If yours doesn't then there's a problem to be diagnosed. And that problem may be nothing to do with your contact us form, e.g. misconfiguration in your email settings.

But you haven't provided any details of the problem that's prompted your question. If you could do so, we'd have somewhere to start diagnosing it.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Jul 2011, 5:19 AM
#3
rabarrig avatar

rabarrig

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

Thanks a lot for your reply, friend. Well... first of all, my contact form doesn't work. I'm running a TM template, so i don't know if it has the original core files... as far as my understanding of zen cart's override system goes, they seem to be the original ones.

I installed and configured the template with my knowledge of PHP and a lot of zen cart tutorial reading. So, my "problem" actually is that i can't find any tutorial about the contact form itself, precisely because it's supposed to be already working when you install zen cart :P

What i really want to do is understand how zen cart's contact form work, so i can learn more about this fantastic app and eventually end configuring it myself. I already know how php contact forms work in general, but as i'm a newbie into the zen world, i'm on the process of understanding zen cart's structure and that confuses me for the moment.

The options on the admin's email settings are not self-explanatory, and that confuses me too.

Hope you get what i'm trying to tell you. English is not my native language. If you could bring me some brief explanations or point me in a good direction would be tremendously appreciated.

Rod.

4 Jul 2011, 7:36 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: The email form on "contact us" can't submit, why?

The tutorial you're looking for doesn't exist. Maybe someday somebody will write one, but that's not going to help you diagnose your problem. And if you want to learn how Zen Cart works, I'd suggest that the contact page isn't the most representative place to start.

To diagnose your problem, try switching to the Classic template and sending a message through the contact us page.

If that works then it will tell you that the problem is with your template and you should contact TM. If it doesn't the problem is most likely with the email settings either in your Zen Cart or on your server.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Jul 2011, 5:01 PM
#5
rabarrig avatar

rabarrig

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

kuroi:

If it doesn't the problem is most likely with the email settings either in your Zen Cart or on your server.

Thanks a lot for your answer, man. Do you know where i can find info about those settings (zen cart and server)? I think i can go on from there.

Greets.

4 Jul 2011, 6:07 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: The email form on "contact us" can't submit, why?

The Zen Cart email settings are cunningly hidden in the Admin > Configuration > Email Options menu. Those for your server will depend on how your server has been configured so are a question for your webhost.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Aug 2011, 11:31 AM
#7
dragonbro avatar

dragonbro

New Zenner

Join Date:
Apr 2011
Posts:
6
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

Hi all, after searching for a whole afternoon I failed to find answers so what I can do is to ask questions here. I appreciate any of your advice.

The email form on "contact us" can't send email, the error messages are:

Sorry, is your name correct? Our system requires a minimum of 2 characters. Please try again.
Sorry, my system does not understand your email address. Please try again.
Did you forget your message? We would like to hear from you. You can type your comments in the text area below.

I can send email through amin-tools-send email (which means my admin-email options setting is right?) The question is customers and site-viewers can send email to me.

I find this question has been asked in the forum by some other guys. But either the reasons are not same (some are caused by https, but mine is not), or seemed not to be answered correctly.

The error page on my site is: http://www.auto-acc.info/index.php?main_page=contact_us

---relevant information---
zen-cart version: 1.3.9h
addons: ultimate seo urls
hosting: godaddy shared hosting (linux)

Thanks in advance!!

31 Aug 2011, 12:48 AM
#8
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,324
Plugin Contributions:
40

Re: The email form on "contact us" can't submit, why?

Does it do this when switched to classic template? In your template directory /templates is the contact TPL there? Try renaming it, probably an old template.

~Melanie

31 Aug 2011, 7:14 AM
#9
dragonbro avatar

dragonbro

New Zenner

Join Date:
Apr 2011
Posts:
6
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

mprough:

Does it do this when switched to classic template? In your template directory /templates is the contact TPL there? Try renaming it, probably an old template.

~Melanie

I use template "lite_grey". Would it be possibly to be renamed?

31 Aug 2011, 12:10 PM
#10
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,324
Plugin Contributions:
40

Re: The email form on "contact us" can't submit, why?

Switch it to classic and try your form.....

~Melanie

1 Sep 2011, 9:39 AM
#11
dragonbro avatar

dragonbro

New Zenner

Join Date:
Apr 2011
Posts:
6
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

mprough:

Switch it to classic and try your form.....

~Melanie

I switched to classic, but unfortunately the error still exists...

any further advice?:no:

26 Sep 2011, 3:56 AM
#13
monim avatar

monim

New Zenner

Join Date:
Aug 2011
Location:
Kansas City, MO
Posts:
1
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

I have the same problem. I did replace the template file. It did not make any difference. Any suggestions?

3 Jan 2012, 1:54 AM
#14
keekee avatar

keekee

New Zenner

Join Date:
Dec 2011
Posts:
22
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

This is still happening.

I have version 1.5.0 and am getting the same 3 error messages.

I have switched to another template but it was happening on the classic install..

Cannot find a solution anywhere.

May all beings give and receive compassion, Live free from fear, And dwell in peace. - author
unknown

3 Jan 2012, 2:50 AM
#15
keekee avatar

keekee

New Zenner

Join Date:
Dec 2011
Posts:
22
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

There is a place to put your smtp server name and port but that is the outgoing setting.
I don't see where you put the incoming and that is different from the outgoing on my server.

I can send emails/newsletters from the admin panel just fine but the contact us will not work.

I get incoming mail on my server cp just fine.

May all beings give and receive compassion, Live free from fear, And dwell in peace. - author
unknown

17 Jan 2012, 4:16 AM
#16
keekee avatar

keekee

New Zenner

Join Date:
Dec 2011
Posts:
22
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

I'm not sure that the problem is in port settings as I cannot get the contact us to even try to send something and I can go into the zen cart admin and send an email to the two accounts I set up. I do realize the contact us is an in thing not an out thing but I would think even if something was set wrong on the ports then the contact us would still seem to work when typed into but just wouldn't arrive to my inbox.

I was careful to type properly the address in the dropdown box part from the admin.

Why would the you must enter two characters error trigger when the name I am putting in has 7 letters in both first and last name?

Why would the did you forget your message error trigger when I know I am typing plenty into the text area?

Why would the system not understand the email address when it is typed properly.

I don't really get the chance to see if the emails go where they are suppose to as I'm not getting past the form.

May all beings give and receive compassion, Live free from fear, And dwell in peace. - author
unknown

17 Jan 2012, 4:24 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: The email form on "contact us" can't submit, why?

KeeKee:

I'm not sure that the problem is in port settings as I cannot get the contact us to even try to send something and I can go into the zen cart admin and send an email to the two accounts I set up. I do realize the contact us is an in thing not an out thing but I would think even if something was set wrong on the ports then the contact us would still seem to work when typed into but just wouldn't arrive to my inbox.

I was careful to type properly the address in the dropdown box part from the admin.None of that is related to the errors on the input form.
KeeKee:

Why would the you must enter two characters error trigger when the name I am putting in has 7 letters in both first and last name?

Why would the did you forget your message error trigger when I know I am typing plenty into the text area?

Why would the system not understand the email address when it is typed properly.

I don't really get the chance to see if the emails go where they are suppose to as I'm not getting past the form.
All those errors are a result of a broken template.
There is javascript code that is built to match the template code, and if you change one of them then you need to change the other.

Without a link to your specific page we can't help you with anything specific. All we can do is tell you that your code is broken. A fresh install of original code works properly, so something you've added/altered is what's causing your troubles.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Jan 2012, 7:22 PM
#18
keekee avatar

keekee

New Zenner

Join Date:
Dec 2011
Posts:
22
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

The link is...
https://k e e s c r a p s.com/index.php?main_page=contact_us

I think I am getting the drift.

I changed the theme only so far ... so the template from the orginal needs to go somewhere into the new theme folders?

May all beings give and receive compassion, Live free from fear, And dwell in peace. - author
unknown

17 Jan 2012, 8:45 PM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: The email form on "contact us" can't submit, why?

I sent a test message from the form. Did you get it?

Also, why is your site flipping into HTTPS on all the pages? That's not normal. It seems like your SSL setup is incorrect in your host's configuration of your domain. I can't access any http:// directly on your site without it converting itself to https:// first. That causes error messages and confusion for customers. It's a server misconfiguration, not a Zen Cart problem.

I did see the errors on submitting the form. I can't confirm whether they're a result of the SSL issue though.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Jan 2012, 8:50 PM
#20
keekee avatar

keekee

New Zenner

Join Date:
Dec 2011
Posts:
22
Plugin Contributions:
0

Re: The email form on "contact us" can't submit, why?

No that isn't what you mean. I did go back to original to try to figure this out.
Javascript is not one I have studied on.

May all beings give and receive compassion, Live free from fear, And dwell in peace. - author
unknown