Chrome is detected as mobile browser

Permalink
One of the sites I created with C5 shows perfectly fine on all browsers other than Chrome. There is uses the mobile theme which works great on all mobile devices.
Did anybody ever encounter this?

Thanks for your help

The site is
http://www.tandemdigital.com

shotrox
View Replies:
c5box replied on at Permalink Reply
c5box
Hi,

I checked your site on my chrome and it displayed as it would on a desktop view. You might have accidentally triggered the chrome device view. Is it only on mobile view for your site and not any else? try clearing your chrome's cache and look for the device view setting and disable it.

Hope everything goes well.
barco57 replied on at Permalink Reply
barco57
I checked in multiple browsers on the desktop and I find that in chrome it looks the same as it does in other browsers
Floyd112 replied on at Permalink Reply
double check at the bottom side of the browser. Maybe it's in mobile version
gruff replied on at Permalink Reply
Bug from new Chrome update? I'm having the same problem using Mac Chrome - haven't checked PC or Linux Chrome.

Always goes to mobile...
Your site renders as mobile in Chrome for me, and all my concrete5 sites...
...pretty much a site breaker!

Checked that I'm not spoofing a mobile in Chrome - double checked by spoofing as iPad which normally takes the desktop site and this goes to mobile too.

Only happened in the last couple of days since:

TUESDAY, MARCH 3, 2015
Chrome Stable Channel Update
The Chrome team is delighted to announce the promotion of Chrome 41 to the stable channel for Windows, Mac and Linux. Chrome 41.0.2272.76 contains a number of fixes and improvements, including:
A number of new apps/extension APIs
Lots of under the hood changes for stability and performance
A list of changes is available in the log.
studio108 replied on at Permalink Reply
studio108
Having the same problem with Google Chrome (Mac) - C5 dashboard seems stuck in Mobile mode?

Rollover panel doesn't appear when hovering over 'Dashboard' button.
Once in the Dashboard I see the 'Back button'.
rge replied on at Permalink Reply
If I am not mistaken this should be solved in C 5.6.3.3. The mobile_detect.php has been updated in this version. The old versions indeed marked chrome as a mobile browser.

The merge:https://github.com/concrete5/concrete5/pull/1876/...
Release info:http://www.concrete5.org/documentation/background/version_history/5...

We had some problem on some sites to. They where showing the mobile images instead of the desktop versions. After including the new mobile_detect.php the problem was solved.
studio108 replied on at Permalink Reply
studio108
It appears you are right. I have just run the 5.6.3.3 update and it appears to correct the problem. Many thanks for your help.
smithmar replied on at Permalink Reply
After upgrading to 5.6.3.3 the Chrome browser on my mobile shows the mobile theme, but the default browser shows the desktop theme.

Any suggestions please?
rge replied on at Permalink Reply
Mobile_detect is from a third party. Some bugs/issues are reported via GIT. You can see theme herehttps://github.com/serbanghita/Mobile-Detect/issues... .

When a new version of C5.6.x is released we will need to check if there is an update available for the mobile_detect if that is the case we can do a pull request so it gets included in the core.

If for example a new version for the mobile_detect gets published and you cant wait. You can overwrite the file your self. Although you will have to check yourself what affect is has on your site.
BlueFractals replied on at Permalink Reply
BlueFractals
@shotrox, When I view your website on desktop Chrome, I can see the desktop version. Did you get this fixed?

I am having the same issue with one of my client sites. On Chrome desktop, it is displaying the mobile theme. I think this happened only recently after the Chrome update. The Chrome version I am using is '41.0.2272.89 m' on Win7.
BlueFractals replied on at Permalink Reply
BlueFractals
I've got this resolved. My client is using an older version of C5 5.6.2.1.
On /concrete/libraries/3rdparty/mobile_detect.php, I replaced the existing array values in '$phoneDevices' and '$tabletDevices' fromhttps://github.com/mlocati/concrete5/blob/75b09887e0941c8592790ebea0... and that did it. It was somehow detecting the latest Chrome as a mobile device.

I think upgrading to the latest C5 should work too.