php error flooding logs

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

php error flooding logs

Post by grimblefritz » 2016-06-22 00:04

Just a heads up. I just upgrade to PHP 5.6 on my host, and now get this message flooding the logs:

[21-Jun-2016 16:17:47 US/Eastern] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

Per the PHP docs, $HTTP_RAW_POST_DATA is deprecated as of 5.6.0 and removed in 7.0. It's coming from ci_input.php

It might be worth switching to the new method soonest.

Meanwhile, I get nice fat logs.

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: php error flooding logs

Post by a.gneady » 2016-06-23 21:17

Thanks for the heads-up :)
AppGini doesn't make use of $HTTP_RAW_POST_DATA so it's safe to disable it.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

Re: php error flooding logs

Post by grimblefritz » 2016-06-30 14:09

AppGini might not use it, but it is coming from the codeigniter ci_input.php. Maybe they'll clean up their code.

Post Reply