Hi Emman.I found the bug.I had to remove DB_CHARSET from function GetModel($arg=null){ //Initialse New Database Connection return new PDODb(DB_TYPE, DB_HOST , DB_USERNAME, DB_PASSWORD, DB_NAME); } from the BaseController.php and it is working now.It only affects a PostgresSql connection
When using a postgresql database I get the following error Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] invalid port number: "utf8 when previewing the project. Any help will be appreciated