zurmo / Zurmo

GNU Affero General Public License v3.0
101 stars 41 forks source link

Form issue when using HTTPS #3

Open denysvitali opened 9 years ago

denysvitali commented 9 years ago

Due to HTTPS policy the form couldn't be loaded from https (because in the code the script url and other references (resources references) are set to http instead of //

This will cause a Mixed Content error in Chrome-like browsers due to this restriction (as it should be).

Possible fix: convert code from http to //

virtualadrian commented 8 years ago

You can edit the following file :

 app/protected/config/PerInstance.php

Make sure this setting has your url as HTTPS:

 $instanceConfig['components']['request']['hostInfo'] = 'https://crm.yourdomain.com';

Found the solution here:

http://zurmo.org/forums/index.php?/topic/4764-zurmo-ssl-nginx-the-plain-http-request-was-sent-to-https/