mysqli.inc.php missing but exists in the directory

Questionsmysqli.inc.php missing but exists in the directory
BB asked 7 years ago

Hi there
I am trying to get the demo to work and I am getting this error. The file does actually exist in the directory so I am presuming that the problem may be to do with mysqli.  I am using xampp V3.2.2.
Missing file: C:\xampp\php\pear\adodb/drivers/adodb-{{mysqli}}.inc.php
ADONewConnection: Unable to load database driver ”
Any help would be greatly appreciated.

1 Answers
Abu Ghufran Staff answered 7 years ago

Looks like the config.php is not set correctly. You might need to just remove {{ }} from config.php. These are just placeholders sign. Final line should be:
define(“PHPGRID_DBTYPE”,”mysqli”);
Following these steps from docs:
Installing Demos Manual
1) Execute “database.sql” on a Mysql Database. It will create ‘griddemo’ database.
2) Place all files in a directory on the web server. e.g. “…/www/phpgrid/”
3) Rename config.sample.php to config.php, and update database config. e.g.
define(“PHPGRID_DBTYPE”,”mysqli”);
define(“PHPGRID_DBHOST”,”localhost”);
define(“PHPGRID_DBUSER”,”root”);
define(“PHPGRID_DBPASS”,””);
define(“PHPGRID_DBNAME”,”griddemo”);

// It will work in normal cases, unless you change lib folder location
define(“PHPGRID_LIBPATH”,dirname(__FILE__).DIRECTORY_SEPARATOR.”lib”.DIRECTORY_SEPARATOR);
 

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

19 + 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?