1
내 서버에 pdf 파일이 있습니다. 방문자가 다운로드 할 수있게하려는 경우 몇 가지 오류가 발생합니다. 나는 오류zend framework 1.11에서의 간단한 pdf 다운로드 기능
Message: Action "tsapPdf" does not exist and was not trapped in __call()
내 서버에 pdf 파일이 있습니다. 방문자가 다운로드 할 수있게하려는 경우 몇 가지 오류가 발생합니다. 나는 오류zend framework 1.11에서의 간단한 pdf 다운로드 기능
Message: Action "tsapPdf" does not exist and was not trapped in __call()
하면 PDF 파일
예에 대한 base을 경로를 추가를 얻을 내가
<a href="http://www.mysite.com/docs/tsap.pdf">download</a>
추가 내보기 파일에 간단한 컨트롤러와 해당 뷰 파일을했다.
<a href="<?php echo $this->baseUrl();?>/your/pdf/path" target='_blank'>download</a>
는
은 [조건을 재 작성 (http://framework.zend.com/manual/1.11/en/project-structure.rewrite.html)를 설정 바로는,이 작동 할 수 있음 ? –