These are chat archives for ushahidi/Community

3rd
Oct 2016
Zeeshan Shah
@Zkage
Oct 03 2016 00:38
i seem to have broken the instance now;
i will recheck again tomorrow
Danny Lin
@yuchenglin
Oct 03 2016 02:08
and I cannot connect to http://ies-tser-backend.iis.sinica.edu.tw/api/v3 similar to Zeeshan's problem
Zeeshan Shah
@Zkage
Oct 03 2016 03:41
i tried reading the kohana framework danny, there in the forums it had a problem where it said the folder path was not accessible due to the index.php not having the correct path
i tried shifting the platform folder one level up and now everything is broken
i will redo the release setup tomorrow and see if it makes a difference
Ushbot
@ushbot
Oct 03 2016 06:02
[Angela Oduor Lungati, Ushahidi] hey ZKage and yuchenglin, i’ll flag this for the dev team to help you with
[Angela Oduor Lungati, Ushahidi] @jason @davidlosada @rjmackay @will could one of you help these guys :)? Thanks
[slackbot, Ushahidi] I think you mean gang
Ushbot
@ushbot
Oct 03 2016 06:41
[Jason Mule, Ushahidi] @ZKage, @yuchenglin Could you give a little more information about the errors you are seeing?
shantanugavle
@shantanugavle
Oct 03 2016 06:58
I have my angular/nodejs app.I wanted to send free messages through that app when any new user got rgistered...is it possible? If yes please tell me how to do it...I am new with nodejs.
Danny Lin
@yuchenglin
Oct 03 2016 08:19
I followed official document to setup. When I connect to /api/v3, it only appeared 404 not found error. However, I can connect to the api test page. Below is my apache setup if it is helpful
<VirtualHost *:80>
    ServerName ies-tser-backend.iis.sinica.edu.tw
    DocumentRoot /var/www/platform/httpdocs/
</VirtualHost>

<VirtualHost *:80>
    ServerName ies-tser.iis.sinica.edu.tw
    DocumentRoot /var/www/platform-client/server/www/
</VirtualHost>
Danny Lin
@yuchenglin
Oct 03 2016 10:48
I solved my problem! in above file, I have the wrong directory address which used for turning on rewrite module (.htaccess)
Zeeshan Shah
@Zkage
Oct 03 2016 14:28
Danny can you describe what steps yu took?
Zeeshan Shah
@Zkage
Oct 03 2016 14:45
i am getting the following when i got to the 404;
blob
i assume it should show the current version but it gives an error
Ushbot
@ushbot
Oct 03 2016 17:55
[Rj Quirit, Ushahidi] Greetings my friends
[Rj Quirit, Ushahidi] can I ask your assistance on this
[Rj Quirit, Ushahidi] return password_hash($pwd,PASSWORD_BCRYPT,['cost'=>12]);
[Rj Quirit, Ushahidi] is there a simpler way to hash the password?
[Rj Quirit, Ushahidi] function hash($pwd){
return password_hash($pwd,PASSWORD_BCRYPT,['cost'=>12]);
}
[Rj Quirit, Ushahidi] here is the error
[Rj Quirit, Ushahidi]
Fatal error: Cannot redeclare hash() in D:\WEB\htdocs\test.php on line 52
Zeeshan Shah
@Zkage
Oct 03 2016 18:13
blob
@ushbot The app runs at http://safr.southeastasia.cloudapp.azure.com/
but when i try checking the current version at http://safr.southeastasia.cloudapp.azure.com/platform/api/v3/, it gives the screenshot error. it does not show the version or endpoints.
also when i am trying the oauth call at safr.southeastasia.cloudapp.azure.com/platform/api/v3/oauth/token
i used these parameters;
blob
user id is the admin user id; pwd - password; it gives an error;
Ushbot
@ushbot
Oct 03 2016 19:29
[David, Ushahidi] Hi Ush. We are needing your help again. My programmer RJ is hitting challenges... I would be so grateful if could help us. 😀