Error when trying to create/show grid

QuestionsError when trying to create/show grid
Terry Ladouceur asked 3 years ago

I am using the free version of the grid right now. I have setup it up and have no problems with the demo version.

I have created another config file to connect to my database but when I try to execute the code I get the following error:

Missing file: /home/xxxx/public_html/xxxx/phpgrid/lib/inc/adodb/drivers/
ADONewConnection: Unable to load database driver ''

The file does in fact exist so it's there. The error.log file records this:

PHP Fatal error: Call to a member function SetFetchMode() on boolean in /home/xxxx/public_html/xxxx/phpgrid/lib/inc/jqgrid_dist.php on line 9

I am not sure what the issue is. Any help appreciated.

Thank you.

Terry Ladouceur

1 Answers
Abu Ghufran answered 3 years ago

Hi, should be
And this need to be corrected in your database configuration.

eg. see config.php
PHPGRID_DBTYPE -> mysqli (not msqli)

or if you have defined in page:
$db_conf = array(
"type" => "mysqli"
"server" => PHPGRID_DBHOST,
"password" => PHPGRID_DBPASS,
"database" => PHPGRID_DBNAME

Your Answer

12 + 8 =

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 / 5. Vote count:

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

Let us improve this post!