Mobile Joomla not working

tedm
13 years, 7 months ago
I installed 1.0-RC3 on my J1.5 site. The install completed successfully. I have an iPhone template which worked fine on 1.0-RC2.1 but now my iPhone displays only the 'standard' website. I tried un-installing RC3 and re-installing RC2.1 but the problem is the same. If I add "?device=iphone" to the URL the iPhone template comes up but this is useless. What am I missing ???? Thanks.
dryabov
13 years, 7 months ago
Note that MJ saves last mobile mode chosen in browser, so once you click on standard version your browser starts to display standard version until you choose another mode (by click on corresponding link or adding ?device= parameter). Just tested mobilejoomla.com and it works well with iphone.
myusername
13 years, 7 months ago
I am having the very same issue . . . auto redirect not working since update

I think there is an issue here

I have tried it on a number of devices and simulators
dryabov
13 years, 7 months ago
What is url of your site?
myusername
13 years, 7 months ago
Thanks for the fast reply

enniscroneonline.com
myusername
13 years, 7 months ago
just used another old phone with opera browser that would have never visted site and that redirected ok

does JM drop a cookie on user end - - is that how JM notes what version to load?
dryabov
13 years, 7 months ago
myusername wrote:
does JM drop a cookie on user end - - is that how JM notes what version to load?

Yes, MJ saves current mobile version in cookies for 365 days.
tedm
13 years, 7 months ago
dryabov wrote:
Note that MJ saves last mobile mode chosen in browser, so once you click on standard version your browser starts to display standard version until you choose another mode (by click on corresponding link or adding ?device= parameter). Just tested mobilejoomla.com and it works well with iphone.

The above and the 'cookie' comment below explains a great deal of the behavour I've been seeing. Many thanks Dryabov. Just one problem remains for me. Whereas sitename.com works fine for me (testing on iPhone 4), if I enter the www version, i.e. www.sitename.com MJ does not work. I've forced it with the device=iphone parameter (which works) to see if it was a cookie issue but when I return to www.sitename.com I'm still getting the standard version on my iPhone.
Thanks again.

POSTSCRIPT: I've solved this. It WAS the cookies; I cleared the cookies on the iPhone (Settings->Safari->Clear Cookies) and this solved the problem. Thanks.
dryabov
13 years, 7 months ago
It's because of cookies are domain-dependent (by default) and sitename.com and www.sitename.com are different domains (actually, there is a way to set cookies that are common for domain and all its subdomains, but MJ doesn't use this way).
belsis
13 years, 1 month ago
Hello all i had the same issue i had a site working fine with 0.9 then i received an email about stability and security update i installed the site only works without mobile. when i log on at the administrator it shows COM_MJ_UPDATE_AVAILABLE
1

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.