# Uploadify und RouterOld

**URL:** https://forum.shopware.com/t/uploadify-und-routerold/8114
**Category:** Shopware 3.5
**Tags:** programming
**Created:** [22. August 2012 um 20:34 UTC](https://forum.shopware.com/t/uploadify-und-routerold/8114 "2012-08-22T20:34:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)
#### Post date: [22. August 2012 um 20:34 UTC](https://forum.shopware.com/t/uploadify-und-routerold/8114/1 "2012-08-22T20:34:17Z")

</div>

Hi, was genau macht das aktive RouterOld Plugin? Ich habe das Problem, dass folgendes Script nur mit aktivem RouterOld Plugin funktioniert: `<embed width="110" height="30" type="application/x-shockwave-flash" wmode="opaque" allowscriptaccess="sameDomain" name="fileUploadUploader" class="fileUploaderBtn" id="fileUploadUploader" quality="high" src="/engine/Shopware/Plugins/Community/Frontend/OrderUpload/Views/frontend/plugins/OrderUpload/_resources/uploadify/uploader.swf?fileUploadID=fileUpload&amp;pagepath=/checkout/&amp;buttonText=Datei%20suchen...&amp;script=http://www.xxx.de/shopware.php/sViewport,OrderUpload&amp;folder=&amp;btnWidth=110&amp;btnHeight=30&amp;wmode=opaque&amp;fileDesc=Supported%20Files&amp;fileExt=*.ai;*.psd;*.ps;*.jpg;*.tif;*.pdf;*.png;*.zip;*.rar&amp;auto=true&amp;fileDataName=Filedata">`

Ist das RouterOld Plugin altiv, so wird das Script, welches in der URL übergeben wird aufgerufen: script=http://www.xxx.de/shopware.php/sViewport,OrderUpload

Der Unterschied liegt an der URL:  
routerOld inaktiv

```auto
<embed width="110" height="30" type="application/x-shockwave-flash" wmode="opaque" allowscriptaccess="sameDomain" name="fileUploadUploader" class="fileUploaderBtn" id="fileUploadUploader" quality="high" src="/engine/Shopware/Plugins/Community/Frontend/OrderUpload/Views/frontend/plugins/OrderUpload/_resources/uploadify/uploader.swf?fileUploadID=fileUpload&amp;pagepath=/checkout/&amp;buttonText=Datei%20suchen...&amp;script=http://www.vicasy.de/OrderUpload&amp;folder=&amp;btnWidth=110&amp;btnHeight=30&amp;wmode=opaque&amp;fileDesc=Supported%20Files&amp;fileExt=*.ai;*.psd;*.ps;*.jpg;*.tif;*.pdf;*.png;*.zip;*.rar&amp;auto=true&amp;fileDataName=Filedata">
```

routerOld aktiv

```auto
<embed width="110" height="30" type="application/x-shockwave-flash" wmode="opaque" allowscriptaccess="sameDomain" name="fileUploadUploader" class="fileUploaderBtn" id="fileUploadUploader" quality="high" src="/engine/Shopware/Plugins/Community/Frontend/OrderUpload/Views/frontend/plugins/OrderUpload/_resources/uploadify/uploader.swf?fileUploadID=fileUpload&amp;pagepath=/checkout/&amp;buttonText=Datei%20suchen...&amp;script=http://www.vicasy.de/shopware.php/sViewport,OrderUpload&amp;folder=&amp;btnWidth=110&amp;btnHeight=30&amp;wmode=opaque&amp;fileDesc=Supported%20Files&amp;fileExt=*.ai;*.psd;*.ps;*.jpg;*.tif;*.pdf;*.png;*.zip;*.rar&amp;auto=true&amp;fileDataName=Filedata">
```

Also geht dieser Link im Script nicht, bei deaktiviertem RouterOld: script=http://www.vicasy.de/OrderUpload

Hat jemand eine Idee, woran dies liegt?

---

<div class="post-metadata">

### Author: ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)
#### Post date: [22. August 2012 um 21:01 UTC](https://forum.shopware.com/t/uploadify-und-routerold/8114/2 "2012-08-22T21:01:51Z")

</div>

Hallo, bitte mal statt: shopware.php/sViewport,xxx es nach folgendem Schema machen: shopware.php?sViewport=xxx&…

---

<div class="post-metadata">

### Author: ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)
#### Post date: [22. August 2012 um 21:08 UTC](https://forum.shopware.com/t/uploadify-und-routerold/8114/3 "2012-08-22T21:08:39Z")

</div>

Hi Sebastian, shopware.php?sViewport=xxx&… kann ich nicht verwendet, da es ja sozusagen ein Pfad im Pfad ist. Ich habe es unten rot markiert. Wahrscheinlich ist der komplette SRC falsch, wenn man das RouterOld Plugin deaktiviert. src="/engine/Shopware/Plugins/Community/Frontend/OrderUpload/Views/frontend/plugins/OrderUpload/\_resources/uploadify/uploader.swf?[color=red]fileUploadID=fileUpload[/color]&[color=red]pagepath=/checkout/[/color]&[color=red]buttonText=Datei%20suchen…[/color]&[color=red]script=http://www.xxx.de/shopware.php/sViewport,OrderUpload[/color]&[color=red]folder=[/color]&[color=red]btnWidth=110[/color]"
