Without taking any further look at how this script and included jQuery function actually works (but the settings you provided)...try changing the "folder" setting's value to simply "/files".
If that doesn't work I might actually take a look at this. It's probably very simple to fix, and the script itself sounds neat (and possibly useful). :) On Apr 2, 3:53 pm, Robert <[email protected]> wrote: > I am trying to implement the JQuery Plugin, "Uploadify" in my CakePHP > project...but I am having a problem calling the upload script > specified in the "script" parameter...This is due to the fact that the > CakePHP "Pretty URLs" are breaking it. After some research through > this forum, i came across a post where someone was having a similar > problem in CodeIgniter...The solution was to strip the pagepath > variable from the uploadify script, to allow use of pretty > urls...however i still cannot get the script to find my upload > script... > > my jquery function... > > $('#PhotoFilename').fileUpload({ > 'uploader': '/uploader.swf', > 'script': '/photos/upload', > 'folder': '/app/webroot/files', > 'cancelImg': '/img/cancel.png', > 'multi': true > }); > > ..from jquery.uploadify: setting the pagepath to nothing... > > var f="&pagepath="; > > I have tried using a relative path, as well as an absolute path, for > teh "script" parameter, but nothing has worked...Any insight would be > much appreciated... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
