Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contact Form not working


jamo32

Recommended Posts

Posted

Hi

 

Using Bootstrap and cannot get the contact us page working when I try a test email, I do not get the email success page just mydomain.com/contact_us.php?action=send

 
 
 
 

Using Bootstrap 8-)

Posted

Hi

 

Thanks Burt tried that still the same , I have ssl the whole of the site(running for cover lol) any ideas , do I need to recode for ssl?

Using Bootstrap 8-)

Posted

Nothing wrong with running SSL full site, a lot of my clients do just that, and it is what Google prefer.

 

You need to ensure that your configure files are set correctly -> both HTTPS and HTTP are set to use https

Posted

Hi

 

I have forced ssl through the htaccess , can you give me an example of how my configure file should look.

 

Many Thanks

Using Bootstrap 8-)

Posted

Ok Thanks Burt 

 

I did what you said with the configure file and it worked.

 

Only thing is with the forced ssl making it a pain to login in admin any advice would be a great help.

Using Bootstrap 8-)

Posted

Your admin should ssl all the time anyway.  What's kind of pain are you running into?  If you try to go to a non ssl page that has Apache log in access protection it will ask for your credentials twice.  Also, if you try and do that through a nonssl page your password is not safe. 

I'm not really a dog.

Posted

Don't depend on .htaccess rewriting http to https. Correct your two configure.php files to specify https for both the HTTP* and the HTTPS* entries. Leave the http->https rewrite in .htaccess for the benefit of visitors who type in http instead of https.

 

It may be that if you're depending on .htaccess rewrite, that the first (http) attempt is getting the login (password protected directory) request, and then the second (https) is going through it again. Having it https all the way should eliminate the first password request, if that's what's happening. Visitors (except for hackers) shouldn't be in the password-protected admin anyway.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...