Just recompiled a project made with V2018.3 using V2019.0
Simple code and have used it since V2 release. The zip is being created, just not being downloaded and no errors produced.
$yourfile = $storagelocation.'tmp/example.zip'; $file_name = basename($yourfile); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($yourfile)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($yourfile)); readfile($yourfile); sleep (2); unlink($storagelocation.'tmp/example.zip'); exit;
Also, about every 3-4 times during/after compile getting some silly message like this:
Cannot open file “C:\ProgramData\english101\CEF3357818600\libcef.dll”. The process cannot access the file becuase it is being used by another process.
I have nothing in code that would use the ProgramData folder?
Again, this all started when upgraded to V2019.
PLEASE, please either tell me how to downgrade to 2018.3 or get me a copy of 2019 that works. Trying to run a business and really hate to go back to Visual Studio which would take me months…