Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
lutz Bremen
Theme is not loaded on https....
January 22, 2013 4:20 AM
Answer

lutz Bremen

Rank: Expert

Posts: 296

Join Date: October 20, 2011

Recent Posts

we implemented https connetion to our portal and now the themes aren't shown corretly. i call our main page, everything is fine. then i go to a page on /web/name and the theme isn't shown correctly. it seems that the theme isnt loaded. what can we do to fix thuis?
Prakash Khanchandani
RE: Theme is not loaded on https....
January 22, 2013 4:51 AM
Answer

Prakash Khanchandani

Rank: Expert

Posts: 261

Join Date: February 10, 2011

Recent Posts

I am also using https but the themes are shown fine. May be you are using external CSS files in your theme or you can check your settings on server in regards to static content?
Gaurav Jain
RE: Theme is not loaded on https....
January 22, 2013 5:01 AM
Answer

Gaurav Jain

Rank: Regular Member

Posts: 141

Join Date: January 31, 2011

Recent Posts

Check if your browser have blocked some files (css/js) from rendering because of insecure content (this usually happens in case of not trusted https)

Generally you see this in form of an icon in the right corner of url bar in the browser.


OR

please check if you have same theme applied on your group '/web/name'. Maybe some different logic is written incase this group is renderd?
lutz Bremen
RE: Theme is not loaded on https....
February 4, 2013 2:00 AM
Answer

lutz Bremen

Rank: Expert

Posts: 296

Join Date: October 20, 2011

Recent Posts

I did some research and i found out some interesting things. In the konfiguration of the Websites we've added virtual host adresses for public sites. I call https://www.name.de/web/example and the Theme is NOT correctly.
For example www.example.com. When i call https://www.example.com i get a Warning that the certificate is not for this site. this is correct because the cer ist for *.name.de. But if I add this exeption and go to https://www.name.de/web/example the site works correctly and https://www.example.com too.

So my thought is, that there is a connection between the virtual host entry and the missfunction of the Theme under https.
When I'm analysing the site with firebug i can see that the site is trying to load the theme from a totally wrong place. And in the <head> is see that it is requesting files from www.example.com, but this is only the entry of the virtual host.