Site switches to mobile theme in IE 10 desktop. I've checked all the settings and the only setting change that makes a difference is shutting the theme switching option off. -_-

I've tried using browsecap and the included Mobile Tools Detection and still nothing's changed. Also tried shutting the cache off, still nothing.

P.s. Could this be because IE10 is used in Windows phones too?

Comments

nateman332’s picture

Title: Site switches to mobile theme in IE 10 » Site switches to mobile theme in desktop IE 10

Changed title to better reflect the problem.

bleda01’s picture

I have seen this too, but also have another website where device theme switching is fine. The website which is working uses Mobile Tools 6.x-2.3 so I copied this version to my new website but IE10 is still switching when it should not. Does this indicate an interaction with other modules? The not working site had Browsecap 1.5, but the working site did not have browsecap so I disabled browsecap and removed the module - but IE10 is still switching.

nateman332’s picture

Why don't you try and test what module is not working with it (if that's the problem) by disabling each (other) module one by one until it works? I'd do it myself but the site it isn't working on is a production site (I've disabled the module for now) and I don't have a test environment to test it on.

Do you think you could list what modules (the site it isn't working on) is running? then I could narrow down what modules might not be working with this module (by comparing them with the modules I'm running).

nateman332’s picture

*Update*
I've installed the browscap perl module (through cpanel) and redefined the directory browscap.ini is in (in php.ini) and now it's working on mobile and it's not switching in IE desktop...but on mobile it's switching only on inner pages.

*edit* scratch that, it's still not working

nateman332’s picture

Project: Mobile Tools » ThemeKey
Version: 6.x-2.7 » 6.x-4.0
Component: Code » Code / API

I've stopped using mobile tools and just used themekey and themekey properties and the problem is still occurring, looks like this is a problem with themekey (mobile tools uses themekey to switch themes).

mkalkbrenner’s picture

Category: bug » support

AFAIK only Mobile Tools 7.x-2.x are using ThemeKey!

If you're now using ThemeKey only you should turn on ThemeKey Debug and trace the theme switching. That will lead us to the problem quickly.

nateman332’s picture

In that case there is a problem with both modules, because it happens with mobile tools on and themekey off and vise versa, therefor I'm keeping this in themekey. someone else can create another issue in mobile tools if they want.

nateman332’s picture

Status: Active » Postponed

I'm postponing this issue off because I've switched modules (I'm using domain access) due to this being on a production site (it needs to be online), but if anyone else has this problem and can trouble shoot it, feel free to re-open it.

mkalkbrenner’s picture

Status: Postponed » Closed (cannot reproduce)

no activity for 2 months => close

ronline’s picture

Version: 6.x-4.0 » 7.x-2.5
Status: Closed (cannot reproduce) » Fixed

The same issues here.
The switch rule was set for Android, iPhone and iPad but it was switching to every connected OS => Linux / Desktop, Mac OS ( Firefox, Chrome )..
Turning off the caching in admin/config/development/performance and clearing the cache fix the problem.

nateman332’s picture

Status: Fixed » Active

Turrning off caching is not always an option for some people so it's not really fixed, but it looks like the way the module is caching may be part of the problem.

mkalkbrenner’s picture

Status: Active » Closed (cannot reproduce)

re-set the previous status

mkalkbrenner’s picture

Issue summary: View changes

added Site switches to mobile theme in IE 10 desktop.