Sunday, March 26
One Small Step
So:
- The new server structure made the image filesystem read-only. I got that sorted out the first week after the chaos of the move. (Wait, no I didn't, but it did get sorted out a while ago.)
- The file upload API changed and renamed the filetype field, causing image uploads to fail.
- The new filetype was an object rather than a string so I couldn't even parse it to get the image type.
- There has been a bug in the code for fifteen years that only surfaced after I updated the MySQL server during the move, so even after uploading the file it wasn't accessible. The record was created with invalid data and then immediately updated so this problem was invisible - it lasted less than a millisecond each time - until the new version of MySQL enforced stricter checking and refused to create the records at all.
Fixed.
Posted by: Pixy Misa at
08:13 PM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 152 words, total size 1 kb.
47kb generated in CPU 0.0257, elapsed 0.119 seconds.
56 queries taking 0.1095 seconds, 345 records returned.
Powered by Minx 1.1.6c-pink.
56 queries taking 0.1095 seconds, 345 records returned.
Powered by Minx 1.1.6c-pink.