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/adodb-msqli.inc.php
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
Hi,
msqli.inc.php should be mysqli.inc.php
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,
"user" => PHPGRID_DBUSER,
"password" => PHPGRID_DBPASS,
"database" => PHPGRID_DBNAME
);