Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I had a similar(?) issue with a php script that forces a PDF to download instead of launch. The script downloaded the PDF but it was corrupted. I fixed it by simply putting the script in the same directory as the PDFs on the server. I didn't look into why as under pressure so I was working to FAF (fix and forget) protocol.
-
RosaCtrl2639y@dkomit I don't think so, because if I upload an image it also gets corrupted.
@helloworld (nice nickname) I just copied the folder with the images to my machine using rsync and they are corrupted. The question is why they aren't corrupted in testing?
When you don't have a clue: the worst kind of debugging.
Related Rants
-
Dacexi24
When there are only 2 pages on Google you know you're in serious shit. -
practiseSafeHex20Fixing a parents iPhone, episode 1. Problem: "Whatsapp is gone off my phone" Debugging: Me: *unlocks phone... -
nachocode6
When you talk to other devs about what their code did. I also relate myself to this.

I have this system that receives an image on Base64 or the URL (in that case the system makes an HTTP request and saves re response to disk). It works beautiful when I run the tests, it doesn't work at all in production (all the resulting files are corrupted). I don't know how to start to debug it so I'm going to bed and let my future self to resolve the issue.
undefined
debugging