I've recently been trying to get a media view up and running, but for some reason I keep getting this Error "Error: The requested address '/ events/download' was not found on this server." My controller code is below
function download () { $this->view = 'Media'; $params = array( 'id' => 'SalemFall2011Newsletter.pdf', 'name' => 'SalemFall2011Newsletter', 'download' => true, 'extension' => 'pdf', // must be lower case 'path' => APP . 'webroot' . DS . 'files' . DS // don't forget terminal 'DS' ); $this->set($params); } Any ideas? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php