Maybe this? http://swfupload.org/forum/generaldiscussion/176


On Aug 6, 3:38 pm, Robert McWay <mcway_web_des...@cox.net> wrote:
> Also..the swf upload settings in my view might help also:
>
> <?=$javascript->link(array('swfupload/swfupload', 'swfupload/plugins/
> swfupload.queue', 'swfupload/fileprogress', 'swfupload/handlers')) ?>
> <script type="text/javascript">
> var swfu;
>
>                 window.onload = function() {
>                         var settings = {
>                                 flash_url : 
> "<?=$html->url('/js/swfupload/Flash/swfupload.swf')?>",
>
>                                 upload_url: "<?=$html->url('/files')?>",
>                                 file_size_limit : "100 MB",
>                                 file_types : "*.*",
>                                 file_types_description : "All Files",
>                                 file_upload_limit : 100,
>                                 file_queue_limit : 0,
>                                 custom_settings : {
>                                         progressTarget : "fsUploadProgress",
>                                         cancelButtonId : "btnCancel"
>                                 },
>                                 debug: true,
>
>                                 // Button settings
>                                 button_width: "65",
>                                 button_height: "29",
>                                 button_placeholder_id: 
> "spanButtonPlaceHolder",
>                                 button_text: '<span 
> class="theFont">Hello</span>',
>                                 button_text_style: ".theFont { font-size: 16; 
> border: 1px
> solid;}",
>                                 button_text_left_padding: 12,
>                                 button_text_top_padding: 3,
>
>                                 // The event handler functions are defined in 
> handlers.js
>                                 file_queued_handler : fileQueued,
>                                 file_queue_error_handler : fileQueueError,
>                                 file_dialog_complete_handler : 
> fileDialogComplete,
>                                 upload_start_handler : uploadStart,
>                                 upload_progress_handler : uploadProgress,
>                                 upload_error_handler : uploadError,
>                                 upload_success_handler : uploadSuccess,
>                                 upload_complete_handler : uploadComplete,
>                                 queue_complete_handler : queueComplete  // 
> Queue plugin event
>                         };
>
>                         swfu = new SWFUpload(settings);
>              };
>         </script>
>
> On Aug 6, 12:35 pm, Robert McWay <mcway_web_des...@cox.net> wrote:
>
>
>
> > Does anyone possibly have a fully functioning example hey could share:
> > still having problems...i am trying to follow the "Simple Demo"
> > example on the swf upload 
> > site:http://demo.swfupload.org/v220/simpledemo/index.php.
>
> > every time something gets add to the queue, i get a 403 error. Here is
> > the relevant output from the swf debug window when i turn that on:
>
> > SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select.
> > Allowed file types: *.*
> > SWF DEBUG: Select Handler: Received the files selected from the
> > dialog. Processing the file list...
> > SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
> > SWF DEBUG: Event: fileDialogComplete : Finished processing selected
> > files. Files selected: 1. Files Queued: 1
> > SWF DEBUG: StartUpload: First file in queue
> > SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
> > SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and
> > readied for upload.  Starting upload to /files for File ID:
> > SWFUpload_0_0
> > SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
> > SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes:
> > 98304. Total: 133263
> > SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes:
> > 131072. Total: 133263
> > SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes:
> > 133263. Total: 133263
> > SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0.
> > HTTP Status: 403.
> > SWF DEBUG: Event: uploadComplete : Upload cycle complete.
> > Error Code: HTTP Error, File name: screenshot3.JPG, Message: 403
>
> > Any ideas?
>
> > On Aug 6, 3:04 am, Pascal Messana <kinglo...@gmail.com> wrote:
>
> > > Hi,
>
> > > I made it work, what do you want to do exactly ?
>
> > > There are problems with sessions, I had to use cookies (of course I
> > > made many security controls).
>
> > > On 5 août, 22:11, Robert <mcway_web_des...@cox.net> wrote:
>
> > > > I've been trying to integrate SWFUpload 2.0.2 with my CakePHP 1.2
> > > > application, and have been stuck for a few days now...after endless
> > > > searching, i've only been able to find solutions such 
> > > > ashttp://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-up...,
> > > > which is for cake 1.1, and swfupload 1.0. Has anyone been able to
> > > > integrate the new swfupload with a cake 1.2 application? Any help in
> > > > the right direction 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to