phpgrid shows empty screen with sample database

Questionsphpgrid shows empty screen with sample database
Peter asked 8 years ago

Hi All,

we installed phpGRID on linux without any problems. However, on windows machine (apache 2.4, php7, win10), the phpGRID/index.php shows no datagrid. We configured the database access correctly. In the apache error log, we can see the following:

PHP Fatal error: Uncaught Error: Call to undefined function mysqli_query() in C:\Apache24\htdocs\phpGRID\lib\inc\adodb\drivers\adodb-mysqli.inc.php:783nStack trace:n#0 C:\Apache24\htdocs\phpGRID\lib\inc\adodb\adodb.inc.php(1185): ADODB_mysqli->_query('SET NAMES 'UTF8…', false)n#1 C:\Apache24\htdocs\phpGRID\lib\inc\adodb\adodb.inc.php(1163): ADOConnection->_Execute('SET NAMES 'UTF8…', false)n#2 C:\Apache24\htdocs\phpGRID\lib\inc\jqgrid_dist.php(9): ADOConnection->Execute('SET NAMES 'UTF8…')n#3 C:\Apache24\htdocs\phpGRID\demos\editing\index.php(23): jqgrid->__construct(Array)n#4 {main}n thrown in C:\Apache24\htdocs\phpGRID\lib\inc\adodb\drivers\adodb-mysqli.inc.php on line 783, referer: http://localhost/phpgrid/index.php

Could you clarify, how to solve this problem?

1 Answers
Abu Ghufran answered 8 years ago

Looks like mysql extension is not enabled in your php installation.
Please enable/install mysql and recheck.

Your Answer

10 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?