Not working in Media section "input.uploadify is not a function"
I've just installed the package as our client wants to have the functionality to upload multiple files on their website.
When I install all goes ok (no errors etc.) When I go into the media section the folders have a new tab as they should called "upload" however the tab contains a normal browse control without the Uploadify grey button. The datatype and macro have also been installed correctly.
I noticed the following error in Firebug which I think is causing it not to work:
If I try and navigate to the pages (either in a browser or by clicking on the link in Firebug) I get the following message:
<html><body><h1>Page not foundh1><h3>No umbraco document matches the url 'http://mywebsite.com/Rejected-By-UrlScan?~/usercontrols/Gecko.Uploadify/jquery.uploadify.v2.1.0.min.js'h3><p>umbraco tried this to match it using this xpath query'/root/* [@urlName = "rejected-by-urlscan"]')p><p>This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.p><p>For more information, visit <a href="http://umbraco.org/redir/custom-404">information about custom 404a> on the umbraco website.p><p style="border-top: 1px solid #ccc; padding-top: 10px"><small>This page is intentionally left ugly ;-)small>p>body>html>
After lots of changes to Uploadify.ascx file I think I've got this working although its not the best solution.
I think the "Rejected-By-UrlScan" functionality didn't like the "." in "Gecko.Uploadify" so first of all I just tried renaming the folder to remove the "." but that didn't work.
So I just copied (not cut) all the files from the Gecko.Uploadify folder into the usercontrols folder and amended the references in Uploadify.ascx.
I hope the pain that I've gone through today is help for somebody in the future!
I had the same errors... the requested files were not found (css, js). I wondered if its not possible to use something like ~/ at the beginning of the path ... but i couldnt figure it out... so i just added ../ at the beginning of the paths. This is because my umbraco instance runs on localhost:8009/UmbracoTest/, if you use /css/file.css here, you get a 404 error since localhost:8009/css does not exist! by changing the path to ../css/file.css it works.
Not working in Media section "input.uploadify is not a function"
I've just installed the package as our client wants to have the functionality to upload multiple files on their website.
When I install all goes ok (no errors etc.) When I go into the media section the folders have a new tab as they should called "upload" however the tab contains a normal browse control without the Uploadify grey button. The datatype and macro have also been installed correctly.
I noticed the following error in Firebug which I think is causing it not to work:
input.uploadify is not a function
I'm using Umbraco 4.5.2, Asp.Net 3.5.
Any help would be greatly appreciated.
Thanks
Ben
Ok, so the problem seems to be with loading the following files:
If I try and navigate to the pages (either in a browser or by clicking on the link in Firebug) I get the following message:
After lots of changes to Uploadify.ascx file I think I've got this working although its not the best solution.
I think the "Rejected-By-UrlScan" functionality didn't like the "." in "Gecko.Uploadify" so first of all I just tried renaming the folder to remove the "." but that didn't work.
So I just copied (not cut) all the files from the Gecko.Uploadify folder into the usercontrols folder and amended the references in Uploadify.ascx.
I hope the pain that I've gone through today is help for somebody in the future!
I had the same errors... the requested files were not found (css, js). I wondered if its not possible to use something like ~/ at the beginning of the path ... but i couldnt figure it out... so i just added ../ at the beginning of the paths. This is because my umbraco instance runs on localhost:8009/UmbracoTest/, if you use /css/file.css here, you get a 404 error since localhost:8009/css does not exist! by changing the path to ../css/file.css it works.
i had to change the following:
<link href="../usercontrols/Gecko.Uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<script src="../usercontrols/Gecko.Uploadify/jquery.uploadify.v2.1.0.min.js" type="text/javascript"></script>
<script src="../usercontrols/Gecko.Uploadify/swfobject.js" type="text/javascript"></script>
'uploader': '../usercontrols/Gecko.Uploadify/uploadify.swf',
'script': '../usercontrols/Gecko.Uploadify/Uploadify.ashx',
'cancelImg': '../usercontrols/Gecko.Uploadify/cancel.png',
ah and by the way:
http://umbraco.codeplex.com/workitem/29746
maybe that helps somebody ;)
is working on a reply...