Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
codesmith  
#1 Posted : Tuesday, December 15, 2009 2:56:28 PM(UTC)
codesmith

Rank: Advanced Member

Groups: Member
Joined: 7/8/2005(UTC)
Posts: 40

Hi,

Just upgraded last week from Dual (Java 5.8.01.0) to Dual (Java 6.1.4.0). Allow I haven't been able to repeat this have had several Firefox 3 users (at least one Mac, others unknown) report problems. After upload they are taken to the next page and are unable to enter anything into any of the form input fields. Page seems frozen. Any thoughts? Our code is below:

Code:

<script type="text/javascript" language="JavaScript">

	var agt=navigator.userAgent.toLowerCase(); 
	var is_ie   = (agt.indexOf("msie") != -1); 
	var is_firefox   = (agt.indexOf("firefox") != -1);
	var is_win   = (agt.indexOf("windows") != -1);

var ImageUploader = null;

function formatFileSize(value){
	if (value < 1024){
		return value + " b";
	}
	else if (value < 1048576){
		return Math.round(value / 1024) + " kb";
	}
	else{
		return Math.round(value / 10485.76) / 100 + " mb";
	}
}

function fullPageLoad(){	
	var ImageUploader=getImageUploader("ImageUploader");
	document.getElementById("spanMaxFileCount").innerHTML = ImageUploader.getMaxFileCount();
	document.getElementById("spanMaxTotalFileSize").innerHTML = formatFileSize(parseInt(ImageUploader.getMaxTotalFileSize()));
}

function ImageUploader_UploadFileCountChange(){
	var ImageUploader=getImageUploader("ImageUploader");
	if (ImageUploader){	
		document.getElementById("spanUploadFileCount").innerHTML = parseInt(ImageUploader.getUploadFileCount());
		var imgWidth = parseInt(ImageUploader.getUploadFileCount()) / parseInt(ImageUploader.getMaxFileCount()) * 132;	
		document.getElementById("imgUploadFileCount").style.width = Math.round(imgWidth) + "px";

		document.getElementById("spanTotalFileSize").innerHTML = formatFileSize(parseInt(ImageUploader.getTotalFileSize()));
		imgWidth = parseInt(ImageUploader.getTotalFileSize()) / parseInt(ImageUploader.getMaxTotalFileSize()) * 132;
		document.getElementById("imgTotalFileSize").style.width = Math.round(imgWidth) + "px";
	}
}

function ImageUploader_ViewChange(Pane){
	var ImageUploader=getImageUploader("ImageUploader");
	if (ImageUploader){
		document.getElementById("selectView").selectedIndex = parseInt(ImageUploader.getFolderView());
	}
}

function selectView_change(){
	var ImageUploader=getImageUploader("ImageUploader");
	if (ImageUploader){
		var selectView = document.getElementById("selectView");
		ImageUploader.setFolderView(parseInt(selectView.options[selectView.selectedIndex].value));
	}
}

function ImageUploaderID_BeforeUpload(){
	s="Your files will now be uploaded - please be patient!.";
	alert(s);
}


	var iu = new ImageUploaderWriter("ImageUploader", 571, 400);
	
	//For ActiveX control full path to CAB file (including file name) should be specified.
	iu.activeXControlCodeBase = "/iu6/Scripts/ImageUploader6.cab";
	iu.activeXControlVersion = "6,1,4,0";
	
	//For Java applet only path to directory with JAR files should be specified (without file name).
	iu.javaAppletJarFileName = "ImageUploader6.jar";
	iu.javaAppletCodeBase = "/iu6/Scripts/";
	iu.javaAppletCached = true;
	iu.javaAppletVersion = "6.1.4.0";
	
	iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.tif;*.tiff;*.tga;*.pcx;*.bmp;*.psd;*.png;*.zip");
	iu.addParam("ShowDescriptions", "false");

	iu.addParam("LicenseKey","XXXX");
	iu.addParam("SignatureFilter","All");
	iu.addParam("ShowDebugWindow","False");
	iu.addParam("Action","order_util_act.php")
	iu.addParam("RedirectUrl","order_prints.php")
	iu.addParam("ShowButtons", "True");
	iu.addParam("AutoRecoverTimeOut", "10000");
	iu.addParam("AutoRecoverMaxTriesCount", "3");

	iu.addParam("TreePaneWidth", "150");
	iu.addParam("FolderPaneHeight", "200");

	iu.addParam("KilobytesText", "KB");	
	iu.addParam("MegabytesText", "MB");
	iu.addParam("ProgressDialogSentText", "Bytes Sent: [Current] of [Total]");
	iu.addParam("ProgressDialogWaitingForResponseFromServerText", "Creating thumbnails...");	
	iu.addEventListener("BeforeUpload", "ImageUploaderID_BeforeUpload");

	if (!is_firefox) {	
		iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
		iu.addEventListener("ViewChange", "ImageUploader_ViewChange");
		iu.fullPageLoadListenerName = "fullPageLoad";
	}
	iu.addParam("MaxTotalFileSize", "1048576000");
	
</script>


Thanks

Tamila  
#2 Posted : Wednesday, December 16, 2009 3:54:24 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

Could you please send me the link to the page where you experience problem with Image Uploader, also send me login information if necessary (you can do it via PM or submit support case).

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

areddy75767  
#3 Posted : Tuesday, January 26, 2010 10:09:15 AM(UTC)
areddy75767

Rank: Newbie

Groups: Member
Joined: 8/10/2009(UTC)
Posts: 1

Hi,

I'm experiencing this problem as well with a Mac OSX and the latest Firefox. All data entry stops working after the upload. This applies to the active site as well as other sites in other tabs. Even data entry into the URL at the top stops. Data entry ability only comes back if I quit out of Firefox and come back in.

Best,

Adit

Tamila  
#4 Posted : Tuesday, January 26, 2010 11:36:31 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi Adit,

Could you please submit support case about this problem. Also send us the link to the page where you experience problem with Image Uploader, also provide us login information if necessary. Your MacOS X and Firefox versions will be very helpful.

Edited by user Tuesday, January 26, 2010 11:37:16 PM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.