class mysqli not found in JS

Stimulsoft Reports.PHP discussion
Post Reply
andreb
Posts: 53
Joined: Tue Sep 20, 2011 5:15 am
Location: Netherlands

class mysqli not found in JS

Post by andreb »

Hi stimulsoft team,

I cannot connect to mySql.

This is the case in JS (as part of reports.php).
When I press the test button in the designer for testing the mysql connection I get the message: "Connection error: [1] Class 'mysqli' not found (C:\Users\andre\Documents\Stimulsoft Samples 2016.1\Stimulsoft Reports.PHP\JS\stimulsoft\adapters\mysql.php, Line 13)"

I cannot find the class mysqli in any of the files.
Could it be the case that the class is missing?

Thank you in advance,

André
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: class mysqli not found in JS

Post by HighAley »

Hello, André.

Please, check the informatino from phpinfo().
Is the mysqli extension available in php?

Thank you.
andreb
Posts: 53
Joined: Tue Sep 20, 2011 5:15 am
Location: Netherlands

Re: class mysqli not found in JS

Post by andreb »

Thanks HighAley,

Since 2016.2 the problem does not occur anymore. So I guess it has been solved :-)

André
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: class mysqli not found in JS

Post by HighAley »

Hello.

It's a good news.
Let us know if you need our help.

Thank you.
Post Reply