lcollong
FabriKant d'applications web
Hi,
I have a strange error. Using a link on a detail view with an href generating an url which should trigger the downloading of the corresponding file. In "normal mode" (no sef no rewrite), it works very well. In sef mode, it seems to loose the formid ref. Here is the result of my tries :
with SEF and rewrite :
generates an error 404 (0 form does not exists)
with sef but without rewriting :
generates an error 404 (0 form does not exists)
without sef nor rewriting :
trigger the download immediatly without any errors
The way the formid is passed as a parameter in the sef url seems to be the problem.
Could be tested on the B4 site of mysites. Menu "Contribuer"-->"derni?res contributions". Click on a name under "Toponyme" to display the detail view. At the bottom, clicking on one of the labels (photo n? 1/2/3/4) should trigger the download of the corresponding image. Currently set with SEF and Rewrite on. But switching them off in the administrator access, let them work.
I have a strange error. Using a link on a detail view with an href generating an url which should trigger the downloading of the corresponding file. In "normal mode" (no sef no rewrite), it works very well. In sef mode, it seems to loose the formid ref. Here is the result of my tries :
with SEF and rewrite :
Code:
http://wwww.mysite.com/affichage-vue-detail-sans-modules/plugin.pluginAjax/16/9324.html?plugin=fileupload&method=ajax_download&element_id=197&repeatcount=0
with sef but without rewriting :
Code:
http://wwww.mysite.com/index.php/affichage-vue-detail-sans-modules/plugin.pluginAjax/16/9324.html?plugin=fileupload&method=ajax_download&element_id=197&repeatcount=0
without sef nor rewriting :
Code:
http://www.mysite.com/index.php?option=com_fabrik&task=plugin.pluginAjax&plugin=fileupload&method=ajax_download&element_id=197&formid=16&rowid=9324&repeatcount=0&Itemid=304
The way the formid is passed as a parameter in the sef url seems to be the problem.
Could be tested on the B4 site of mysites. Menu "Contribuer"-->"derni?res contributions". Click on a name under "Toponyme" to display the detail view. At the bottom, clicking on one of the labels (photo n? 1/2/3/4) should trigger the download of the corresponding image. Currently set with SEF and Rewrite on. But switching them off in the administrator access, let them work.