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

Notification

Icon
Error

Options
Go to last post Go to first unread
wodkaist  
#1 Posted : Monday, January 21, 2008 10:22:37 PM(UTC)
wodkaist

Rank: Newbie

Groups: Member
Joined: 1/21/2008(UTC)
Posts: 6

Hello,

I'm using Aurigma Uploader on a website, and it must be usable with Internet Explorer and Firefox.

But i'm having a bug with Firefox : The applet seems to be loaded, but the left panel doesn't show any directory (see the screenshot).

Works great with Internet Explorer d'oh!

Configuration :
- Windows Vista
- Firefox 2.0.0.11 (with Java Plugin)
- JRE (1.6.0_03)
- ImageUploader version: 2.0.79

Screenshot :
UserPostedImage

Java Console (no error message):
Quote:
ImageUploader version: 2.0.79
Current document URL: http://localhost/LLN/admin/reportage_edition.php#photos
Reading cookies
Cookies: PHPSESSID=cpldn1dqk58g75qgei4nsh8lt5
Reading referer
Referer: http://localhost/LLN/admin/reportage_edition.php#photos

Edited by user Thursday, January 31, 2008 10:48:38 PM(UTC)  | Reason: Not specified

wodkaist attached the following image(s):
screenshot.jpg
wodkaist  
#2 Posted : Monday, January 21, 2008 10:30:08 PM(UTC)
wodkaist

Rank: Newbie

Groups: Member
Joined: 1/21/2008(UTC)
Posts: 6

This should also interest you, the script tag :

Code:
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 650, 250);

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "java/ImageUploader4.cab";
iu.activeXControlVersion = "4,5,70,0";

//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "java/";
iu.javaAppletCached = false;
iu.javaAppletVersion = "5.0.15.0";

iu.addParam("MaxFileCount", "10");
iu.addParam("MaxFileSize", "8097150");
iu.addParam("MaxTotalFileSize", "30485760");

iu.showNonemptyResponse = "off";

//Configure appearance.
iu.addParam("PaneLayout", "ThreePanes");
iu.addParam("FolderView", "Thumbnails");

iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("ShowUploadListButtons", "true");
iu.addParam("ButtonRemoveFromUploadListText", "Retirer");
iu.addParam("ButtonRemoveAllFromUploadListText", "Retirer tous");

iu.addParam("ShowDescriptions", "false");
iu.addParam("EnableRotate", "false");
iu.addParam("ShowButtons", "false");

//Hide standard upload pane.
iu.addParam("FolderPaneHeight", "-1");

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");

//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")
iu.addEventListener("Progress", "ImageUploader_Progress");
iu.fullPageLoadListenerName = "fullPageLoad";

iu.addParam("LicenseKey", "XXXX-XXXX-XXXX-XXXX"); // No way, it's mine !

//Configure URL files are uploaded to.
iu.addParam("Action", "upload.php");

//Tell Image Uploader writer object to generate all necessary HTML code to embed 
//Image Uploader to the page.
iu.writeHtml();


Thanks

Edited by user Tuesday, February 26, 2008 6:17:00 PM(UTC)  | Reason: Not specified

Alex Makhov  
#3 Posted : Tuesday, January 22, 2008 12:39:47 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello

Code:
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")
iu.addEventListener("Progress", "ImageUploader_Progress");
iu.fullPageLoadListenerName = "fullPageLoad";

Are these event listeners implemented on your page?

Edited by user Tuesday, February 26, 2008 6:17:13 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
wodkaist  
#4 Posted : Tuesday, January 22, 2008 11:57:42 PM(UTC)
wodkaist

Rank: Newbie

Groups: Member
Joined: 1/21/2008(UTC)
Posts: 6

Yes, they are... For UploadFileCountChange, BeforeUpload, i use the those provided in a sample. For ImageUploader_Progress, I use this one :

Code:
function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText){
	if (Status=="COMPLETE"){
		jQuery.get('upload_aurigma.php?' + Math.random(),function (data){
			$("#photos_label").after(data);
		});
	}
} 

Edited by user Tuesday, February 26, 2008 6:17:27 PM(UTC)  | Reason: Not specified

wodkaist  
#5 Posted : Wednesday, January 23, 2008 6:22:37 PM(UTC)
wodkaist

Rank: Newbie

Groups: Member
Joined: 1/21/2008(UTC)
Posts: 6

I'm using Firefox with Firebug, and no Javascript error happen when i load the page.

Any idea ?
Alex Makhov  
#6 Posted : Thursday, January 24, 2008 11:21:39 AM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Well, maybe you should try to comment some parts of iu initialization. FIrst, try to comment event handler addition lines. Then check if it helps. If it's not, try to add the following line to your code:
Code:
iu.addParam("RememberLastVisitedFolder", "false");

If it does not help too, try to comment param setting lines one by one.
If it does not help too we will make a special log version for you to check what rteally happens while Image Uploader is initialized.

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
wodkaist  
#7 Posted : Sunday, January 27, 2008 10:23:38 PM(UTC)
wodkaist

Rank: Newbie

Groups: Member
Joined: 1/21/2008(UTC)
Posts: 6

Well... i've set the parameter "RememberLastVisitedFolder" to false and now, in the right pane (with files), i see my files... :)

But I can't see any folder on the left pane.

I commented each param one by one, no result.

Alex'
Alex Makhov  
#8 Posted : Monday, January 28, 2008 12:30:12 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

I would recommend you to get the last available version of Image Uploader for Java 2.5.x (for free, submit case) or Image Uploader 5.0.x (which is the last available) to check if the problem is still there. You don't even have to buy it, just install and check if the problem is still there with the last version. 2.0.79.0 is very old version released almost one and a half of year ago (11/03/2006).

Edited by user Thursday, May 22, 2008 2:53:39 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
wodkaist  
#9 Posted : Thursday, January 31, 2008 10:48:15 PM(UTC)
wodkaist

Rank: Newbie

Groups: Member
Joined: 1/21/2008(UTC)
Posts: 6

Finally resolved the problem !

I contacted [email removed], they sent me the last version, who resolved the problem.

Thanks a lot Alex', and all the Aurigma's team.

Alex'

Edited by user Thursday, May 22, 2008 2:31:28 PM(UTC)  | Reason: Not specified

Users browsing this topic
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.