File served with 404 response code
-
I am running download manager 1.5.1 and for some reason, php defaults to 404 response status when I hit the download URIS
/download/<id/(on one system), see stackoverflow for further details. The content is served, but the browser displays the error and you do not get the download dialog. Setting the response code inreadfile_chunked:if ( $range ) fseek( $handle, $range ); // May gives 404 otherwise http_response_code(200);solves that problem for me. I think that line should go in the official sources to prevent the problem for other people. And let me upgrade without breaking things again. 😉
The topic ‘File served with 404 response code’ is closed to new replies.