Hi Abu
Greetings. Thank you very much for a wonderful product.
I upgraded my PHP to latest version. mysql_connect has been depreciated, so I changed the code to mysqli.
I am getting the following error…
Parse error: syntax error, unexpected end of file in C:inetpubwwwrootbetalibincadodbadodb.inc.php on line 4274
***** config.php *****
define("PHPGRID_DBTYPE","mysqli"); // or mysqli
define("PHPGRID_DBHOST","localhost");
define("PHPGRID_DBUSER","user");
define("PHPGRID_DBPASS","pwd");
define("PHPGRID_DBNAME","dbname");
// Automatically make db connection inside lib
define("PHPGRID_AUTOCONNECT",1);
// Basepath for lib
define("PHPGRID_LIBPATH",dirname(__FILE__).DIRECTORY_SEPARATOR."lib".DIRECTORY_SEPARATOR);
***** GRID page *****
include_once("config.php");
// set up DB
//mysql_connect(PHPGRID_DBHOST, PHPGRID_DBUSER, PHPGRID_DBPASS);
//mysql_select_db(PHPGRID_DBNAME);
$db_conf = array();
$db_conf["type"] = PHPGRID_DBTYPE;
$db_conf["server"] = PHPGRID_DBHOST; // or you mysql ip
$db_conf["user"] = PHPGRID_DBUSER; // username
$db_conf["password"] = PHPGRID_DBPASS; // password
$db_conf["database"] = PHPGRID_DBNAME; // database
// include and create object
include("lib/inc/jqgrid_dist.php");
$g = new jqgrid($db_conf);
*****************************
Your help in this matter is highly appreciated.
Thanks
Looks like this file is truncated and corrupted (adodb.inc.php). Try extracting/uploading again from the package.