KoolReport's Forum

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

PostgreSQL Connection issue #3042

Open Oya Kaynar opened this topic on on May 4, 2023 - 2 comments

Oya Kaynar commented on May 4, 2023

Hi everyone.

I'm try to connect postgre sql database and getting message Uncaught Error: Call to undefined function koolreport\datasources\pg_connect() in \koolreport\core\src\datasources\PostgreSQLDataSource.php:105 Stack trace: #0

Do you know anybody how can i fix this issue?

Sebastian Morales commented on May 5, 2023

It seems that your PHP didn't have pgsql extension installed. Pls enable it by uncommenting pgsql.dll in php.ini on Windows or run terminal command "sudo apt install php-pgsql" on Debian/Ubuntu Linux. If there's any issue let us know. Rgds,

Oya Kaynar commented on May 6, 2023

Thanks Sebastian. I fixed. Your examination was right..

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

None