If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Contact Form no longer working, all other site mail are ok (Orders,new customers ecc)

Contact Form no longer working, all other site mail are ok (Orders,new customers ecc)

Started by joe_schiaffi on 6 Dec 2015, 2:34 PM · Views: 675

Results 1 to 8 of 8
6 Dec 2015, 2:34 PM
#1
joe_schiaffi avatar

joe_schiaffi

New Zenner

Join Date:
Nov 2010
Posts:
10
Plugin Contributions:
0

Post #1 by joe_schiaffi

Hi there,

Unfortunately I've realized (thanks to some customers that informed me) that my contact us form is no longer working: if you try, you are continuosely sent to the form page, nothing is sent.
This while all other site mail (orders confirmations, new customers, and so) are ok.

I've searched the forum and googled the problem, but all solutions suggested (mail configuration, changing mail function type) were not working for me, so I'm asking for some help.

The site URL is: https://www.jollyrogerbay.it the contact us form is "Contattaci"

Thanks in advance

6 Dec 2015, 3:01 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #2 by lat9

You've got some major issues with your site's page-rendering. Viewing either the home-page or the contact_us page, and then using my browser's "View Source", I see the following at the start of each page:

</head>

<div id="bollinoblu"><a href="http://www.jollyrogerbay.it/store/about_us"><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/bollinoblu.png"></a></div>

<div id="bollinorosso"><a href="http://www.jollyrogerbay.it/store/about_us"><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/bollinorosso.png"></a></div>

<div id="pulsantespedizione"><img src="http://www.jollyrogerbay.it/store/images/banners/spedizionigratuite.png"></div>

<div id="barrasmartphone"><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/images/infosmart.png"></div>

<div id="navigationNUOVA"><a href="http://www.jollyrogerbay.it">HOME</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=about_us">CHI SIAMO</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=login">AREA UTENTE</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=products_new">NOVITA'</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=specials">OFFERTE</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=contact_us">CONTATTI</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=shippinginfo">SPEDIZIONI</a><img src="http://www.jollyrogerbay.it/store/includes/templates/carlisle_fresh/trasp.png"><a href="http://www.jollyrogerbay.it/store/index.php?main_page=page_4">FEEDBACK</a><img src="http://www.jollyrogerbay.it/store/images/banners/traspa.png"><a href="http://www.facebook.com/jollyrogerbay"><img src="http://www.jollyrogerbay.it/store/images/banners/facebooksmall.png"></a><a href="http://twitter.com/JRBVideogames"><img src="http://www.jollyrogerbay.it/store/images/banners/twittersmall.png"></a><a href="http://www.youtube.com/user/jollyrogerbaygames"><img src="http://www.jollyrogerbay.it/store/images/banners/youtubesmall.png"></a><img src="http://www.jollyrogerbay.it/store/images/banners/traspa.png"><img src="http://www.jollyrogerbay.it/store/images/banners/numasssmall.png"><img src="http://www.jollyrogerbay.it/store/images/banners/traspa.png"><img src="http://www.jollyrogerbay.it/store/images/banners/iconepostepaypaypal.png"><img src="http://www.jollyrogerbay.it/store/images/banners/iconasda.png"></diV>

See how there's no <body> tag? That tag winds up below all the extraneous div's and links identified above, with all that unwanted content repeated.

That's the source of the issue on your contact-us page.

6 Dec 2015, 3:15 PM
#3
joe_schiaffi avatar

joe_schiaffi

New Zenner

Join Date:
Nov 2010
Posts:
10
Plugin Contributions:
0

Post #3 by joe_schiaffi

Hi there,

thanks really a lot for your precious help: the BODY tag was missing in all the pages, I've managed to add it, but sadly the contact page still doesn't work :(

It has the same problem than before, I really cannot figure it out

6 Dec 2015, 4:23 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #4 by lat9

Unfortunately, it's more than just adding the <body> tag; if you look further down in the generated HTML for each page, there is a <body> tag already. That's breaking your contact_us page (and possibly others).

It looks like your template's common/tpl_main_page.php or common/html_header.php is including a section of code (unwanted) prior to the properly-coded <body> tag at the start of the tpl_main_page.php module.

6 Dec 2015, 4:46 PM
#5
joe_schiaffi avatar

joe_schiaffi

New Zenner

Join Date:
Nov 2010
Posts:
10
Plugin Contributions:
0

Post #5 by joe_schiaffi

Thanks again for your time,

I've seen that a Body Tag was already there and there was a lot of code outside the Body tag (instead inside it), I've changed and moved that code and moved inside the Body tag, it's still not working because I think i need some more work on it but I can't figure it out what else I have to move

7 Dec 2015, 4:41 AM
#6
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #6 by frank18

Joe Schiaffi:

Hi there,

Unfortunately I've realized (thanks to some customers that informed me) that my contact us form is no longer working: if you try, you are continuosely sent to the form page, nothing is sent.
This while all other site mail (orders confirmations, new customers, and so) are ok.

I've searched the forum and googled the problem, but all solutions suggested (mail configuration, changing mail function type) were not working for me, so I'm asking for some help.

The site URL is: www.jollyrogerbay.it the contact us form is "Contattaci"

Thanks in advance

Did you make any changes recently?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Dec 2015, 6:43 AM
#7
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #7 by carlwhat

joe,
as some have stated, you have some problems with the html on your site. the other emails are generated in the background after completion of a specific event, ie create a customer account, successfully checkout an order, etc. the contact us page is a form, and if you have problems with the html form elements, the contact us page will not work.

i've looked at the main page of your site and attempted to validate it using an on-line html validator. you can see the results here:

https://goo.gl/2XfWye

while all errors being reported do not necessarily need to be cleaned up, i would suggest making a real attempt. 1129 errors and 1463 warnings is not good; and while it may seem intimidating at first, i have a feeling you can clean up a lot of it rather quickly.

the contact us page similarly has 970 errors and 1184 warnings. see:

https://goo.gl/gl4cZc

i think once you clean those errors up, it will be far easier to troubleshoot why your form is not sending an email to you.

good luck!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

7 Dec 2015, 3:30 PM
#8
joe_schiaffi avatar

joe_schiaffi

New Zenner

Join Date:
Nov 2010
Posts:
10
Plugin Contributions:
0

Post #8 by joe_schiaffi

I didn't imagined that there would be so much html errors in the pages code. I've checked and a part of them are from the basic code of my template (other than other code I wrote).

So, now I'm gonna work on it, The important thing is that now thanks to you I know for sure that it''s an HTML error and not webserver related.

thanks a lot for the help to everyone