![]() |
Downloading File - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: Downloading File (/showthread.php?tid=82689) |
Downloading File - slookabill - 08-09-2022 I'm currently trying to export a subset of my MySQL database to be downloaded in the client as a SQLite database. In my controller, if there's no errors in moving the data, it returns PHP Code: return $this->response->download('../app/dbtmp/'.$airport['Identifier'].'.sqlite3', null)->setFileName('config.sqlite3'); TypeError CodeIgniter\CodeIgniter::displayPerformanceMetrics(): Argument #1 ($output) must be of type string, null given, called in ...vendor/codeigniter4/framework/system/CodeIgniter.php on line 500 At this point I don't know what the error could be or how to trace what could be the issue. RE: Downloading File - datamweb - 08-10-2022 This is bug, see https://github.com/codeigniter4/CodeIgniter4/pull/6361 |