Can't login via piwik2 mobile after upgrade to 2.5.0


#1

Hi there,

I seem to be having an issue with logging into Piwik 2 using the mobile app for iOS.

I just upgraded an older installation from 1.11.1 to 2.5.0 and forgot to change my php version in my hosting CP before doing so. Because of that, I got an error and then changed my php version from 4 to 5 and reloaded the page. It brought me right to the login page and wouldn't let me login, so I found a post about forcing a DB upgrade and did so, so my DB is now upgraded. Now I can login from the desktop, and everything is running as expected except for when I try to login using Piwik 2 Mobile on iOS I get the following error:

The Piwik version you are using is incompatible with Piwik Mobile 2. Update your Piwik installation and try again or install Piwik Mobile 1.

I've been looking through the php server code, app code and the DB to check that the version is defined correctly. I haven't been able to figure out how Piwik 2 Mobile detects the desktop version and where that information is being pulled from, so I'm not even sure that I'm looking in the right places.

Can anyone help me out with this?

#2

I just tried accessing Piwik using http instead of https, and now it works :S Why does it say the piwik version is incorrect if it’s an http/https related issue?

Oh well, at least it’s working :wink:


#3

Probably it was cached for http (I guess the first time you tried it still reported Piwik 1.11) but it was not yet cached for https. The cache is cleared every 24hours.