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

Notification

Icon
Error

Options
Go to last post Go to first unread
Richardcanoe  
#1 Posted : Thursday, June 14, 2007 5:52:26 PM(UTC)
Richardcanoe

Rank: Member

Groups: Member
Joined: 3/10/2006(UTC)
Posts: 7

Hi

We have upgraded our Image Uploader from 3.5 to 4.5

In order to facilitate this I have overwritten the iuembed.js and copied the cab & jar files over. The only change to the php page calling the script was to update the following lines:

Code:
iu.activeXControlCodeBase = "/ImageUploader3.cab";
iu.activeXControlVersion = "3,5,180,0";

//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "1.1.60.0";


becomes

Code:
iu.activeXControlCodeBase = "/ImageUploader4.cab";
iu.activeXControlVersion = "4,5,4,0";

//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "2.5.4.0";


The java applet in Firefox works fine, but the ActiveX fails with a pop up 'The server or proxy not found'

ShowDebugWindow is set to true, but this pops up a 404 error

Any ideas would be greatly appreciated

Edited by user Friday, February 22, 2008 10:45:27 PM(UTC)  | Reason: Not specified

George Ulyanov  
#2 Posted : Thursday, June 14, 2007 6:03:04 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups:
Joined: 7/26/2006(UTC)
Posts: 203

Hello,

it seems that page where you upload is unavailable. Please check the Action parameter where you upload.

Edited by user Friday, February 22, 2008 10:47:24 PM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
Richardcanoe  
#3 Posted : Thursday, June 14, 2007 7:22:33 PM(UTC)
Richardcanoe

Rank: Member

Groups: Member
Joined: 3/10/2006(UTC)
Posts: 7

George,

Thank you for your less than useful response.

For anyone else who has this issue, I fixed it by specifying the http_host in the action parameter:

Code:
$action = 'http://' . $_SERVER['HTTP_HOST'] . '/multiimage_upload.php';


called by

Code:
iu.addParam("Action","{$action}" );


In 3.5 we only needed to specify the page required, not the server:

Code:
iu.addParam("Action","/multiimage_upload.php" );


This fails in 4.5

Edited by user Tuesday, December 18, 2007 3:20:07 AM(UTC)  | Reason: Not specified

George Ulyanov  
#4 Posted : Thursday, June 14, 2007 7:54:11 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups:
Joined: 7/26/2006(UTC)
Posts: 203

Quote:
Richardcanoe (6/15/2007)

Code:
iu.addParam("Action","/multiimage_upload.php" );



Thanks for cooperation in the problem research. Now I know that you're talking about Java Applet (I see it by analyzing the text you've posted here), and I see the tiny part of code that summoned this problem.

Thanks again, we are working over this and the fix will be available in next release.

Edited by user Tuesday, December 18, 2007 3:23:50 AM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
Richardcanoe  
#5 Posted : Thursday, June 14, 2007 7:57:52 PM(UTC)
Richardcanoe

Rank: Member

Groups: Member
Joined: 3/10/2006(UTC)
Posts: 7

No I'm talking about the ActiveX control.

Java works fine ( as I said in my first post)
George Ulyanov  
#6 Posted : Thursday, June 14, 2007 8:12:05 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups:
Joined: 7/26/2006(UTC)
Posts: 203

Hmm.. Anyway, I've experienced almost the same problem in the java applet only.
Best regards,
George Ulyanov
shane_hunziker  
#7 Posted : Monday, June 25, 2007 10:41:40 PM(UTC)
shane_hunziker

Rank: Member

Groups: Member
Joined: 1/7/2007(UTC)
Posts: 6

I am having exactly the same problem with the 4.5 ActiveX control. However, I am uploading to a Java servlet. I receive the 404 as well.

Any progress on the fix for this?

Thanks,
Shane Hunziker
AutoTrader.com
Alex Makhov  
#8 Posted : Monday, July 2, 2007 1:26:48 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

If you have any problem with Action property feel free to use the full URLs.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
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.