mbaksri
(Dbor Zip)
1
Hi, i want to ask about the configuration that (–maybe) i’ve been missed…
i want to display my pdf then i call it url (because i want it works dynamically) but when i click, there’s an error
besides, my code is
Lihat <a href="'/.../memo/' . $model->kodeMemo.'.pdf"> PDF Document </a>
hopefully,–anyone who’s read this-- can help me to find the solution is… 
h3rm
2
how about your access rules your controller ? I think there problem.
softark
(Softark)
3
As the error message says, you are specifying the pdf file name literally as “’/.../memo/’ . $model->kodeMemo.’.pdf”.
It could be something like this:
Lihat <a href="../memo/<?php echo $model->kodeMemo;?>.pdf">PDF Document</a>
mbaksri
(Dbor Zip)
4
Thanks softark, but the new errmsg is shows
…
is there any possibilities to fix it again? ^^'v
For Hermans : i’ve checked it, but --in my opinion-- there’s no wrong with it…
softark
(Softark)
5
Where is the target pdf file located?
You can adjust the link url of the pdf file according to it.
It can be an absolute url like "http://your.domain.com/memo/xxx.pdf" or a relative url from the current page like "../memo/xxx.pdf".
atti
(Atti84it)
6
is it a 404 not found or a 403 forbidden?!?!