when I try to install everything following the “get started” steps it fails when i go to the index, it appear to me this error lines:
Warning: Use of undefined constant PHPGRID_LIBPATH – assumed ‘PHPGRID_LIBPATH’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 14
Warning: include(PHPGRID_LIBPATHinc/jqgrid_dist.php): failed to open stream: No such file or directory in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 14
Warning: include(): Failed opening ‘PHPGRID_LIBPATHinc/jqgrid_dist.php’ for inclusion (include_path=’C:\xampp\php\PEAR’) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 14
Warning: Use of undefined constant PHPGRID_DBTYPE – assumed ‘PHPGRID_DBTYPE’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 18
Warning: Use of undefined constant PHPGRID_DBHOST – assumed ‘PHPGRID_DBHOST’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 19
Warning: Use of undefined constant PHPGRID_DBUSER – assumed ‘PHPGRID_DBUSER’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 20
Warning: Use of undefined constant PHPGRID_DBPASS – assumed ‘PHPGRID_DBPASS’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 21
Warning: Use of undefined constant PHPGRID_DBNAME – assumed ‘PHPGRID_DBNAME’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 22
Fatal error: Uncaught Error: Class ‘jqgrid’ not found in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php:25 Stack trace: #0 {main} thrown in C:\xampp\htdocs\gridphp\demos\appearance\grouping.php on line 25
don’t matter where I try to go it keep changing. If I try to go for example Appearance/External link it changes to this:
Warning: Use of undefined constant PHPGRID_LIBPATH – assumed ‘PHPGRID_LIBPATH’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 14
Warning: include(PHPGRID_LIBPATHinc/jqgrid_dist.php): failed to open stream: No such file or directory in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 14
Warning: include(): Failed opening ‘PHPGRID_LIBPATHinc/jqgrid_dist.php’ for inclusion (include_path=’C:\xampp\php\PEAR’) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 14
Warning: Use of undefined constant PHPGRID_DBTYPE – assumed ‘PHPGRID_DBTYPE’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 18
Warning: Use of undefined constant PHPGRID_DBHOST – assumed ‘PHPGRID_DBHOST’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 19
Warning: Use of undefined constant PHPGRID_DBUSER – assumed ‘PHPGRID_DBUSER’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 20
Warning: Use of undefined constant PHPGRID_DBPASS – assumed ‘PHPGRID_DBPASS’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 21
Warning: Use of undefined constant PHPGRID_DBNAME – assumed ‘PHPGRID_DBNAME’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 22
Fatal error: Uncaught Error: Class ‘jqgrid’ not found in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php:25 Stack trace: #0 {main} thrown in C:\xampp\htdocs\gridphp\demos\appearance\external-link.php on line 25
I tried to unstall and do it again a lot of times but it never works, can someone help me on it??
Hi,
Most likely, In your grid code file, the include path of your config.php file is incorrect due to which path are not defined and rest of the files are not loaded.