Saturday, November 8, 2014

download trigger error

Hi, In cakephp 2.5.x   I am trying to download an uploaded file from the server.
The code below works fine on my computer but when I upload the same code to a copy of the same working cakephp project on a  remote server I get this 503 error. If I remove the line  to download       $this->response->file($fil
ename, array('download' => true, 'name' => $filesave)); then the error goes but no functionality of course. I dont know how to fix this because the same code works fine on my computer.

503
Service Unavailable

The server is temporarily busy, try again later!


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: