KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Example http error 500 #391

Open lolo opened this topic on on Jul 25, 2018 - 6 comments

lolo commented on Jul 25, 2018

when i try to test excel export in pivot_extract sample (examples/reports/pivot/pivot_extract/exportExcel.php) with the last koolreport pro release

i have http error 500 .

KoolReport commented on Jul 25, 2018

It is our mistake in the example, to fix that, please add

use \koolreport\export\Exportable;

to the report SalesPivotExtract class

So it will look like this:

class SalesPivotExtract extends koolreport\KoolReport
{
  use \koolreport\excel\ExcelExportable;
  use \koolreport\export\Exportable;
  ...

We have fixed the example in our online site and here is the result.

lolo commented on Jul 26, 2018

Same problem :-( . could you check files on last release and tell me what i must add or modify ?

KoolReport commented on Jul 26, 2018

I will send you the example in zip through email.

lolo commented on Jul 26, 2018

thanks ;-)

KoolReport commented on Jul 27, 2018

I have sent the example to your email. Please let us know if you need further assistance.

lolo commented on Jul 27, 2018

I'ts ok thank you

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

Excel