Do you have Firebug installed in Firefox? If so, open a front-end page with the Uploadify control, open Firebug in the Net tab and hit Ctrl+F5. See if you're getting any red "404 not found" results in the Net tab in Firebug.
I did some more digging and it looks like the Datatype doesn't get created with the automatic installation. Does anyone know how to do this manually? I didn't see much documentation ...
I uninstalled the previous version and installed the new one you just put up, Gecko_Uploadify_15. The install didn't fail like it had before, but when I put the macro into a template, the same problem occured: no upload button.
Right, the upload button doesn't appear in any browser. I made a video showing the complete installation and where it's failing ... would you mind taking a look?
Thanks
--
I'm trying to use the Gecko Uploadify Macro in Umbraco that will allow public users to upload images to a certain media folder. Once I install the package and put the macro in a template, I'm only able to browse and select a file, but there's no 'upload' button in FF, IE, or Chrome.
Thanks for the video. I noticed something you were doing wrong: the OnComplete and OnAllComplete fields in the Macro are not text fields, they're Javascript fields. So by writing "Thank you!" I presume you're blowing up the Javascript engine, which causes the whole script to fail.
Leave those fields blank and try again. Also, check in Firebug for any Javascript errors if the problem persists.
I'm also now getting errors whenever opening a folder in the media section...Installing the new version of Uploadfiy and trying to insert the macro on the front-end is the only thing i've done.
Hi Emanuel, I have jquery-1.4.2.min on the front-end. Also, I'm not getting any javascript errors. I don't see anywhere in the Uploadify.ascs file where it actually calls for an upload button?
Emanual, I can't really post all of the source, here's all of the javascript, is there anything in particular you're looking for that i could help with?
If you take a look at the sample code you pasted, you should see an <input ... type="file">. The InputFieldId is basically your way of controlling the id and name of that input tag. We need the ID to be set on the input tag so we can target it with jQuery. If you look at your sample again, you should see
var input = $('#');
That '#' is targetting nothing, which was your problem. As long as you set the field ID, you should be OK. I actually thought I had created a failsafe for this (using a default id/name if none was provided) but apparently it's not working. I'll update it sometime in the future.
View the page with the Uploadify macro in Firefox and open Firebug to see if you have any javascript errors in the Console. Also, make sure you have a reference to jQuery in your template.
That is not the source code of your page. Your page should start with a DOCTYPE declaration, followed by a <head> tag etc. Please look at the Template you're using on your page and make the necessary changes to it. The help you're asking is not within the scope of the Uploadify package and instead is a more generic HTML question.
És português, certo? Eu também. Se estás com problemas em meter o jQuery numa página, devias pedir ajuda a algum amigo programador. Estás a fazer o projecto para ti ou para um cliente?
O problema do upload já está resolvido. Como na maioria dos casos.. faltava-me um http :(...
Agora estou a debater-me com um erro http 404.7 que não me deixa fazer upload. "The request filtering module is configured to deny the file extension".
Is there a special reason why you're including four different versions of jQuery on your template? Also, you don't need the references to "swfobject.js" in your template, it's rendered by the macro (as you can see from your example above). Once you clear these 2 problems, open the page in Firebug and see if you have JS errors on the page.
Upload Button Not Appearing
I need some help with the 'macro that can be placed on the front-end of your site, allowing Multiple files to be uploaded by users of the site.'
I've installed the macro and linked to it from my template, but the upload button doesn't appear in any browser on my computer.
To be safe, I tried the macro with parameters and without and still get the same result.
<umbraco:Macro MediaFolder="" InputFieldId="" ButtonText="" AllowedTypes="" SizeLimitMB="" Alias="GeckoUploadify" runat="server"></umbraco:Macro>
The rendered HTML isas follows. I've verified that the CSS and JS files are in the indicated directory.
I'm using u 4.7.1 and Gecko Uploadify version 1.4 (I think ... the .zip is called Gecko_Uploadify_14).
Thanks
Hi,
Do you have Firebug installed in Firefox? If so, open a front-end page with the Uploadify control, open Firebug in the Net tab and hit Ctrl+F5.
See if you're getting any red "404 not found" results in the Net tab in Firebug.
Also, is it working on the back-end?
I'm having the same problem, I had to do a manual install because the auto install failed. The net tab in firebug shows no 404 errors.
I did some more digging and it looks like the Datatype doesn't get created with the automatic installation. Does anyone know how to do this manually? I didn't see much documentation ...
Thanks!
I've uploaded a new version compatible with umbraco 4.7, which should fix these issues... I hope!
Let me know how you get on.
Thanks Emanuel.
I uninstalled the previous version and installed the new one you just put up, Gecko_Uploadify_15. The install didn't fail like it had before, but when I put the macro into a template, the same problem occured: no upload button.
Have you been able to replicate this problem?
Thanks!
Frost,
No, I haven't been able to replicate that problem. Is that happening on all browsers?
Right, the upload button doesn't appear in any browser. I made a video showing the complete installation and where it's failing ... would you mind taking a look?
Thanks
--
I'm trying to use the Gecko Uploadify Macro in Umbraco that will allow public users to upload images to a certain media folder. Once I install the package and put the macro in a template, I'm only able to browse and select a file, but there's no 'upload' button in FF, IE, or Chrome.
Umbraco 4.7.1
Gecko Uploadify 15
http://youtu.be/HaOG9oeQxQ0
Frost,
Thanks for the video. I noticed something you were doing wrong: the OnComplete and OnAllComplete fields in the Macro are not text fields, they're Javascript fields.
So by writing "Thank you!" I presume you're blowing up the Javascript engine, which causes the whole script to fail.
Leave those fields blank and try again. Also, check in Firebug for any Javascript errors if the problem persists.
Good luck,
Emanuel
I'm experiencing the same problems as everyone above...
I'm also now getting errors whenever opening a folder in the media section...Installing the new version of Uploadfiy and trying to insert the macro on the front-end is the only thing i've done.
Guys,
Do you have jQuery on the front-end? Gecko Uploadify needs jQuery.
I did a quick test on a 4.7.1 website and it worked.
Amir: Check the "Folder" Media Type to make sure you don't have two "uploadFiles" properties.
Hi Emanuel, I have jquery-1.4.2.min on the front-end. Also, I'm not getting any javascript errors. I don't see anywhere in the Uploadify.ascs file where it actually calls for an upload button?
Thanks for your help,
Amir
You were right about the duplicate properties on the Folder Media Type :)
Amir,
Can you please post the source for the page where Uploadify is being used?
At least the relevant part where the Uploadify macro is being used.
Emanual, I can't really post all of the source, here's all of the javascript, is there anything in particular you're looking for that i could help with?
I don't see Uploadify anywhere on that code. Are you adding the macro to the template?
Hi there
I have the same problem as mentioned above.I have a Umbraco 4.7.1 installed and the only thing i have on the template is:
But still i only shows the Browse button.
The HTML and JS the Macro generates is this:
Can you help me?
Regards
Bjarke
Hi Bjarke,
Your InputFieldId can't be null. Write something on it and it should work.
Cheers,
Emanuel
Ahh Great Thank you :)
Nice Package by the way ;)
Can you explain what exactly the InputFieldId is used for? right now i just typed in som random number :)
Regards Bjarke
If you take a look at the sample code you pasted, you should see an <input ... type="file">.
The InputFieldId is basically your way of controlling the id and name of that input tag.
We need the ID to be set on the input tag so we can target it with jQuery.
If you look at your sample again, you should see
That '#' is targetting nothing, which was your problem. As long as you set the field ID, you should be OK.
I actually thought I had created a failsafe for this (using a default id/name if none was provided) but apparently it's not working.
I'll update it sometime in the future.
Emanuel
even though i have tried to follow the guidance from this thread, i still can't get it to work frontend :(
i get a javascript error about "jQuery" not being defined. Any ideas?
Christian,
If jQuery is not defined, then you need to define it.
You need to add jQuery to your template. Add a javascript reference to it in the HTML header:
http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js
Emanuel
woaw this is not embarrassing at all..... :P
i had not included the jquery javascript
hey, posted just at the same time. But thanks a lot... awesome control that you have made!
Hi. I've installed version umbraco v 4.7.2 (Assembly version: 1.0.4500.21031).
I'm new at this but I have tried everything and my upload button don't appear on the macro. It works fino on the backoffice.
Can you help me?
script
script type="text/javascript">
$(function () {
var errorsOccurred = true;
var auth = "893BCA2808416AEBE22F98AEA7C4B360023F851294B09692FAF868176088047DA555D0F86DB4BC2333BF9B7D9445E4AFA8B2A084078E9824C8F981E185387C8EC270E35DA064DF345797FAACDD623FA427D85CCC545F11CF63369D0E712D1C644EB2308E2B2A42C658F027D50E255E47D92106117E80D71BA1362BFDCB493EB64138AE504B673A98797166D50C0E63B4";
var input = $('#re');
input.uploadify({
'uploader': '/usercontrols/Gecko.Uploadify/uploadify.swf',
'script': '/usercontrols/Gecko.Uploadify/Uploadify.ashx',
'cancelImg': '/usercontrols/Gecko.Uploadify/cancel.png',
'auto': true,
'multi': true,
'wmode': 'transparent',
//'buttonImg' : '/usercontrols/Gecko.Uploadify/upload.png',
//'width': 102,
//'height': 37,
'sizeLimit': 2097152,
'buttonText': 'Updf',
'scriptData': {
'AUTHID': auth,
'mediaFolder' : 1124
}
,'fileExt' : '*.png'
,'fileDesc' : '*.png'
,'onComplete': function(event, queueID, fileObj, response, data) {
if (response != "1") { errorsOccurred = true; alert(response); }
return false;
}
,'onAllComplete': function(event, data) {
if (data.errors == 0 && !errorsOccurred) {
window.location.reload();
}
errorsOccurred = false;
}
});
});
if (data.errors == 0 && !errorsOccurred) {
window.location.reload();
}
errorsOccurred =
false;
------------------------------------------------------- //////////////////////////////////////////////////////////////////----------------------------------------------
Can you help me?
Hi. I've installed version umbraco v 4.7.2 (Assembly version: 1.0.4500.21031).
I'm new at this but I have tried everything and my upload button don't appear on the macro. It works fino on the backoffice.
Can you help me?
script
script type="text/javascript">
$(function () {
var errorsOccurred = true;
var auth = "893BCA2808416AEBE22F98AEA7C4B360023F851294B09692FAF868176088047DA555D0F86DB4BC2333BF9B7D9445E4AFA8B2A084078E9824C8F981E185387C8EC270E35DA064DF345797FAACDD623FA427D85CCC545F11CF63369D0E712D1C644EB2308E2B2A42C658F027D50E255E47D92106117E80D71BA1362BFDCB493EB64138AE504B673A98797166D50C0E63B4";
var input = $('#re');
input.uploadify({
'uploader': '/usercontrols/Gecko.Uploadify/uploadify.swf',
'script': '/usercontrols/Gecko.Uploadify/Uploadify.ashx',
'cancelImg': '/usercontrols/Gecko.Uploadify/cancel.png',
'auto': true,
'multi': true,
'wmode': 'transparent',
//'buttonImg' : '/usercontrols/Gecko.Uploadify/upload.png',
//'width': 102,
//'height': 37,
'sizeLimit': 2097152,
'buttonText': 'Updf',
'scriptData': {
'AUTHID': auth,
'mediaFolder' : 1124
}
,'fileExt' : '*.png'
,'fileDesc' : '*.png'
,'onComplete': function(event, queueID, fileObj, response, data) {
if (response != "1") { errorsOccurred = true; alert(response); }
return false;
}
,'onAllComplete': function(event, data) {
if (data.errors == 0 && !errorsOccurred) {
window.location.reload();
}
errorsOccurred = false;
}
});
});
if (data.errors == 0 && !errorsOccurred) {
window.location.reload();
}
errorsOccurred =
false;
------------------------------------------------------- //////////////////////////////////////////////////////////////////----------------------------------------------
Can you help me?
Claudio,
View the page with the Uploadify macro in Firefox and open Firebug to see if you have any javascript errors in the Console.
Also, make sure you have a reference to jQuery in your template.
Emanuel
Hi, Emanuel.
I view the page in Firefox and get the error
"
How ca I define it and where?
Thanks in advance.. I know this should be a trivial thing for you probably.. Sorry about that
Claudio,
Add the following line to your <head> section:
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"></script>
Emmanuel,
I just added that and still have this two errors.
Claudio,
That is not the source code of your page. Your page should start with a DOCTYPE declaration, followed by a <head> tag etc.
Please look at the Template you're using on your page and make the necessary changes to it.
The help you're asking is not within the scope of the Uploadify package and instead is a more generic HTML question.
És português, certo? Eu também. Se estás com problemas em meter o jQuery numa página, devias pedir ajuda a algum amigo programador. Estás a fazer o projecto para ti ou para um cliente?
Emanuel
O problema do upload já está resolvido. Como na maioria dos casos.. faltava-me um http :(...
Agora estou a debater-me com um erro http 404.7 que não me deixa fazer upload. "The request filtering module is configured to deny the file extension".
Mas calculo que este já seja do meu iis :)
Obrigado pela ajuda, Emanuel
hi Claudio,
i had the problem with the error message "not defined" to. Even though i tryed to add the minimum script and all.
What solved it for me, was that i included Google's current version of the javascript file. Then Wupti..... all was fine :D
Might worth giving a try :)
Hello
Having some issues like other on here and only getting the browse button appear when I have added the macro to the template im using 4.7.1
in the master page im calling
When it loads i dont have any missing js files and this is how it renders
Any suggestions... what am i missing?
Kevin,
Is there a special reason why you're including four different versions of jQuery on your template?
Also, you don't need the references to "swfobject.js" in your template, it's rendered by the macro (as you can see from your example above).
Once you clear these 2 problems, open the page in Firebug and see if you have JS errors on the page.
Emanuel
is working on a reply...