Forum Support

Shape 5
March 29, 2024, 03:58:28 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SSL enabled - Menu Style not working  (Read 7218 times)
mbg_ch
Jr. Member
**
Offline Offline

Posts: 5



« on: October 19, 2016, 08:51:18 AM »

Dear Shape5 Team

I have enabled SSL on my Joomla Installation with the Vertex template. Now the dropdown menu is not shown correctly anymore, the style is not ok. I have already tried in index.php of the the template to remote http:// before the Google fonts URL. But no result.

My URL is https://www.vogelherdclub.ch

Can you please take a look what's wrong?

Regards, Martin
« Last Edit: October 19, 2016, 09:12:03 AM by mbg_ch » Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: October 19, 2016, 12:09:45 PM »

Hello,

Do you have any JS or CSS compression enabled on the site or in Vertex admin? Please try disabling this and see if it then works.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mbg_ch
Jr. Member
**
Offline Offline

Posts: 5



« Reply #2 on: October 19, 2016, 12:40:49 PM »

Hello,

Do you have any JS or CSS compression enabled on the site or in Vertex admin? Please try disabling this and see if it then works.

Hi Jonah

Thank you, now it works fine. Btw, would it help if I update to Vertex 4.0? Or is this a general recommendation to disable compression when using SSL?

Regards, Martin
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: October 20, 2016, 12:00:05 PM »

Yes please try upgrading to Vertex 4 and see if this fixes the issue with it
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mbg_ch
Jr. Member
**
Offline Offline

Posts: 5



« Reply #4 on: October 20, 2016, 01:11:25 PM »

Hi Jonah

Just upgraded, seems to be fixed. I have enabled JS and CSS compression and the menus are ok.

Regards and thanks for your support.

Martin
Logged
martijnm
Jr. Member
**
Offline Offline

Posts: 2



« Reply #5 on: April 18, 2017, 08:36:07 AM »

I had this problem also updating to 4. I tried to solve it looking why, because I use the template in more than one site and more than one hoster. At one hoster its a problem, at another hoster it is not.
I do think the problem is in the top an bottom_css_and_js_compression.php.
Code:
$_SERVER['REQUEST_SCHEME'] = ($_SERVER["HTTPS"] == 'on') ? 'https' : 'http';
does not work the same for every installation (hoster).
I found that even installing in a subdomain (HTTP) under a domain (HTTPS) is giving problems.
I am not a programmer , but why don't you use the variable $force_ssl  from the configuration.php to decide if it SSL or not?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #6 on: April 18, 2017, 11:59:33 AM »

Hello,

$_SERVER['REQUEST_SCHEME'] is a pretty standard and common way of determining ssl, it determines it on the server level. That particular line of code has never caused any issue before.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
martijnm
Jr. Member
**
Offline Offline

Posts: 2



« Reply #7 on: April 19, 2017, 02:36:53 AM »

Switching on the JS compression wil break my site (no drop down).
My hoster is using Apache 2.2 and if you have a look at this discussion you will see it is not a good idea to use it: http://stackoverflow.com/questions/18008135/is-serverrequest-scheme-reliable
Just my two cents, do the thing you think that is good.
Logged
tropenet
Jr. Member
**
Offline Offline

Posts: 2



« Reply #8 on: October 22, 2017, 10:30:18 PM »

https://mortgage.tropens.com having same problem... compression was NOT enabled, so I turned it on, which appeared to fix the problem, but only for a couple of days... now it doesn't matter if compression is on or off, menu appears as list of text above page header.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #9 on: October 23, 2017, 06:52:01 AM »

Hello,

I looked at your site and it appears to be loading fine. If you're still having trouble go to the General tab in the template configuration and enter your full url under "Your Site URL if SEO enabled", this will override the calls and call your files from the exact url you enter.

Also, please post any future questions in the Design Control board so we can address a specific product.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.