Closed (fixed)
Project:
Mobile Tools
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Apr 2009 at 20:37 UTC
Updated:
3 May 2009 at 23:00 UTC
Hi there,
Installed the device and am using the same module for detection. I enabled redirection/notification and set up the module for "automatic redirection." It is for redirecting http://glitch.fm to http://m.glitch.fm - I tested it on my iPod Touch and couldn't get it to work :/
Would prefer not to install the WURFL module because I'm too lazy to go through that installation process. ;)
Best!
Scott
Comments
Comment #1
Poieo commented+1 for device detection not working. I installed and configured the latest .dev release to automatically redirect to my mobile site, entered both my desktop and mobile URL, but the redirection does not work on my LG Dare.
I'm pretty ignorant on this subject, so unfortunately I can't offer much help. Please let me know if you need more info.
Comment #2
twom commentedThis was indeed an error, caused by some cleaning up I did. It should be fixed now. Can you test?
Comment #3
Poieo commentedLooks like the same dev release is still on the project page (april 14). Is there a new release with this fix?
Comment #4
snovich commentedFIXED! Thanks :)
Comment #5
Poieo commentedWorks for me too! Thanks!
Comment #6
twom commentedGreat :)
There is always a delay from commit to packaging.
It is best to check out http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/mobile_tools/ whenever you want to check a commit I recently did
Comment #7
Poieo commentedSorry about that...next time I'll look there first.
I have another problem that goes along with this. If I visit my site on Verizon's network (my home network), the redirect works perfectly. But, if I visit my site on the extended network (in this case Alltel), the redirect does not work.
Any ideas?
Thanks again for the module...it is exactly what I was looking for.
Comment #8
twom commentedHy,
This is strange. I know that some providers mess with headers. Can you visit with your mobile the following url:
http://whatsmyuseragent.com/
And send me the headers that are being displayed by the browser (the HTTP_USER_AGENT value is being used by the module) ?
e.g. (when accessing with a Nokia6230i):
HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5
HTTP_COOKIE:ASPSESSIONIDQCADADDB=GENEFAOALNIBEHKHDJAKFEIJ
HTTP_HOST:whatsmyuseragent.com
HTTP_USER_AGENT:Nokia6230i/2.0 (03.80) Profile/MIDP-2.0 Configuration/CLDC-1.1
Comment #9
Poieo commentedIt's working correctly now on both the home and extended network. Could be that my mobile browser had some cached files??
Thanks for the response and again for the module!
Just in case you can use this info for something else:
(LG Dare)
HTTP_CONNECTION: Close
HTTP_VIA: 1.1 Comverse 4.5
HTTP_ACCEPT: text/html, application/xhtml+xml, */*
HTTP_ACCEPT_CHARSET: utf-8, utf-16, us-ascII, Iso-8859-1
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en; q=1.0, en, *;q=0.5
HTTP_HOST: whatsmyuseragent.com
HTTP_USER_AGENT: Mozilla/5.0(compatible; Teleca Q7; Brew 3.1.5; U; en)240x400 LGE VX9700
HTTP_X_WAP_PROFILE: "http://uaprof.vtext.com/lg/vx9700/vx9700.xml
Comment #10
twom commentedGood to hear things work.
Since it worked on one network, and not on the other, I would expect that the Alltel network has some caching.
btw, I would be happy to see what your mobile site is about.
On http://groups.drupal.org/mobile, there is a section to showcase your mobile site.
Tom