Mrkay Posted October 18, 2012 Share Posted October 18, 2012 When I submit my contact form I get an Firefox error "server not found". Clearly this line of code is causing the error:- <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std bordercolor" enctype="multipart/form-data" id="contact_form"> I know this because the url of the Contact page is http://www.modern-living.co//en/contact-us And the one shown in the address bar after submission is: http://en/contact-us I can only presume it's something in the <for action= statement. Can anybody see an error in the code. Thanks in advance. Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 18, 2012 Share Posted October 18, 2012 When I submit my contact form I get an Firefox error "server not found. Clearly this line of code is causing the error" Not necessarily. There is a problem with the way your URLs are built in general. Notice the second, spurious slash in every URL: ...living.co//... This may be due to the theme you are using or URLs setup under Preferences > SEO & URLs tab. Looks like you are not using multiple languages. First turn off caching and turn on force compile (Preferences > Performance tab). Disable all installed languages that are not in use (Tools > Languages tab). Regenerate .htaccess file (Tools > Generators tab). You can then revert cache and compile settings. Post again if this does not solve it. Hope that helps! Marty Shue 1 Link to comment Share on other sites More sharing options...
Mrkay Posted October 19, 2012 Author Share Posted October 19, 2012 (edited) Thanks once again Marty. The problem was with the double back slash in the url. I removed it from the main shop url in Preferences > SEO & URLs tab. Next time I'm in Carolina, I'll buy you 2 beers. Edited October 19, 2012 by Mrkay (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 19, 2012 Share Posted October 19, 2012 Thanks once again Marty. The problem was with the double back slash in the url. I removed it from the main shop url in Preferences > SEO & URLs tab. Glad to hear you got it sorted. Next time I'm in Carolina, I'll buy you 2 beers. Don't drink beer........could we make it a couple of old fashioned Carolina Sundrops Marty Shue Link to comment Share on other sites More sharing options...
Recommended Posts