KoolReport's Forum

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

Uncaught Exception #2445

Closed Steve Ford opened this topic on on Nov 19, 2021 - 7 comments

Steve Ford commented on Nov 19, 2021

Hi I am trying to run your example in tutorial 1. I have tried everything to get this to work and filed. I am hosted on IONOS. Please see screen shots any help would be appreciated. Thanks Steve

.

Sebastian Morales commented on Nov 19, 2021

I think it's a file open exception. Pls try this instead:

    "filepath" => "./orders.csv"

Let us know the result. Tks,

Steve Ford commented on Nov 19, 2021

Thanks for the reply. I agree with you I think it is a file open exception. I have tried your suggestion but it still does not work and I get the same error.

KoolReport commented on Nov 19, 2021

You try this:

"filepath" => dirname(__FILE__)."/orders.csv"

Let us know if it works.

Steve Ford commented on Nov 19, 2021

No still doesn't work.

KoolReport commented on Nov 19, 2021

Oh I get it, it should be "filePath" (with upper case P) not "filepath", please try:

"filePath" => dirname(__FILE__)."/orders.csv"

Let us know if it works.

Steve Ford commented on Nov 19, 2021

Excellent, that works. Thanks so much for your help. I am new to php.

KoolReport commented on Nov 19, 2021

You are welcome :). No worry, PHP is easy.

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
solved

None