Welcome, Guest
Username Password: Remember me

Not working with SSL Redirect (by Yireo.com) extension
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Not working with SSL Redirect (by Yireo.com) extension

Not working with SSL Redirect (by Yireo.com) extension 8 years, 3 months ago #10681

  • rvillela
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
I am not sure if it is MobileJoomla or the Elegance template, but when SSL Redirect is enabled, all SSL redirected pages do not work when clicking on the menu. If a page is flagged as SSL secure (like Virtuemart) and I click the menu to that secure page, I simply get a "Error Loading Page" error on the mobile site.
This happens both on the phone as well as a PC with the device=iphone query string. The plugin works perfectly fine in Standard Mode.

I have MobileJoomla and the Elegance Template installed along with SSL Redirect.
When SSL Redirect is enabled, all SSL redirected mobile pages do not work when linked by a menu.

- The plugin works great in the non-mobile mode
- If a page is added to the Custom SSL-Pages and I click a menu to that secure page, I simply get a "Error Loading Page" error while in mobile mode.
- While in Mobile mode, I can manually type in the url with https and it works find
- When I am in one mode (http or https) and try to click on a link that changes the http mode, it will not load the page.
Last Edit: 8 years, 3 months ago by rvillela.

Re: Not working with SSL Redirect (by Yireo.com) extension 8 years, 3 months ago #10687

  • dryabov
  • NOW ONLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
What Elegance version do you use? And what is URL of your site?

Re: Not working with SSL Redirect (by Yireo.com) extension 8 years, 3 months ago #10698

  • rvillela
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Elegance 1.1.3
The site is test.NutritionNetwork.com

Re: Not working with SSL Redirect (by Yireo.com) extension 8 years, 3 months ago #10699

  • rvillela
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Sorry, I do not have the SSL certificate on the test environment, please try www.NutritionNetwork.com

Please use the following credentials:
User: jdoe
Pass:test123
After login, click on "Welcome Jane Doe", select the My Account Menu and try to click on My Cart

At this point, SSL Redirect tries to redirect to https but fails with "Error loading page"
If you manually type in the URL: www.nutritionnetwork.com/my-cart, SSL Redirect will redirect to the https mode correctly.
But now that you are in https mode and you try to click on a non-https link, SSL Redirect will try to switch back to http. But again this fails.
Last Edit: 8 years, 3 months ago by rvillela.

Re: Not working with SSL Redirect (by Yireo.com) extension 8 years, 3 months ago #10727

  • dryabov
  • NOW ONLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
Do you set "Secure: On" in menu item settings or use htaccess-based redirect?
The following user(s) said Thank You: rvillela

Re: Not working with SSL Redirect (by Yireo.com) extension 8 years, 3 months ago #10728

  • rvillela
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Thank you very much! I was not aware of the setting in the menus to select SSL. Once I did this, Mobile is now working properly. Thanks again the the resolution.

Re: Not working with SSL Redirect (by Yireo.com) extension 7 years, 5 months ago #14816

  • americord
  • OFFLINE
  • Junior Boarder
  • Posts: 23
  • Karma: 0
There seems to be a bug with Ajax navigation turned on and SSL redirection.

Our menu items are all non-SSL, but we have a form page that does require SSL. When you go to that SSL page, the menu items change to https:// links (since they're now on an SSL page). The SSL redirect plugin should handle these such that www.mydomain.com is redirected to www.mydomain.com.

It does this through a redirect that the Ajax navigation does not seem to handle properly. Once I turn off Ajax navigation in the Mobile Elegance theme, the menu items redirect properly.

Any thoughts on this?

Re: Not working with SSL Redirect (by Yireo.com) extension 7 years, 5 months ago #14819

  • dryabov
  • NOW ONLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
americord, could you enable AJAX and PM me link to that SSL page?

Re: Not working with SSL Redirect (by Yireo.com) extension 7 years, 5 months ago #14822

  • americord
  • OFFLINE
  • Junior Boarder
  • Posts: 23
  • Karma: 0
cordadvantage.com/request-info

If you could take a look and let us know, that would be great. I'd like to have it working for now.

Thanks again.

Re: Not working with SSL Redirect (by Yireo.com) extension 7 years, 5 months ago #14827

  • dryabov
  • NOW ONLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
Try to add following code to templates/mobile_elegance/js/custom.js (create if doesn't exist and note that _custom.js is just a sample file):

jqm.ajaxSetup({
complete: function(jqXHR){
if(jqXHR.status==0 && jqXHR.statusText=='error' && this.type=='GET'){
location.href = this.url;
}
}
});
  • Page:
  • 1
  • 2
Time to create page: 0.13 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.