1. #1
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Exclamation Unanswered: Browser error ?

    Unanswered: Browser error ?


    Hi, I'm facing a problem I don't understand. I installed Firefox and Chrome on my computer, to scompare results while developping.

    On Chrome, everything's working fine. I'm currently trying to download a pdf I create on server side, but I think it's not the matter here.

    But on IE and Firefox, I get several Ext.Error abour JSON being bad decoded. How would you explain it please ? I can't see why IE and Firefox retrieve errors while the same code under Chrome works fine and doesn't throw any error.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    It would help to get more info and some code .. I use this and it works fine:

    Code:
    Ext.Ajax.request({
        method  : 'POST',
        url     : 'index.php/crewboard_reports/print_report/',
        params  : {
            report_name   : 'qv_print_crewboard'
        },
    
        success : function (xhr) {
            window.open('pdf/qv_print_crewboard.pdf');
        }
    });
    Code:
    function print_report()
    {
        $field = $this->input->get_post('field', TRUE);
    
        $report_string = 'java -jar java/qv_print_crewboard.jar "days_on,id ASC"' .' "' . $field . '"';
        $result = shell_exec($report_string);
    
        if ($result) {
            echo "{success:true}";
        } else {
            echo "{success:false}";
        }
    }
    Scott

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