Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

mobile module: redirect loop


4 Posts   1000 Views


1 July 2011 at 2:30pm 126 Posts

There seems to be a problem with the $FullSiteLink feature of the mobile module. When I test this on a mobile device I end up with an endless redirect loop between and .

$FullSiteLink in a template creates a link with ?fullSite=1 at the end. The MobileSiteControllerExtension then *should* create a cookie so that for 30 minutes a mobile device would display the actual (non-mobile) site. This doesn't work. The same problem appears with the "full site" link on .

I tried to print_r($_COOKIE), but it doesn't print any 'fullSite' cookie, neither on a mobile device nor on a desktop browser. Is there not enough time or any other problem with trying to create the cookie just before the redirect?

Any hints would be highly appreciated. For now I will just remove the link but I would love to find a solution for this.



20 December 2011 at 10:46pm Community Member, 9 Posts

I have the same problem as Anatol's. Any advice from a SilverStripe expert?


9 January 2012 at 7:22pm Forum Moderator, 5511 Posts

Running the latest mobile module? A couple recent patches should fix the issues


10 January 2012 at 1:39pm Community Member, 9 Posts

Yes, installing the latest mobile module solved the problem. Thanks!