Where is database config file in socialengine ? applications/settings/database.php Where is the general settings file in socialengine? applications/settings/general.php – maintenance code and site mode (development or production) Where is cache path settings? applications/settings/cache.php How to get Base url in socialengine? echo $this->getView()->baseUrl(); or echo $this–>baseUrl(); How to build a mysql query in social engine? $table =…