Jump to content

SSL Problem (HTTPS and more)


Recommended Posts

Hello,
 
I have a few problems.
 
1.) Does not work SSL (HTTPS) - I had to write into .htaccess 
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !^https$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] 

Ok, subdomain URL redirected on HTTPS. And here is the problem: (image: images_problem_ssl.JPG)

Default images URL is HTTP. How to all adress on HTTPS (Images)?

 

Because if is the source of the images on HTTP, so it not work SSL (HTTPS) - You can see the grey lock in the address.

 

2.) I can't add an item to your shopping cart. Error:

Impossible to add the product to the cart.
textStatus: 'error'
errorThrown: ''
responseText:

Chrome pops up an error:

XMLHttpRequest cannot load http://obchod.xxxxxx.cz/index.php?rand=1406760690100. The request was redirected to 'https://obchod.xxxxxx.cz/index.php?rand=1406760690100', which is disallowed for cross-origin requests that require preflight.

 

Thank you all for the answers.

 

Sorry for my bad English

post-823723-0-58199500-1406760339_thumb.jpg

Edited by Fastmancz (see edit history)
Link to comment
Share on other sites

you enabled SSL on each page in your back office preferences > general ?

Hi Vekia,

 

Thanks for the reply.

Yes. I already activated, but it doesn't work. On the main page is HTTPS does not appear. Therefore, I had to use .htaccess. Unfortunately I still don't know what to do with it.

post-823723-0-92618200-1406805408_thumb.jpg

Link to comment
Share on other sites

Hi there,

 

I hope I am here in the right forum.

 

I need help too. I just activated ssl (prestashop 1.6.0.9)  and I have the standard theme (default-bootstrap version 1.0) installed.

 

Normally with SSL I should see a lock symbol next to the URL which is the case in the backoffice, but in the front office

 

there is a triangle with a ! When I click on it it shows me the info that some pictures and graphs are not secure.

 

Is there a way to solve this ?

Link to comment
Share on other sites

Thank you for your response. The Url is http://secondhand-obchod.sk

 

I contacted the server provider and they gave me these answers:

 

Check thist:
The page at 'https://secondhand-obchod.sk/sk/' was loaded over HTTPS, but displayed insecure content from 'http://secondhand-obchod.sk/modules/themeconfigurator/img/footer-bg.png': this content should also be loaded over HTTPS.

 

SSL certification is correct. You can checkt it on http://www.sslshopper.com/ssl-checker.html#hostname=secondhand-obchod.sk

 

I saw however that some big sites like ebay and alibaba have the same behaviour on their login page, so this might be

 

be as unusual as I thought in the first place. I am just wondering why to make ssl if customers get a warning that the site

 

is not fully secure. In this case it might even give a better impression not to install ssl at all.

 

 

Probably I am wrong here on this page with my second problem as well.

 

The webcron's in my site are not working. On the server they seem to work:

" As we can see in access log the scripts (you have putted in webcron) has been initialized. You can check it too in the acces log.

46.229.230.32 - - [07/Aug/2014:20:00:02 +0200] "GET /modules/belvg_backup/cron.php HTTP/1.0" 200 18"

 

But in my website nothing is happening.

 

I read in some older posings that webservice could be a solution for this with a key and also activated this now, but still

 

there seems to be a problem. Any suggestions how to solve that too ?
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...