Cannot export grid to excel

Hi,
can someone tell me what’s wrong in my script ? I can have my grid, the data in my grid, my input box to find a row in the grid (and it works), and my input box to “get as excel”. But when it click on this last, a new tab opens with the “generate.php” script. And not an excel file or a download box. :question:

Thanks to you

Damien

Code:

 Enter a name:
 <input type="text" title="search" placeholder="Search the person..." id="searchFilter"></input>

Hi,
please, open file grid-excel-php/generate.php and modify it like here:

...
//$debug = false;
//$error_handler = set_error_handler("PDFErrorHandler");
...

After that try to export grid one more time. It must show export error in new tab. Could you provide it?

What i got in my new tab is only the script generate.php

nothing else