These are chat archives for ushahidi/Community

5th
Oct 2017
F1ko
@F1ko
Oct 05 2017 06:32
is there any possibility to fix my issue without updating the version?
F1ko
@F1ko
Oct 05 2017 06:45
@ushbot
can u pls tell where i can enter a google maps API key?
i think this might be the solution to my problen, unfortuanetly i cant find a config file holding a key variable
Arturo
@ArturoQuintana
Oct 05 2017 14:26
Hello there @WillDoran @davidlosada @ushbot
how are you doing?
I need to talk about some issues, I will appreciate your help.
Ushbot
@ushbot
Oct 05 2017 15:35
[David Losada, Ushahidi] @F1ko might it be ‘api_google’ in application/config/settings.php ?
[David Losada, Ushahidi] hi Arturo , it’s business as usual for us, working on building good stuff :) please write down your issues and we will get back to you as soon as we can
[David Losada, Ushahidi] some of our very capable players in the room may be able to assist as well
Arturo
@ArturoQuintana
Oct 05 2017 15:43
hi @davidlosada
Thank you! Sorry to bother you guys! @WillDoran @davidlosada @ushbot
We have some issues with https in the platform environment
We have installed the certificate and it is working properly. But, once it's called https://map.informus.us/views/map it seems to be a safe page until it loads completely.
We believe that something happens once we load the page completely.
Any clue?
Thanks in advance!
Ushbot
@ushbot
Oct 05 2017 18:27
[David Losada, Ushahidi] yes this is an issue that we have identified , some of the requests to third party services (like gravatar, open street maps) are still being made http protocol, which downgrades the security grade that the browser shows to the user
[David Losada, Ushahidi] this has been addressed and it will be in the next release
Arturo
@ArturoQuintana
Oct 05 2017 18:28
ok, thanks! @davidlosada
Ushbot
@ushbot
Oct 05 2017 18:29
[David Losada, Ushahidi] since it seems that you are building the client yourself, you may want to try to pull the latest from the master branch of our platform-client repository
[David Losada, Ushahidi] just make sure to have backups, in case
Arturo
@ArturoQuintana
Oct 05 2017 18:39
we have made some changes to the CSS, and I think it has made some changes to the HTML structure
that is why the platform is up-to-date, but not the client
Ushbot
@ushbot
Oct 05 2017 18:40
[David Losada, Ushahidi] oh I see, alternatively these are the changes that fix the problem: ushahidi/platform-client@364ab26
[David Losada, Ushahidi] you may just want to apply them on your code , they are fairly simple
Arturo
@ArturoQuintana
Oct 05 2017 18:42
ok
let me see
thanks!
Ushbot
@ushbot
Oct 05 2017 18:45
[David Losada, Ushahidi] you are welcome
Arturo
@ArturoQuintana
Oct 05 2017 18:53
@davidlosada Do I need to do anything else after applying these changes?
Ushbot
@ushbot
Oct 05 2017 18:56
[David Losada, Ushahidi] yes, you need to rebuild
Arturo
@ArturoQuintana
Oct 05 2017 18:57
gulp rebuild in platform-client?
I mean gulp build
Ushbot
@ushbot
Oct 05 2017 18:57
[David Losada, Ushahidi] yes, gulp build
Arturo
@ArturoQuintana
Oct 05 2017 19:01
hum
Mixed Content: The page at 'https://map.informus.us/views/map' was loaded over HTTPS, but requested an insecure image 'http://weblib02.fiu.edu/media/uploads/5/8/58f8fdbf6e882-information%20technology%20web%20icon-recovered-recovered1.jpg'. This content should also be served over HTTPS.
Arturo
@ArturoQuintana
Oct 05 2017 19:07
we have this error and have already changed the BACKEND_URL value to 'https://weblib02.fiu.edu'
Igor Golov
@TechnoDexx
Oct 05 2017 20:39
@ArturoQuintana This problem solved here: ushahidi/platform-client@364ab26
Arturo
@ArturoQuintana
Oct 05 2017 20:40
@TechnoDexx Thanks for your help, but I have already applied those changes
Igor Golov
@TechnoDexx
Oct 05 2017 20:42
@ArturoQuintana I am manually update platform-client and it's working well.
@ArturoQuintana I am updating from this pre-release: https://github.com/ushahidi/platform-client/releases/tag/v3.7.2-rc.1.1
Arturo
@ArturoQuintana
Oct 05 2017 20:46
I did the changes manually
Igor Golov
@TechnoDexx
Oct 05 2017 20:47
@ArturoQuintana Re-build sucessed or not?
Arturo
@ArturoQuintana
Oct 05 2017 20:48
I also did, lots of errors and none good result
Igor Golov
@TechnoDexx
Oct 05 2017 20:54
@ArturoQuintana I used the compiled client.
@ArturoQuintana Keep config.js and config.json. Next download pre-compiled binaries from https://github.com/ushahidi/platform-client/releases/tag/v3.7.2-rc.1.1 (NOT source code) and place it to platform-client directory.
Arturo
@ArturoQuintana
Oct 05 2017 20:58
ok, thanks!
I will do that! Thanks!
Igor Golov
@TechnoDexx
Oct 05 2017 20:59
@ArturoQuintana It's not all!
@ArturoQuintana You need rename file with extension htaccess to .htaccess and copy config files back to platform-client directory.
F1ko
@F1ko
Oct 05 2017 21:21
@ushbot
well i dont know if thats it..thats why i am asking for help
api_google has an empty value ('')
is that how it should be or not?
Cam Macdonell
@cmacdonell
Oct 05 2017 22:21

Hi,

Has anyone had issues installing platform with php7?

I'm getting the following errors with platform:

{
"errors": [
{
"status": "Fatal Error",
"title": "Uncaught TypeError: Argument 1 passed to Kohana_Kohana_Exception::handler() must be an instance of Exception, instance of Error given in /home/ubuntu/platform/vendor/kohana/core/classes/Kohana/Kohana/Exception.php:84\nStack trace:\n#0 [internal function]: Kohana_Kohana_Exception::handler(Object(Error))\n#1 {main}\n thrown",
"message": "Uncaught TypeError: Argument 1 passed to Kohana_Kohana_Exception::handler() must be an instance of Exception, instance of Error given in /home/ubuntu/platform/vendor/kohana/core/classes/Kohana/Kohana/Exception.php:84\nStack trace:\n#0 [internal function]: Kohana_Kohana_Exception::handler(Object(Error))\n#1 {main}\n thrown",
"class": "ErrorException",
... <truncated>

I've found a few related issues on github kohana/core#642, but I thought I'd check here first