Developers' Forum

JOBE sandbox using an old version of CodeIngiter

Tim at Lone Pine Koala Sanctuary
JOBE sandbox using an old version of CodeIngiter
by Tim Hunt - Tuesday, 8 November 2016, 2:46 AM
Trying to run a JOBE sandbox on PHP 5.6, I am getting

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

Warning: Cannot modify header information - headers already sent in Unknown on line 0

And those messages break things. At least they stop from working.

Is it necessary to switch to a later version of the CodeIngiter framework? makes that look a bit involved. (We are currently on 2.1.4.)

Hmm. Or is this due to / In which case just adding
always_populate_raw_post_data = -1

to php.ini on the JOBE server? Ah! that seems to be sufficient.

Picture of Richard Lobb
Re: JOBE sandbox using an old version of CodeIngiter
by Richard Lobb - Friday, 9 December 2016, 11:14 PM

[Sorry for not responding earlier. This one somehow went under my radar]

Thanks for the heads up. I've never seen this problem, presumably because the php.ini settings on our servers have error reporting set to the default production server value of:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

So presumably I haven't been seeing the DEPRECATED warnings?

I'll look into it when I get back from holiday.