Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Hulatt 47 posts 59 karma points
    May 24, 2010 @ 17:14
    Paul Hulatt
    0

    No valid runtime detected

    Hi

    I have installed the package using "Install Local Package" in the Developer section of our Umbraco installation but when I edit a node that has this datatype I get the above message?

     

    Have I missed something?  We're using Umbraco 4.0.3 on Windows 2003.

  • Chris Koiak 700 posts 2626 karma points
    May 24, 2010 @ 20:52
    Chris Koiak
    0

    This message appears if you don't have flash installed. Chunked Upload (or plupload) will work with many different technologies by default it's Flash but you can change this in a settings file \umbraco\plugins\koiak.plupload\scripts\koiak.plupload.js

     

     

  • Paul Hulatt 47 posts 59 karma points
    May 25, 2010 @ 20:40
    Paul Hulatt
    0

    Flash is installed on my machine and I don't have any problems using the Multiple Upload Control which also uses Flash.

    Is there anything else you could suggest?

  • Chris Koiak 700 posts 2626 karma points
    May 26, 2010 @ 02:09
    Chris Koiak
    0

    Can you see the examples on http://www.plupload.com/example_queuewidget.php?

    If yes, then try going into the JS file I mention and setting the options to only be flash. Maybe it's trying to load a different Runtime that you don't have installed.

  • Paul Hulatt 47 posts 59 karma points
    May 26, 2010 @ 10:07
    Paul Hulatt
    0

    I can see the examples on the plupload website but still no luck inside Umbraco.  I tried just flash as suggested but this did not work under any browser and I also tried gears too and run Umbraco under Chrome which still showed the error message.

  • Chris Koiak 700 posts 2626 karma points
    May 26, 2010 @ 13:12
    Chris Koiak
    0

    Do you run firebug in Firefox? If so, can you see if there are any other javascript errors. Maybe an error is cause JS to halt and not to get to this point.

    I've just tried installing this on 4.0.3 on Win2003 and its working for me. I'm running out of ideas to suggest!

    Chris

  • Paul Hulatt 47 posts 59 karma points
    May 26, 2010 @ 16:22
    Paul Hulatt
    0

    I now got it working!!  It seems that my Umbraco installation was taking exception to the period in the plugin path "koiak.plupload".  I modified the source and recompiled it with the period removed (and renamed the folder) and hey presto, it works!

    Thanks for your help, the firebug suggestion helped.

  • Chris Koiak 700 posts 2626 karma points
    May 26, 2010 @ 20:39
    Chris Koiak
    0

    Glad you found a solution (really, I had nothing else!)

  • Howard 87 posts 35 karma points
    Nov 05, 2010 @ 15:23
    Howard
    0

    would anyone like to update and share the code for 4.5?, i cannot recompile the source to try out removing the period as have an older version of visual studio. Could someone post a link to the files or update the code to work with 4.5 i would me most grateful. Or, direct me to another solution to packet uploading for umbraco, cheers!!

  • Chris Koiak 700 posts 2626 karma points
    Nov 07, 2010 @ 08:50
    Chris Koiak
    0

    Hi Howard,

    The issue isn't Umbraco 4.5 as this package should work fine with 4.5. The issue is an IIS plugin that wont serve folders with periods in it (it returns a 404).

    I've updated the package so it doesn't use periods in folder names.

    Remember to vote for the package if you like it.

    Cheers,

    Chris

     

  • Howard 87 posts 35 karma points
    Nov 07, 2010 @ 18:57
    Howard
    0

    Hi Chris, thanks for the quick response i will surely vote for it if i get it up and running. Unfortunately, i have tried installing and uninstalling twice but still get the same error, i have tried recreating the data type manually but to no avail. I know this can get frustrating but i apreciate your efforts! thanks Howard

  • Howard 87 posts 35 karma points
    Nov 07, 2010 @ 18:58
    Howard
    0

    Hi Chris, thanks for the quick response i will surely vote for it if i get it up and running. Unfortunately, i have tried installing and uninstalling twice but still get the same error, i have tried recreating the data type manually but to no avail. I know this can get frustrating but i apreciate your efforts! thanks Howard

  • Chris Koiak 700 posts 2626 karma points
    Nov 07, 2010 @ 21:15
    Chris Koiak
    0

    This may be a caching issue. Can you use Fiddler or LiveHTTPHeaders (https://addons.mozilla.org/en-US/firefox/addon/3829/) to check the chunks are being uploaded to the koiak_plupload and not koiak.pluploadfolder?

     

     

  • Simon steed 376 posts 688 karma points
    Dec 08, 2010 @ 12:51
    Simon steed
    0

    Just tried myself on 4.5.2 and same thing, No Valid Runtime message is shown. None of the above tricks work :-(

  • Chris Koiak 700 posts 2626 karma points
    Dec 08, 2010 @ 13:19
    Chris Koiak
    0

    I've never tried this on 4.5, but it should be version independent.

    Cheers,

    Chris

  • Chris Koiak 700 posts 2626 karma points
    Dec 08, 2010 @ 13:34
    Chris Koiak
    0

    I've just tried this on a 4.5.2 installation and have experienced the same error. If you watch the 'net' tab in firebug you'll see there is a 404 on a webresource.axd call.

    The JS was never intended to be loaded in such a way, I'll have a look into this later, but let me know if you fix it in the meantime.

    Cheers,

    Chris

  • Simon steed 376 posts 688 karma points
    Dec 08, 2010 @ 13:48
    Simon steed
    0

    It installed into the underscore folder, cant really see any errors but the link you sent works fine

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Dec 08, 2010 @ 14:16
    Tom Fulton
    1

    I tried this yesterday and ran into the same issue ("No valid runtime", 404 in webresource.axd).  I didn't have much time to troubleshoot but it appeared the javascripts weren't loading or getting called at all.  I fixed by replacing the umbraco.library:RegisterJavaScriptFile and RegisterStyleSheetFile calls with Page.ClientScript.RegisterClientScriptInclude and RegisterClientScriptBlock as shown below.

    Again didn't really spend time troubleshooting this was just a quick fix:

                // Load in external JavaScript and CSS files
                /*(
                umbraco.library.RegisterJavaScriptFile("plupload1", "/umbraco/plugins/koiak_plupload/scripts/gears_init.js");
                umbraco.library.RegisterJavaScriptFile("plupload2", "http://bp.yahooapis.com/2.4.21/browserplus-min.js");
                umbraco.library.RegisterJavaScriptFile("plupload3", "/umbraco/plugins/koiak_plupload/scripts/plupload.full.min.js");
                umbraco.library.RegisterJavaScriptFile("plupload4", "/umbraco/plugins/koiak_plupload/scripts/jquery.plupload.queue.min.js");
                umbraco.library.RegisterJavaScriptFile("plupload5", "/umbraco/plugins/koiak_plupload/scripts/koiak.plupload.js");
                umbraco.library.RegisterStyleSheetFile("pluploadCss", "/umbraco/plugins/koiak_plupload/css/plupload.css");
                */
               
                Page.ClientScript.RegisterClientScriptInclude("plupload1", "/umbraco/plugins/koiak_plupload/scripts/gears_init.js");
                Page.ClientScript.RegisterClientScriptInclude("plupload2", "http://bp.yahooapis.com/2.4.21/browserplus-min.js");
                Page.ClientScript.RegisterClientScriptInclude("plupload3", "/umbraco/plugins/koiak_plupload/scripts/plupload.full.min.js");
                Page.ClientScript.RegisterClientScriptInclude("plupload4", "/umbraco/plugins/koiak_plupload/scripts/jquery.plupload.queue.min.js");
                Page.ClientScript.RegisterClientScriptInclude("plupload5", "/umbraco/plugins/koiak_plupload/scripts/koiak.plupload.js");
                Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "pluploadCss", "<link href='/umbraco/plugins/koiak_plupload/css/plupload.css' rel='stylesheet' type='text/css' />");   
  • Chris Koiak 700 posts 2626 karma points
    Dec 09, 2010 @ 10:02
    Chris Koiak
    0

    I've released Version 1.1 that is now compatible with 4.5 (and incorrporates Tom's changes).

    I think the issue is related to ClientDependancy framework that was released in 4.5.

    Enjoy!

    Chris

Please Sign in or register to post replies

Write your reply to:

Draft