• When customers attempt to submit on the Contact Form it redirects them to a 404 error page.

    Also the map will not show either. We used to be able to resolve this by updating the PHP to point to https instead of http, but that code has been changed and no longer works.

    • This topic was modified 4 years, 9 months ago by twomenspa.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 20 total)
  • Theme Author marsian

    (@marsian)

    From your page source i can see you have problem with your address
    the address is truncated after “1500”.
    i am not sure which character you are using after that, ( ex : ” or ‘ )
    try removing or replacing that character in your address.

    Thread Starter twomenspa

    (@twomenspa)

    Thank you – the current address is written as 1500 Old Missouri 21, Arnold, MO, 63010

    We have not changed it and it worked before the last theme update. What should I change it to?

    Do you have any direction on the 404 error we’re getting when someone submits the contact form?

    Theme Author marsian

    (@marsian)

    Try some other address like

    522 E Amelia St, Orlando, FL 32803, United States

    and check if works or not
    if works, the problem is with your address

    Thread Starter twomenspa

    (@twomenspa)

    I tried the exact address you listed and the same problem still occurs.

    Theme Author marsian

    (@marsian)

    Ok let me investigate the issue

    Theme Author marsian

    (@marsian)

    plugin like “leazyload” or something like that changing the embed code.

    1. try deactivating all plugin except “TemplatesNext OnePager” and see if that works.
    2. if works Activate plugins one by one until you find the plugin causing the issue.

    Thread Starter twomenspa

    (@twomenspa)

    I tried that on our DEV site (https://twomenandaspadolly.com/dev) and there is no change.

    Currently the dev site only has the one plugin, TemplatesNext OnePager, activated.

    Theme Author marsian

    (@marsian)

    Could you please change the dev site google map address to

    E Ridgewood St Orlando, FL 32801 USA

    and let me know

    Thread Starter twomenspa

    (@twomenspa)

    Sure thing! I changed it to E Ridgewood St Orlando, FL 32801 USA but there is no change to the functionality.

    Theme Author marsian

    (@marsian)

    One more step,
    How did you add the Phone and Email,

    could you remove that, there is something changing the the code, it might be a broken HTML in the phone and email.

    Thread Starter twomenspa

    (@twomenspa)

    The phone & email under “Contact Us” is the subtitle. The code has always been <a href="tel:3143537727">314-353-SPAS (7727)</a> | <a href="mailto:[email protected]">[email protected]</a> and worked.

    I have removed that and there is no change to the functionality.

    • This reply was modified 4 years, 9 months ago by twomenspa.
    Theme Author marsian

    (@marsian)

    Ok thanks! which version of “TemplatesNext OnePager” are you using?
    could you drag the section above the testimonial section.

    Things are working perfectly in our demo https://www.wp-demos.com/i-amaze/
    If the plugin as any issue we will have to find it out.

    Thread Starter twomenspa

    (@twomenspa)

    We are using Version 1.2.9 of TemplatesNext OnePager on the dev and prod site.

    I changed the order on our dev site and still no change.

    Thread Starter twomenspa

    (@twomenspa)

    Is there any specific way to input the address?

    It seems like the pho echo is working in the plugin template for home-contact.php, but I don’t understand enough about php or iframes to see how it knows to escape the spaces in the address to form a whole link.

    • This reply was modified 4 years, 9 months ago by twomenspa.
    • This reply was modified 4 years, 9 months ago by twomenspa.
    Theme Author marsian

    (@marsian)

    The address is already sanitized with WordPress function esc_attr() , it wont change the text unless you have any HTML entity.

    the code in your page looks like

    
    <iframe scr="”//maps.google.com/maps?q=1500" old="" missouri="" 21,="" arnold,="" mo,="" 63010&output="embed&noscroll=1&quot;" width="100%" height="340"></iframe>
    

    it should look like

    
    <iframe src="//maps.google.com/maps?q=E Ridgewood St Orlando, FL 32801 USA, india&output=embed&noscroll=1" width="100%" height="340"></iframe>
    

    some how the spaces in your address are replaced with double quotes

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Contact Form 404 and Missing Map’ is closed to new replies.