11 Apr 2016 3:29 AM #1
HTTP_RAW_POST_DATA removed in PHP 7
Starting to have a play with Ext.Direct with one of the projects I'm working on but noticed that the router.php still uses:
even with the newer Ext 6 examples.
code from router.php included in examples.
$isForm = false;
$isUpload = false;
$data = json_decode($HTTP_RAW_POST_DATA);
// form post
$isForm = true;
This variable has been depreciated since 5.6 and is now removed as of PHP 7.0
Instead php://input should be used.
20 Apr 2016 8:44 AM #2
Can you link me to the example we provide so that I can file this in our ticketing system to make sure it reflects correct usage?Tristan Lee
Sencha Inc - Support Engineer
Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)
Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]
21 Apr 2016 12:20 AM #3
The examples are shown, most recently in ExtJS 6.0
Specifically around the router examples.
If this is getting upgraded, it would be nice to have this available as a composer package too.
By salorob in forum Sencha Touch 2.x: Q&AReplies: 1Last Post: 13 Oct 2014, 5:31 AM
By salorob in forum Sencha Touch 2.x: BugsReplies: 0Last Post: 9 Oct 2014, 12:06 AM
By aatiis in forum Sencha Touch 2.x: Q&AReplies: 3Last Post: 11 Jun 2012, 7:25 AM
By Ran Oren in forum Ext: DiscussionReplies: 1Last Post: 27 Jun 2011, 11:52 AM