ushahidi / Ushahidi_Android

[Deprecated] Ushahidi Android app For Ushahidi V2.x.x. Working on V3.x.x at
https://github.com/ushahidi/platform-android/
GNU Lesser General Public License v3.0
202 stars 153 forks source link

Android app crashing #127

Closed aoduor closed 11 years ago

aoduor commented 11 years ago

Via @ggodby " Hello, I have tried to use ushahidi from two different Android phones (Sony xperia X10 and Nexus 4) and the results are the same. The app will only work on the demo.ushahidid.com site. When I try to update a map on crowdmap.com or my own installation at map.oldstrathconatimes.com the app crashes every time."

aoduor commented 11 years ago

Hey @ggodby, what version of the app are you running?

Pinging @eyedol

eyedol commented 11 years ago

@ggodby which crowdmap deployment were you trying to update?. Also, I cannot reach http://map.oldstrathconatimes.com/api?task=incidents It redirects to the home page.

aoduor commented 11 years ago

Hmmm, @eyedol, http://map.oldstrathconatimes.com/api?task=version also redirects to the homepage. Also, @ggodby, when using a crowdmap deployment, make sure your url starts with https:// and not http://

aoduor commented 11 years ago

Narrowed this down to an issue with clean URLs, have a look at http://map.oldstrathconatimes.com/index.php/api?task=version. @ggodby, try enabling clean URLs via your settings page in the admin panel and let us know how it goes?

eyedol commented 11 years ago

@ggodby If it's a server side configuration then check this wiki entry https://wiki.ushahidi.com/display/WIKI/Enabling+Clean+URLs

I don't expect the app to crash when there is no clean URL.

Good catch @aoduor

ggodby commented 11 years ago

Hello Angela, That worked fine. I am using NGINX on the server side and once I enabled clean URLs my Android Ushahidi app was able to connect and upload reports. Cheers G.

Gavin Godby GGN Solutions Inc. 10521 78 Avenue phone: (780) 439-8948 Edmonton, Alberta T6E 1P3

On 15/05/2013 6:05 AM, Angela Oduor wrote:

Narrowed this down to an issue with clean URLs, have a look at http://map.oldstrathconatimes.com/index.php/api?task=version. @ggodby https://github.com/ggodby, try enabling clean URLs via your settings page in the admin panel and let us know how it goes?

— Reply to this email directly or view it on GitHub https://github.com/ushahidi/Ushahidi_Android/issues/127#issuecomment-17934438.