This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Javascript plugins » Uploadify works only on localhost
Uploadify works only on localhost [message #97792] Wed, 21 April 2010 17:48 Go to next message
cboelter  is currently offline cboelter
Messages: 26
Registered: January 2010
Location: Hamburg
Junior Member
Hi,

I'am using Symfony 1.4.4 and the current JQuery Reloaded Plugin. I've installed the Uploadify JQuery Plugin to manage FileUploads in my application. On my local machine it works with the following configugration very fine.

	$("#uploadify").uploadify({
			'uploader'       : '/js/uploadify.swf',
			'script'         : '<?php echo url_for("hotel/uploadImages"); ?>',
			'cancelImg'      : '/images/cancel.png',
			'folder'         : '/',
			'queueID'        : 'fileQueue',
			'auto'           : false,
			'multi'          : true,
			'scriptAccess'	 : 'always',
			onAllComplete: function() {
				$("#images").load("<?php echo url_for('hotel/hotelImageList');?>");
			  $("*").dialog("destroy");
				$("#image_form").remove();
			}
		});	


After testing it locally, I've copied it to the Webhost and it doesn't work. I think it wouldn't find the script, but if i change it to a absolute url it also won't work. Does anybody have a solution why it doesn't work.

Regards Chris
Re: Uploadify works only on localhost [message #99281 is a reply to message #97792 ] Tue, 18 May 2010 12:12 Go to previous message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Have you got any problems reported in Firebug?


Remember Palestine
Previous Topic:backend+ tinymce 1.2 bug
Next Topic:using jQuery with symfony
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software