HOW TO allow viewing of other tables in DataGrid Wizard?

Discuss everything related to ApPHP DataGrid Wizard utility. All versions. Any questions related to the ApPHP DataGrid Wizard developing or using should be posted to this forum.

Moderator: alexandrleonenko

Site Admin
Site Admin
Posts: 6030
Joined: Jan 7th, '09, 23:18

HOW TO allow viewing of other tables in DataGrid Wizard?

Postby administrator » Dec 7th, '11, 11:38

By default, DataGrid Wizard allows working only with the tables, that has the prefix, that was entered while installation.
For example, if you use abc_ prefix, so Wizard will allow to work with abc_tablename tables only.
This was defined to prevent unauthorized access or damage of your database.

If anyway, you want to allow Wizard to work with all tables in your datagrid, do following:
For version 2.0.0 or higher:
1. Open include/
2. Find there constant:

Code: Select all

define('_TABLE_PREFIX_REQUIRED', true);

and change it with false value

Code: Select all

define('_TABLE_PREFIX_REQUIRED', false);

After these changes you will see and could works with all tables, defined in your database.

For old versions please see this post:

Return to “ApPHP DataGrid Wizard {developers/users}”