Installation keep installing Demo not my DB

QuestionsInstallation keep installing Demo not my DB
Bassam Osman asked 7 years ago

Hello,
Just purchased the full copy. I followed the instructions by renaming and modifying config.php with my hosted MySQL database. After running "install.php" I am taken to the demo site instead of my own database.

Can you please provide clear instructions on how to prevent the demo and get to my own database defined in the config.php?

Thank you,

1 Answers
Abu Ghufran answered 7 years ago

Hi,

You can change any of the demo code e.g. in demos/editing/index.php

You need 2 changes:
1) Database config
$db_conf = array(
"type" => PHPGRID_DBTYPE,
"server" => PHPGRID_DBHOST,
"user" => PHPGRID_DBUSER,
"password" => PHPGRID_DBPASS,
"database" => PHPGRID_DBNAME
);
and
2) Table name
$g->table = "customers";

Based on your settings it will show your desired database table.
For other options like SQL select_command and columns customizations, you can refer docs.

Your Answer

16 + 2 =

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?