v4.4.4 download not working, v4.1.1 does work |
Code: public function file_view($year, $employee_number, $file_type) { The code is the same, we have both v4.1.1 and v4.4.4 running using the same server/database - the v4.1.1 will download the file while the v4.4.4 just loads a blank page off the clicked link. The file is there, the file was uploaded on v4.4.4 (which I was happy about). I checked the logs, no errors. I'm not getting a routing error either. We did add specific routes (no idea if it matters): Code: $routes->group('wellness', static function ($routes) { Hoping someone has encountered this and I'm just missing something obvious. This is on a Windows server.
So, totally my fault. The third parameter was being made into lower case, which then failed on the if statement for comparison returning nothing on the else statement.
Errors in apache logs or writable/logs?
Simple CI 4 project for beginners codeigniter-expenses
|
Welcome Guest, Not a member yet? Register Sign In |