export to excel

Hi
i exported grid to excel. But i have one problem. The exported file size is 0 byte. how i decide this problem?

i hope to help me.

Hi,
try to modify file generate.php like here:

<?php

require_once 'gridExcelGenerator.php';
require_once 'gridExcelWrapper.php';

$debug = true;
error_reporting(E_ALL);
//$error_handler = set_error_handler("PDFErrorHandler");

and gridExcelWrapper.php like here:

<?php

error_reporting(E_ALL);

require_once './lib/PHPExcel.php';
require_once './lib/PHPExcel/IOFactory.php';

Does any error occur?
Also directory with export script should contain error_reporting.xml file. Could you provide it?