Dec 30, 2015
0
Level 7
Amazon s3 Mime Type issue
I have a weird problem and can't solve it. I'm dumping my whole database to an sql file and then upload it to amazon s3. When I use it on my local machine with MAMP it works great, but on Digitalocean with Forge I get a "Mime Type errorException Array to string conversion". However When upload regular files, like csv, zip, or jpg it works fine. Has anyone encountered this issue?
Storage::disk('s3')->put('MyBackups/'.$fileSql, file_get_contents('../storage/files/' . $fileSql));
Please or to participate in this conversation.