Hello
I have an error from chrome saying the submit of the contact form is insecure.
I have done everything required for the entire site to be SSL enabled.
I see someone else has this same error with no adequate response so far.
Version 3.0.3.6
I have an error from chrome saying the submit of the contact form is insecure.
I have done everything required for the entire site to be SSL enabled.
I see someone else has this same error with no adequate response so far.
Version 3.0.3.6
Last edited by mikeinterserv on Sun Dec 20, 2020 4:21 am, edited 1 time in total.
Do you have a site url we can look at? Did you check all your configs? Does it only happen in chrome? is this a new install without modifications? What theme are you using?mikeinterserv wrote: ↑Sat Dec 19, 2020 11:10 pmHello
I have an error from chrome saying the submit of the contact form is insecure.
I have done everything required for the entire site to be SSL enabled.
I see someone else has this same error with no adequate response so far.
Version 3.0.3.6
cue4cheap not cheap quality
Yes new install
https://www.************.co.uk/Shop/index.php?route=information/contact
Also the success text does not display just the title Contact Us after the form is sent.
Feel free to test it
The email works correctly.
When you inspect the success page in chrome the url for the continue button that takes you back home is an http url and NOT https that is what chrome must be seeing to throw the error Also the image LOGO to take you to home page also has http url and NOT https
https://www.************.co.uk/Shop/index.php?route=information/contact
Also the success text does not display just the title Contact Us after the form is sent.
Feel free to test it
The email works correctly.
When you inspect the success page in chrome the url for the continue button that takes you back home is an http url and NOT https that is what chrome must be seeing to throw the error Also the image LOGO to take you to home page also has http url and NOT https
Last edited by mikeinterserv on Sun Dec 20, 2020 5:35 am, edited 2 times in total.
I checked those config files
http server has http
https server has https
etc
HTTPdefine('HTTP_SERVER', 'http://www.**********/Shop/');//
HTTPSdefine('HTTPS_SERVER', 'https://www.********/Shop/');//
Where do you think the http links are coming from as oppose to https
http server has http
https server has https
etc
HTTPdefine('HTTP_SERVER', 'http://www.**********/Shop/');//
HTTPSdefine('HTTPS_SERVER', 'https://www.********/Shop/');//
Where do you think the http links are coming from as oppose to https
Last edited by mikeinterserv on Sun Dec 20, 2020 5:36 am, edited 1 time in total.
It's the redirect that is wrong. Which is this line.
https://github.com/opencart/opencart/bl ... ct.php#L27
This points to a issue with congfig.php. Are both HTTP_SERVER and HTTPS_SERVER set to https?
https://github.com/opencart/opencart/bl ... ct.php#L27
This points to a issue with congfig.php. Are both HTTP_SERVER and HTTPS_SERVER set to https?
Yes, they both need to be https if you want your whole site to use https.
It comes from that older versions could have some pages http and some https. This was broken in version 2 onward. So you just have so set both to https.
It comes from that older versions could have some pages http and some https. This was broken in version 2 onward. So you just have so set both to https.
OK thank you very much for your help
I will do this and report back
Thanks again I didn't know you had to do that
I will do this and report back
Thanks again I didn't know you had to do that
OK that worked perfectly for the chrome error
I still do not see success text that message has been sent to store owner
Just Contact Us title as you can see - any thoughts on that
Its working and the email comes through but no success text
I still do not see success text that message has been sent to store owner
Just Contact Us title as you can see - any thoughts on that
Its working and the email comes through but no success text
In catalog/language/en-gb/information/contact.php
Try changing.
To.
Try changing.
Code: Select all
$_['text_success'] = '<p>Your enquiry has been successfully sent to the store owner!</p>';
Code: Select all
$_['text_message'] = '<p>Your enquiry has been successfully sent to the store owner!</p>';
Thank you so much, worked PERFECT
How is such a simple error there in a brand new install.
Do you know why the email shows as having an attachment in the inbox
How is such a simple error there in a brand new install.
Do you know why the email shows as having an attachment in the inbox
Probably the use of Content-Type: multipart/mixed.
This was changed here for some reason. You could try changing it back to multipart/related in the mail/mail.php and mail/wmtp.php files.
https://github.com/opencart/opencart/co ... cbfb105033
Both are probably wrong for a plain text only email.
This was changed here for some reason. You could try changing it back to multipart/related in the mail/mail.php and mail/wmtp.php files.
https://github.com/opencart/opencart/co ... cbfb105033
Both are probably wrong for a plain text only email.