Fail in installation

QuestionsFail in installation
Eduardo asked 3 years ago

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

1 Answers
Abu Ghufran Staff answered 3 years ago

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.

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

10 + 3 =

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?