Skip to content

Error: Class 'phpGrid\C_DataBase' not found

Problem:
I was getting C_DataGrid not found until I added "use phpGrid\C_DataGrid" Now I am getting C_DataBase not found. I tried adding use phpGrid\C_DataBase but I still get the error.

Solution:
You don't need to call that class directly usefully, but if you do, it would be

use phpGrid\C_DataGrid;
use phpGrid\C_DataBase;

require_once("<PATH TO>/conf.php");

In addition, if you have installed phpGrid, phpChart, phpEventCalendar, or other PHPControls library in the same directory and it can overwrite some of the config files.

Feedback and Knowledge Base