ushahidi / Ushahidi_Web

Ushahidi v2. A platform that allows information collection, visualization and interactive mapping, allowing anyone to submit information through text messaging using a mobile phone, email or web form.
http://www.ushahidi.com
Other
901 stars 624 forks source link

Share plugin doesn't grab reports from crowdmap instances #821

Closed andresazp closed 12 years ago

andresazp commented 12 years ago

The share plugin that's included for privately hosted Ushahidi instances doesn't seem to get reports from crowdmap instances.

It does grab reports from other privately hosted instances. I've tried on different instances and servers.

aoduor commented 12 years ago

Hi @andresazp, I'm working on a self hosted deployment, and the sharing plugin picks out reports from crowdmap deployments just fine. Closing this issue out.

Have you tried force running the scheduler to fetch the reports from those deployments?

andresazp commented 12 years ago

hi @aoduor, yes; I have no problems with the scheduler, nor the plugin for deployments not on crowdmap

What's odd is that I've tested with different versions on different servers with the 2.5 release from the site and the de branch, on different servers. So much that I'm considering moving some crowdmap instances to a deployment on a server.

Could it be an obscure setting only in crowdmap to allow access to the information? I will try with the latest on the master branch and test again but I already have like 5 test deployments.

brianherbert commented 12 years ago

Crowdmap essentially runs the latest stable version of Ushahidi and in this case, 2.5. We don't have any settings on Crowdmap that would have an impact on sharing. That being said, I'm curious of your sharing plugin is the same version as the one @aoduor is using?

andresazp commented 12 years ago

Thanks @brianherbert for your reply, and that's probably the key.

I would like to point out that I also ran into trouble sharing reports from crowdmap on crowdmap deployments ( https://paraguas.crowdmap.com )

In case you guys are interested in knowing, I'm working to integrate the reports from disparate election monitoring efforts in one site/map for the upcoming venezuelan elections.

rjmackay commented 12 years ago

@andresazp have you got a test deployment thats having this issue that we could get access too? (something with no data in it)

Can you check the allow_url_fopen and open_basedir options in php.ini on your server? (or through phpinfo() )

andresazp commented 12 years ago

@rjmackay All of the data on the test is either just to test or from a previous election. but http://tm1.eleccionciudadana.com is without any data other than on the sharing tables. I'll email you the credentials

allow_url_fopen is ON and open_basedir is novalue in both servers I'm using use.

The odd thing is that the beheirvor is exactly the same on crowdmap deployments, so far as I can test (trying to get reports from one crowdmap to another)

@aoduor I would love to know which version of ushahidi (and the sharing plugin) is woking for you :)

andresazp commented 12 years ago

Hi everyone, I wonder if anyone could reproduce this or check the examples I posted both on self-hoted deployments and on crowdmap

Cheers

aoduor commented 12 years ago

Hi @andresazp, i tested this on a deployment running v2.5. Mind sending me credentials to test on your deployment?

aoduor commented 12 years ago

Hi @andresazp, all crowdmap deployments are SSL enabled, meaning the deployment URL has to be https and not http. This is why reports from crowdmap deployments are not getting pulled in. You may want to pull in this fix by @rjmackay onto your deployment

1508aa764b481b2cb7df5c9108287f6a36c01560

@brianherbert, on crowdmap too ;)

andresazp commented 12 years ago

@aoduor, excellent, thank you so much.