Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] API POSTs ignored

Subject: COmanage Users List

List archive

Re: [comanage-users] API POSTs ignored


Chronological Thread 
  • From: Benn Oshrin <>
  • To: Ray Plante <>
  • Cc:
  • Subject: Re: [comanage-users] API POSTs ignored
  • Date: Sat, 24 Jan 2015 11:43:50 -0500

Wrapping up this thread, it was an issue with the local PHP installation.

On 1/21/15 10:02 AM, Ray Plante wrote:
On Tue, 20 Jan 2015, Benn Oshrin wrote:
I am indeed using 5.6.4. What version of php are you using? Do you
think I should back out to something older? If you are also using
5.6, do you set always_populate_raw_post_data to -1?

I'm still on 5.4.something. You shouldn't need to back out, though I'm not
sure if anyone is running on 5.6 yet. If you update that configuration, does
it work? You could also try setting display_errors=false in php.ini to mimic a
production server and see what happens.

I'll try that.

Also, can you confirm the record didn't get written to the database? It could
be that because of the warning spewage the HTTP response code is coming back
as 200 instead of 201, even though the record was written.

Confirmed: the cm_cous table started out empty and remained empty
after the POST attempt via the example I sent you.

thanks,
Ray




Archive powered by MHonArc 2.6.16.

Top of Page