impresspages / ImpressPages

ImpressPages is php framework with admin panel. Build functional website in one hour.
http://www.impresspages.org
Other
501 stars 178 forks source link

HTTPS issue when accessing market #783

Closed severfire closed 8 years ago

severfire commented 8 years ago

js console:

Mixed Content: The page at 'https://site/?aa=RepositoryManager' was loaded over HTTPS, but requested an insecure resource 'http://market.impresspages.org/images-v1/?xdm_e=https%3A%2F%2Faddress.io&xdm_c=default3228&xdm_p=1'. This request has been blocked; the content must be served over HTTPS.

maskas commented 8 years ago

Chrome doesn't like the way we have implemented the marketplace. But it must work. As long as it works, you shouldn't be concerned about that error/warning.

severfire commented 8 years ago

Nothing shows up as content is blocked. The store doesn't work with HTTPS.

maskas commented 8 years ago

You can apply these fixes to your ImpressPages installation or add the following line to config.php file:

'pluginMarketUrl' => 'https://market.impresspages.org/plugins-v1/?version=4&cms=1'

severfire commented 8 years ago

plugin_market.js?40:58Uncaught SecurityError: Blocked a frame with origin "https://market.impresspages.org" from accessing a frame with origin "https://site.com". Protocols, domains, and ports must match.

seems like in long run would be good doing that through API

the problem is that more and more sites are going to HTTPS as google is looking better at pages with SSL.

a.

maskas commented 8 years ago

I regret the technology used behind the communication between the website and the server. API would work mutch better. But it is as it is for now.

I'm getting that error as well. EasyXDM library used in the market should do the job even when that error appears and it does work for me with these changes https://github.com/impresspages/ImpressPages/commit/ed18158e9ce10f72e468d2ec4cddbcf79e782957

Are you sure you have replicated all those changes identically?

4eburashk commented 5 years ago

Сделайте внятную документацию хотябы по использованию http https // непонятно что писать в config.php