calendee/Ext-JS-4.X-CRUD-Demo — Issue #4: Ext-JS-4.X-CRUD-Demo ,  Error : 'Unable to parse the JSON returned by the server
Author: 123lal
Created: 2012-02-23 05:26:24+00:00
State: open

Hi am new to extjs , i just started learning extjs , i downloaded the full zip file and pasted it in the server as the readme file detailed . am using firefox browser with firebug . i found an error while retrieving data from a row to the form for editing,

it shows undefined variable form_data

and in customer_details.php i saw that it is defined as

$form_data = json_decode(file_get_contents('php://input'));

php://input' << what is this means for , please reply me . Thank you

the below shown is the complete error message i found in the firebug console window

'Unable to parse the JSON returned by the server: You're trying to decode an invalid JSON String:
Notice: Undefined variable: form_data in E:\wamp\www\praveen\calendeeCRUD\customer_details.php on line 42

Notice: Trying to get property of non-object in E:\wamp\www\praveen\calendeeCRUD\customer_details.php on line 42
{"success":true,"customer":{"customers_id":3,"customer_name":"In N Out Burger","address":"9999 Big Street","city":"Allen","state":"TX","zip":"70389"}}' when calling method: [nsIDOMEventListener::handleEvent]