Nop 2.70 Mobile SSL - "Error Loading Page"

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 年 前
Hello,

Just installed Nop 2.70 with both SSL enabled (not shared) and mobile site enabled. When site is viewed thru mobile/ipad, some buttons are displaying "Error Loading Page" message. For example, when browsing at home screen, all SSL pages such as shopping cart, login, register & wishlist  returns "Error Loading Page".

When SSL is disabled, mobile pages works normally again.

Thank you for your help.

- jr
11 年 前
Thanks a lot for reporting

Please do the following:
1. Open /Views/Shared/_Root.Head.Mobile.cshtml file (Nop.Web project)
2. Remove "$.mobile.hashListeningEnabled = false;" line of code
11 年 前
Hello Andrei.

I removed ""$.mobile.hashListeningEnabled = false;" from _Root.Head.Mobile.cshtml and cleared browser cache; but the problem still there.

I notice something, I viewed jquerymobile source page from mobile browser:

1. If I browse SSL enabled mobile homepage using just http://, the top buttons: register, shopping cart, login, whishlist have relative url such as '/cart', '/login', '/wishlist'. If I click these buttons, I get 'Error Loading Page', because I think NOP tries to re-open them using https://

2. If I browse the mobile directly to https://.../cart, the cart page displayed without problem -- all the top buttons works (ie. I can click on register, shopping cart, login, whishlist without problem) . However, some of bottom buttons (ie. Contact Us, Compare Products list) are now displaying "Error Loading Page" when clicked. I think NOP tries to re-open them with just http://.


Thank you for your help Andrei.

- jr
11 年 前
Please see changeset 9798c815329a. Please apply it and let me know if it helps
11 年 前
Hi,

When we make changeset changes do i presume we Delete the red highlighted code and replace with green or do we  copy all the code and replace exsisting.

Garrie
11 年 前
garrie007 wrote:
we Delete the red highlighted code and replace with green

right. this way
11 年 前
Hi,

Thank you.

Garrie
11 年 前
So did it help?
11 年 前
Hi Andrei, it works!! The mobile site now works with SSL.

Thank you so much for your help.

- jr
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.