![]() |
HHVM + Postgres Driver - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: HHVM + Postgres Driver (/showthread.php?tid=61832) |
HHVM + Postgres Driver - no1youknowz - 05-22-2015 Just wanted to put this here, in case anyone else comes up with the same issue. Running HHVM + the Postgres driver from PocketRent. It does not support the function pg_set_client_encoding. Code: \nFatal error: Call to unimplemented native function pg_set_client_encoding() in system/database/drivers/postgre/postgre_driver.php on line 200 Change: PHP Code: protected function _db_set_charset($charset) To: PHP Code: protected function _db_set_charset($charset) Now you don't get the error. ![]() |