1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    Baku, Azerbaijan
    Posts
    7
    Vote Rating
    0
    Julia_Rakitina is on a distinguished road

      0  

    Default Answered: Problem with empty $POST

    Answered: Problem with empty $POST


    Hello!

    I have problem, driving me crazy

    First it is an editable grid (plugins: [cellEditing],) with this store (store: sql,)

    Code:
     var sql = Ext.create('Ext.data.Store', {        model: 'SQL',
            groupField: 'project',
            proxy: {
                type:'ajax',
                api: {
                    read: 'data/showText.php', // Called when reading existing records
                    update: 'data/saveRollout.php' // Called when updating existing records
                },
                actionMethods: {
                    read   : 'GET',
                    update : 'POST'
                },
                reader: {
                    type: 'json',
                    root: 'data'
                },
                writer: {
                    type: 'json'
                }
            },
    
    
            autoSync: true,
            autoLoad: true
        });
    Everything going excellent until it POST to saveRollout.php JSON and a can see in Firebug that it really posts

    Code:
    {"projectId":0,"project":"","taskId":0,"description":"","january":0,"february":0,"march":10,"april":0,"may":0,"june":0,"july":0,"august":0,"september":0,"october":0,"november":0,"december":0,"id":null}
    But on server-side $_POST returns NULL. Where is my JSON? Please help.


  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,800
    Answers
    452
    Vote Rating
    603
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    Baku, Azerbaijan
    Posts
    7
    Vote Rating
    0
    Julia_Rakitina is on a distinguished road

      0  

    Default


    Many thanks! I found my JSON :-) !!!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi