JOBE sandbox using an old version of CodeIngiter

JOBE sandbox using an old version of CodeIngiter

de Tim Hunt -
Número de respuestas: 1
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 testsubmit.py from working.

Is it necessary to switch to a later version of the CodeIngiter framework? http://www.codeigniter.com/user_guide/installation/upgrading.html makes that look a bit involved. (We are currently on 2.1.4.)

Hmm. Or is this due to https://bugs.php.net/bug.php?id=66763 / https://github.com/bcit-ci/CodeIgniter/issues/3254? In which case just adding
always_populate_raw_post_data = -1

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

En respuesta a Tim Hunt

Re: JOBE sandbox using an old version of CodeIngiter

de Richard Lobb -

[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.

Richard