These are chat archives for ushahidi/Community

18th
Dec 2017
Tran
@tran2
Dec 18 2017 01:00
@cmacdonell , I would like to modify the API code
Cam Macdonell
@cmacdonell
Dec 18 2017 05:26
@tran2 do you have a particular modification in mind?
PiresNogueira
@PiresNogueira
Dec 18 2017 09:38
image.png
Hi. I'm getting this error now.
Is it the same problem?
Ushbot
@ushbot
Dec 18 2017 09:47
[Pires Nogueira] Hi
[Pires Nogueira] I'm using Ushahidi V2 and I'm having some problems with mamecha.

[Pires Nogueira] I'm having this problem now.
Can you help me pleas? It's urgent

Thanks.

[David Losada, Ushahidi] @Pires Nogueira it looks like you have memcached configured in the deployment, but there is no memcached process running in the server
Ushbot
@ushbot
Dec 18 2017 09:52
[David Losada, Ushahidi] you would need to install and start a memcached server process
[Pires Nogueira] Thanks
Ushbot
@ushbot
Dec 18 2017 11:10
[Pires Nogueira] Hi. I have the memcache installed and running but Still having the error.
[David Losada, Ushahidi] is it listening on that port 11211 ?
[Pires Nogueira] yes
[David Losada, Ushahidi] mm then I’m stumped
[David Losada, Ushahidi] mm yea that’s the php module adaptor.. but is the service running?
Ushbot
@ushbot
Dec 18 2017 11:15
[David Losada, Ushahidi] like if you run ps -e | grep memcache is there a process?
[Pires Nogueira] Now it's the MemcachePool
[David Losada, Ushahidi] I see.. but I’m not sure what the difference means
Ushbot
@ushbot
Dec 18 2017 11:25
[Pires Nogueira] Is it possible use the Ushahidi on the cloud?
Can I rung without memcache?
Ushbot
@ushbot
Dec 18 2017 11:32
[David Losada, Ushahidi] yes, it’s possible to disable memcache , the configuration must be in application/config/cache.php
Ushbot
@ushbot
Dec 18 2017 11:38
[Pires Nogueira] I opened the file, now where I change?
Ushbot
@ushbot
Dec 18 2017 12:00
[Pires Nogueira] Hi
Ushbot
@ushbot
Dec 18 2017 13:39
[Stefan Asemota] ibrahim
Ushbot
@ushbot
Dec 18 2017 14:01
[David Losada, Ushahidi] @Pires , what do you have in the $config[‘default’] section? it may work if you change ‘driver’ to ‘file’
[David Losada, Ushahidi] so you could change to “‘driver’ => ‘file’” , but making sure that the “cache/” folder is writable by the web server user
[David Losada, Ushahidi] otherwise , maybe “$config[‘cache_pages’] = FALSE;” helps too
[David Losada, Ushahidi] turning the whole cache thing off
[Pires Nogueira] All right
Ushbot
@ushbot
Dec 18 2017 14:13
[Pires Nogueira] $config['default'] = array(
'file' => 'memcache',
'params' => APPPATH.'cache',
'lifetime' => 1800,
'requests' => -1
);
[Pires Nogueira] It's correct?
[David Losada, Ushahidi] no I mean verbatim.. it should read “‘driver’ => ‘file’”
Ushbot
@ushbot
Dec 18 2017 14:18
[Pires Nogueira] Got it
[Pires Nogueira] Thank you, it worked
[Pires Nogueira] Now this one
[David Losada, Ushahidi] oh I think you need an older php version like 5.2 or so
[David Losada, Ushahidi] either that, or finding each of those methods in the code and adding the word “static” before them
Ushbot
@ushbot
Dec 18 2017 14:25

[Pires Nogueira] Okay, let me try both

Thank you for helping me with this

Ushbot
@ushbot
Dec 18 2017 14:44
[David Losada, Ushahidi] no problem, good luck!
Ushbot
@ushbot
Dec 18 2017 15:25
[Pires Nogueira] (:|
[David Losada, Ushahidi] mm take a look at application/config/session.php , I think you want $config[‘driver’] to be set to “database”
Ushbot
@ushbot
Dec 18 2017 15:31
[Pires Nogueira] yes its that
Ushbot
@ushbot
Dec 18 2017 15:39
[Pires Nogueira] What is the next step?
Ushbot
@ushbot
Dec 18 2017 17:32
[David Losada, Ushahidi] Are you still getting errors?